Hello leastchaos,Originally Posted by ;
Thank you for your aid to coding my EA as requested. Could I ask you to include two more things please?
Firstly, my input has been fixed --7 or 7 pip from starting H4 price. Can you make it feasible so that I can change these two inputs separately?
Secondly, after implementing I thought could it operate for H1 candle as well? Or it could prepare for all time.
And lastly, could you ease the origin file MQL4 so newbie like me can learn the coding.
I have attached the EA as you see and following H4 candle will start at a two hours. I will confirm you the outcomes.
Thanks and Regards,
Moti
![]()
I added the additional from the function to alter pips and interval.
Magicstart is a magic no. for ea. you can google it.
Time end should be 1min before time start for 24 hour ie time start 00:00 timeend 23:59
https://www.forexforum.co.za/attachm...7660966803.ex4
Hello leastchaos, I am grateful to you for your time and earning the EA, I attempted I'm working perfect now I am reading my opening #post1 at which I stated (And shut the trade when H4 candle is shut is it in reduction or profit ) within my #post3 once I ask to make a potion so that I can alter the (my input is fixed #8211;7 or 7 pip from opening H4 price. Could you make it feasible so that I can change both of these inputs separately?)Originally Posted by ;
I forgot about my #post1 now when I use the SL TP when it doesn't reach in time period open candle whilst candle shut it shut the trade as it had been request
Please can you create it possible?
1-if I put SL TP to 0 so close the trade when candle is shut either is it in reduction or profit
2-if I use SL TP like grater than 0 state SL 1 TP 5 and when condition doesn't match live the trade open even candle closes and continue to start alongside trade with new open candle on set pips
And put on the SL and TP according to inputs
Sorry to treble you again and again
And lastly, could you facilitate the origin file MQL4 so newbie like me can find out the coding.
Thank You
Regards,
Moti
![]()
1-if I put SL TP to 0 so close the trade when candle is shut either is it in reduction or profit I believe the ea is already doing this?
2-if I utilize SL TP for example grater than 0 say SL 1 TP 5 and also when condition does not match live the commerce open even candle closes and continue to start alongside commerce with new open candle on place pips.
Not sure if that is what you meant
https://www.forexforum.co.za/attachm...1998019116.ex4
Hi leastchaos, last EA is not functioning as it should, Better I describe it to prevent confutations due to various changes in petition by me.Originally Posted by ;
1- EA should work on all time period
two - Time to exchange start and finish hours
3-TP SL input option
4- Lot size input option
5- Positive Pips disadvantage Pips input option
I assume all these options you already have made in the EA
EA Functionality:
As an example: when Pip Positive Are Set to=7 Pip Negative Are Set to =7
In this case:
If new open candle goes 7 pips from the available price EA must open Buy Trade
If new open candle extends -7 pips from the available price EA must open Sell Trade
Trade closing Requirements: depending on TP or SL
Trade Closing Condition 1-Now suppose If TP OR SL input are Set to”0” zero these preceding trade either Buy Or Sell must shut in the time of current candle sticks (does not matter instead trade is winning or in the shedding positions)
Trade Closing Condition 2- Today suppose If TP OR SL input are Set to”gt; 0” grater than zero in this case Condition 1 to be discounted (I mean to say if SL OR TP is not HIT should not shut the open trades either Buy Or Sell and if following new candle shaped open the new trade According to rules and reside the open trade before hit on the TP OR SL ) and this manner continue the cycle...
Hope that makes better
Thank You
Regards,
Moti
made a mistake with one of the conditions. I have not try this out
https://www.forexforum.co.za/attachm...1458568767.ex4
Hello leastchaos, Please would you check - Pips aren't resulting as per inputs and results image are connectedOriginally Posted by ;
Thank you for your help
Regards,
Moti
![]()
isnt this what is doing? Some brokers dun allow hedge so that you wont be able to sell if u have a buy order opened
![]()
Thank you leastchaos, for the kind help I am testing on demo account my be you are right isn't allowing me hedge, any way I'll check all the way maybe thoroughly And will report you by next week.Originally Posted by ;
Have a fantastic afternoon
Regards,
Moti
Edit: Please would you inform me what exactly are these inputs ? And also how to use them.
![]()