Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 02:56:56 +0000



Post From: Some Index Questions

[2018-07-19 15:41:34]
User39772 - Posts: 311
Hello Support,

is the meaning of:

sc.IndexOfLastVisibleBar; and
sc.ArraySize

identical ?

If not, please explain.

Are the following statement a valid statement, if my study should always and only process the last 100 bars in the chart during a Replay ?

if (sc.Index > (sc.ArraySize - 100) )
{

// Study Code ...

}  

if (sc.Index > (sc.IndexOfLastVisibleBar - 100) )
{

// Study Code ...

}  

Thanks for a reply ...