How can I get the magnitude of a candle's body, ie, open and close, and ensure its at least'X' pips.
Thx
How can I get the magnitude of a candle's body, ie, open and close, and ensure its at least'X' pips.
Thx
double pip = Point * 10; // 5-digit brokerOriginally Posted by ;
Opinion (Pips:, MathAbs(Open[0] - Close[0]) / pip);
High[0]-Low[0]
will give the size of the candle
use Open[0]-Close[0] if Available is over close
use Close[0]-Open[0] if Available is below close