Hi guys,
I have an issue which I am not sure how to get around.
Setup:
Data1 - TimezoneA
Data2 - TimezoneA
Data3 - TimezoneB
When calculating signal to trade Symbol1, I need to refer to Data3 during its trading hours where Data1 is not updating (market closed).
However it seems that whenever Data1 is not updating, the variables stop calculating altogether and hence my signal isnt calculating.
Live chat suggested I look at RecalLastBarAfter to get around this issue. I read the wiki page (link below) however I havent understood how this can be done.
https://www.multicharts.com/trading-sof ... stBarAfter
Has anyone come across this issue and has a way to get around it?
Thanks.
Calculating signal when data1 is not updating
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Calculating signal when data1 is not updating
What don't you understand about RecalLastBarAfter ?Hi guys,
I have an issue which I am not sure how to get around.
Setup:
Data1 - TimezoneA
Data2 - TimezoneA
Data3 - TimezoneB
When calculating signal to trade Symbol1, I need to refer to Data3 during its trading hours where Data1 is not updating (market closed).
However it seems that whenever Data1 is not updating, the variables stop calculating altogether and hence my signal isnt calculating.
Live chat suggested I look at RecalLastBarAfter to get around this issue. I read the wiki page (link below) however I havent understood how this can be done.
https://www.multicharts.com/trading-sof ... stBarAfter
Has anyone come across this issue and has a way to get around it?
Thanks.