Stop Loss Candle Body High/Low and not High/Low Price
-
I want to set the Stop Loss at the Candle Body High/Low and not the Highest or Lowest Wick price.
How do I set this?
-
How is this candle body considered? Regardless the type of candle (bullish/bearish) or not?
-
@l-andorrà
Any body type.For instance while measuring the Sell Order Stop Loss, EA will look back 30 Candles and take the highest price of the highest candle but consider the body's top price and not the wick height.
-
@mustafafr010 Then that’s the open or close
-
That's not a trivial thing to do. You need to create a loop searching for those values and then store the highest/lowest one into variables. Are you familiar with loops and variables?