I have been trying convert the custom indicator to EA. Will appreciate your help.
-
@billy-1 a sample for your indicator

-
okay now i think i understand, i will do so bro.
-
i appreciate a lot bro. God bless!!
how to close the buy trade when the sell sell trade start. i want the EA to close the buy automatically when the sell start...
-
https://fxdreema.com/shared/J4bhJSW3c
I did want you told me but EA does not work. You ca check on there.
-
@billy-1 You have 2 way for close trade
1.waiting your position touch SL or TP
2. for buy position, use "If trade" block and check if sell condition is true ( in "Indicator is invisible") just use "close trade" blockvery simple just reverse do
-
Thanks, will do so
-
@billy-1 i checked and working as well. just one thing, your indicator similar to a lot of other indicators do repaint.
i checked you have to put 2 for Candle ID because maybe buffer remove after 1 candle!for example, the blue bar remove after the next candle

-
okay cool. will you able to share the link?
-
@billy-1 same as you link https://fxdreema.com/shared/J4bhJSW3c
-
this Ea it places many trades when is on buy. only want i to place one trade per buffer. for example when buffer 5 is invisible must place buy and when the buffer 6 is invisible place sell.
because one at this moment it will even place a trade sell trade when is on buffer 5 verse verse.
-
Are you sure you put the 'No trade' blocks correctly?
-
i think so.
-
@billy-1 i created this sample for a 5min time frame. if your TP is under 15 pip and your candle is more than 5 min then EA opens too many positions in one candle.
you have to add a "once per bar" block to the top of blocks and just a one-time open position on the one bar. -
Okay deleted
-
@javed77 Hi. you should create a new topic for your problem. here we talking about Billy-1's indicator issue
-
Agreed. A new thread is required for this.
-
@xfire i think i understand. let m try my best to make it work, i will update you