Quote:
Originally Posted by Michel
If needed, check first that you are later than 8 am:
PHP Code:
if(Hour() < 8) return;
Then, find the max and min of the current day. (if its ok for you, its easier than from 8 am):
PHP Code:
double Max = iHigh(Symbol(), PERIOD_D1, 0);
double Min = iLow(Symbol(), PERIOD_D1, 0);
int Range = (Max - Min) / Point;
if(Range > 90) return;
...
|
Hi,
Apology to take such a ling time to say "thank you".
I appreciate your help.
Thanks again.
Shek