Help convert this indicator to ea
-
https://drive.google.com/folderview?id=1Gve_UYLnH3c2rg5GQdbMOfmOrf8Z77RE
I have this indicator that gives buy and sell arrow alert and want to convert it to ea
buy is taken when the arrow remains at the end of the bar. If other buy arrows apear at the end of other bars their trades should be taken until a sell arrow apears and remains at the close of a bar, then all buys should be closed and all sells taken if they remain at close of bars and vice versa
Options:1. to change lot size manually.
2. Auto lot if true, $50 and below
0.01, $100-0.02 lot, $200 - 0.04 lot
etc

Note: the arrows repaints within the bar but doesn't repaint after it remains at candle close
-
@ebukaitalian Your link doesn't contain an indicator so advising on what needs to happen is difficult.
-
@jstap link updated
-
@ebukaitalian Unfortunately this indicator has no buffers for the arrows, in the pictures you can see how to add and the numbers placed in to the 3 buffers, they represent the end position of the 3 lines. FXDreema uses the numbers in buffers to work out what the indicator is doing.

-
@jstap the buffers are 3 for buys and 4 for sells.
All buys should be taken a closed at the apearance of a sell buffer and vice versaThanks
-
@ebukaitalian There is no sell buffer, is just visual. the 6 buffers you can see on the picture are buffers I added to see what was there, none of them represent the arrows, this is why D, E, F have the same value.
-
@Ebukaitalian , @jstap it works for me, try this way with "indicator appear" block

-
@ambrogio By all means @Ebukaitalian can try this, buffer 3 is just the bottom line so no reference to an arrow, put the indicator on the same chart as the EA and you will see that the arrows will rarely line up.
-
@jstap maybe i do not understand, this what i done: when arrow (buffer 3 ) appear then my yellow arrow appear also at the closure of bar. The same with the buffer #4. (This indicator repaints it's arrows a lot by the way)



-
@ambrogio You may be right but for me I could only get values in 3 buffers and these lined up with the 3 lines.
-
repainting after c0, toss it!