mark101: here it has to compare the Close to the Open from yesterday to deliver the correct result.
double currentBid = iClose(Pair, PERIOD_D1, 0); if(currentBid > iOpen(Pair, PERIOD_D1, 1)) It ultimately should output data to a csv-file |
|
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 gives me the correct output for the day before.
There must be several things wrong because intuitively the function
would compare the Close vs Open but here it has to compare the Close
to the Open from yesterday to deliver the correct result.
It ultimately should output data to a csv-file but as the title says it is delayed
by one day and I don't get todays data.