scfx:
Use TimeToStr()
Hello,
I have indicator that currently has 1 buffer for buy signal and a buffer that record the date and time for the prior buysignal, say the name is buy1datetime.
buy1datetime[i]=Time[i];
The problem is that this buy1date1time value is in second pass ince 1.1.1970.
I want to turn it into yyyy.mm.dd hh:ss
If buy1datetime[] is a buffer then it MUST be a double. It can NOT EVER be a datetime. The data-window shows VALUES, never a datetime.
Thanks man.
SCFX
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
Hello,
I have indicator that currently has 1 buffer for buy signal and a buffer that record the date and time for the prior buysignal, say the name is buy1datetime.
buy1datetime[i]=Time[i];
The problem is that this buy1date1time value is in second pass ince 1.1.1970.
I want to turn it into yyyy.mm.dd hh:ss
How can I do that?
I try to set the buffer for buy1date1time in the format : double, datetime but none works.
Many thanks.
SCFX