
like for timeframes i mean, that in backtest can do steps for find the best tf for a strategy

like for timeframes i mean, that in backtest can do steps for find the best tf for a strategy
Hi everyone from Italy! i worked a week on that (i'm not a programmer), and probably i've found a way for draw S/R based on Highest and Lowest close of candles.
logic is that
CandleClose20>CandleClose19
CandleClose20>CandleClose18
CandleClose20>CandleClose17
CandleClose20>CandleClose16 etc etc, until CandleClose1
so: draw line.
if not
CandleClose20>CandleClose19
CandleClose20>CandleClose18
CandleClose20>CandleClose17 no? so, pass on CandleClose19
and this logic repeat until CandleClose1.
i've tested on demo and seems that works but if someone try it and find some bugs please tell me, i would appreciate collaboration 

@l-andorrĂ but in this way in backtest it will work on ALL symbols in block, I want use symbols like a normal input in optimization backtest.
Example
EURUSD 20>50 H1
GBPUSD 20>50 H1
USDJPY 20>50 H1... Etc etc... I don't know if I've explained well... In this way I'll save a lot of time in optimization and I'll not need to change manually symbols each time
for now i've solved in this way https://fxdreema.com/shared/NP7jB0e5b
@sktsec i've tried
enum symbol {EURUSD, GBPUSD}
symbol symbolToTrade EURUSD
and also
enum symbol {EURUSD = 0, GBPUSD = 1}
symbol symbolToTrade EURUSD
in Variables i've tried double EURUSD 0
or string EURUSD EURUSD
or int EURSUSD 0
in modify variables i've tried value to text... nothing, it doesn't grab information
i'm not able to do that, i've tried many combinations and nothing!

is like they are not linked
@fxDreema could be an issue to fix of this site of my bad programming? i'm trying to find a solution on this topic but i'm non able to find
thanks for reply AndorrĂ ! so... i'll wait for fixed update
Hi everyone! i know that someone asked before but no one found a solution for this topic. i've tried several conbinations on variables/constant from projects of Miro etc etc... i got back errors or nothing.
i would love draw a triangle on chart based on L2 L1 L0 H2 H1 H0 values of zigzag indicator. i've seen that zigzag give values of these points (in time) but how to write in block? someone found a solution?
thanks for attention!