How to get in real time last bar points for buy/sell for m15 TF

 

hi,

I need to get how much is bullish or bearish candle in points in real time and after that use if something.

I have M15 TF 
if is my candle bullish with 150 points then use if  something

if is my candle bearish with 150 points then use if something

This must works in real time, not on new bar.

Thanks for your help.

 
chris.dotan: I need to get how much is bullish or bearish candle in points

Perhaps you should read the manual.
   How To Ask Questions The Smart Way. (2004)
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

double size = (Close[i] - Open[i]) / _Point;
if( size > +150) …
Reason: