Your code, if it worked, would put a line on the right most, forming, candle. Just move the mouse over that candle and see the time in the status bar
(bottom of the terminal.)
Just Print you variables to the Journal
https://docs.mql4.com/common/print
Just be sure to convert to string beforehand
Print - Common Functions - MQL4 Reference
- docs.mql4.com
Data of double type are shown with the accuracy of up to 16 digits after a decimal point, and can be output either in traditional or in scientific format, depending on what entry will be more compact. Data of float type are output with 5 digits after a decimal point. To output real numbers with another accuracy or in a predefined format, use...
Thanks for helping me ... but I think I have problem on starting Debug on History data (Ctrl-F5) .... I have enabled only "start debug on real data" (F5)
"Debug od history data" is grayed (disabled)......
Why?
p.s.
On MT4 terminal I'm logged to Demo account
siljo: Why?
Because it isn't implemented in MT4.
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
Hi
I'm new in MQL4 programming...
I want to view "current time" in debug mode of MQL4 programming EA ...... is this possible?
Maybe with object OBJ_VLINE? I'm try with:
but not see nothing....
Can anybudy help me?
THANKS!
J.