Calculating signal when data1 is not updating

Questions about MultiCharts and user contributed studies.
brianhclo
Posts: 31
Joined: 31 Mar 2014
Has thanked: 8 times

Calculating signal when data1 is not updating

Postby brianhclo » 09 Nov 2015

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.

User avatar
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

Postby TJ » 09 Nov 2015

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.
What don't you understand about RecalLastBarAfter ?


Return to “MultiCharts”