pks214:
this code is giving me previous to prvious week high but i want just previous week low and high value
double WeekHigh=iHigh(NULL,PERIOD_W1,1);
Print("weekhigh",WeekHigh);
iHigh iLow
one value for low one value for high
pks214:
this code is giving me previous to prvious week high but i want just previous week low and high value
double WeekHigh=iHigh(NULL,PERIOD_W1,1);
Print("weekhigh",WeekHigh);
Maybe the weekly data is updating and giving you the wrong figures.
Run it a few times or flick to the weekly chart to make sure that the weekly data is updated
pks214: this code is giving me previous to prvious week high but i want just previous week low and high value
- iLow
- Weekly in the tester is not modeled
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
this code is giving me previous to prvious week high but i want just previous week low and high value
double WeekHigh=iHigh(NULL,PERIOD_W1,1);
Print("weekhigh",WeekHigh);