IOG Mode

Questions about MultiCharts and user contributed studies.
tony
Posts: 420
Joined: 14 Jun 2013
Has thanked: 30 times
Been thanked: 81 times
Contact:

IOG Mode

Postby tony » 04 Apr 2014

I'm running a script with IOG=True and had thought (still do which is why I'm posting this topic) that any prior variable or price that I referenced was based on ticks, not bars. For example var3[1] would be the value of var3 on the prior tick, not the prior bar.

But I was working with the HIGH function and it appears I was mistaken, at least with this function (reserved word). For example I am using highest( high, 5 ) of Data3; and in playback mode, the script is calculating, 5 bars back on Data3, NOT 5 ticks back. Remember, I am using IOG=True in my script.

Can anyone confirm that this is correct? In playback mode sometimes things seem to have a mind of their own (though I do love this feature) which is why I am asking. Thank You -

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: IOG Mode

Postby TJ » 04 Apr 2014

I'm running a script with IOG=True and had thought (still do which is why I'm posting this topic) that any prior variable or price that I referenced was based on ticks, not bars. For example var3[1] would be the value of var3 on the prior tick, not the prior bar.
But I was working with the HIGH function and it appears I was mistaken, at least with this function (reserved word). For example I am using highest( high, 5 ) of Data3; and in playback mode, the script is calculating, 5 bars back on Data3, NOT 5 ticks back. Remember, I am using IOG=True in my script.
Can anyone confirm that this is correct? In playback mode sometimes things seem to have a mind of their own (though I do love this feature) which is why I am asking. Thank You -
The [1] reference has ALWAYS been a bar reference. Nowhere in any manual have ever suggested otherwise.

tony
Posts: 420
Joined: 14 Jun 2013
Has thanked: 30 times
Been thanked: 81 times
Contact:

Re: IOG Mode

Postby tony » 04 Apr 2014

You just made my night TJ. Thanks for clarifying.


Return to “MultiCharts”