I am new to coding in MT4
Can some body help me with coding, how to calculate the Difference between the Highest high of last 50 bar minus the current bar low , I need to see the difference of Pips
You need to learn codeing! Start from here:
Please coder help me to figure this out, am I doing correct
int HHbar = iHigh(NULL, 0, iHighest(NULL,0,MODE_HIGH,50,0) );
int LLbar = iLow(NULL, 0, iLowest(NULL,0, MODE_LOW,50,0) );
double HH = High[HHbar]; // iHigh(NULL,0, HHbar)
double LL = Low[LLbar]; // iLow(NULL,0, LLbar)
MathAbs(LL-High[i]) > 20
Please coders help me out , am I doing correct ?
I want to see if the difference is more then 20 pips or........