It should work, print the values of TimeCurrent, TimeUs etc. It is not printing (or appearing not to work) as the condition is not yet satisfied as opposed to test charts where the values are not in real time.
Thank-god Avwerosuoghene Odukudu #:
It should work, print the values of TimeCurrent, TimeUs etc. It is not printing (or appearing not to work) as the condition is not yet satisfied as opposed to test charts where the values are not in real time.
It should work, print the values of TimeCurrent, TimeUs etc. It is not printing (or appearing not to work) as the condition is not yet satisfied as opposed to test charts where the values are not in real time.
Hello
I added the print of the value when the event is happening (vertical lines below). It appears the calculation is good and the indicator work properly AFTER a first event on PD. The issue is on the old bars. When i put the indicator on the PD chart, it doesn't take into account the old bar until a first event happens.

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 a problem on an indicator. It works on Testing chart but not on PD chart.
My indicator calculates the difference between the close() and a value (named open0 in my code) which changes at certain times (beginning of the day, open hour FRA40 and open hour US30).
I thought this indicator would be "simple", but I have never encountered this kind of issue...:-(
Could you help me please and tell me if you see something which can explain this issue (i really would like to understand) :
Thanks a lot in advance