@khansari I don't understand the logic behind that. Why do you need to split the number of trades when those lot size values are hit? I don't see the point.
I have used this many times over the years, drag the cross hair over the candle and it will match, use DoubleToString("value",4) to reduce the 0's put this is text (code input)
@khansari So CCI on daily time frame crosses -150? this is correct (I think) create a separate project just doing this, test and see if this is or isn't working.
@khansari How can CCi be '-100 or less' if it is supposed to be between -25 and -75 as per your second condition? Could you please include an image showing the scenario you are looking for?
i finally find a way thanks to all
i combine variables and flag (textual) and at last after close trades i set up flag (textual) and change its value
thanks to all https://fxdreema.com/shared/YckjMKBYd