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
void OnTick()
{
//--- at each tick we output the High and Low values for the bar with index,
//--- equal of the tick second
datetime t=TimeCurrent();
int sec=t%60;
printf("High[%d] = %G Low[%d] = %G",
sec,iHigh(Symbol(),0,sec),
sec,iLow(Symbol(),0,sec));
}
The above is from an example code, I'm sure it works fine. But I can't find the output text anywhere.
Thanks.