check live chart for untested supports
-
Hey, i started a little project in order to detect supports.
if candle ID 7 is lower than all other candles until ID 12 .. a rectangle will be created..https://fxdreema.com/shared/B1nVXexUc
my problem is.. if i attach this indicator to a live chart, it wont show me the supports which arent broken yet within the last (lets say) 100 candles.. how can i change that?
pls have alook at this pic .. my EA shall show the red rectangle after attaching to chart..but it doesnt

and also, how can i extend me support rectangles in length with every bar ?
best regards
-
@asto94
I see in your draw block that you choose 100 pixels as wideness, as soon as you have zoomed out, each candle is 1 pixel wide. Can explain why it waits 100 candles to have the space to draw it. Usually i use a line for that. -
If you want to create an indicator, fxDreema can't. This platform is designed for EAs and scripts only.
-
@l-andorrà i want to build an EA
however, how can i tell my EA to create limit buy orders from previous supports (for example the red support on the screenshot) .. if i use this in backtests the EA will consider supports which are newly created only (like the grey one)
thanks
-
I think the best option is catching a specific proce value from that rectangle into a variable and then using that variable as a cusom price for your pending order.