I want to test my strategy with builder using dynamically defined stop loss and take profit and market conditions change, when i enter long position I want to set a stop loss on the bottom of the low price of the latest 10 bars (example), in the builder I defined two variable, the first one is to get which bar have the lowest low in the last 10 bars, for that, I use builder's lowest Bar function, it gives me the right information ie. the the bar that have the lowest low wick
Then i want to use the bar number to get the low price to set the stop loss, the issue is if I use the low function, the parameter bar ago (to add the previous information) is static only and cannot accept variable
So in this case how I can set the stop loss/take profit dynamically when I enter the trade with builder only ?
Thanks

Comment