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
For example, in the following sample code, I am trying to write the date, open, high, low and close to a file. How do I find the date of the bar being used ?
....
int nCurrBar = Bars;
while (nCurrBar > 0 )
{
// Print the Date of the nCurrBar.
FileWrite(hFile, **date of nCurrBar**, Open[nCurrBar], High[nCurrBar], Low[nCurrBar], Close[nCurrBar] );
nCurrBar--;
}
Thanks in advance,
Adheer.