Bars Since (BarsSince) This function can be accessed only in the Toolbox. Bars Since counts the number of bars since a specified event occurred. Example: BarsSince(@XABOVE 11000,1,300) would count the number of bars, up to a maximum of 300, since the selected symbol (@) first crossed above 11000. Like other functions, the Bars Since function facilitates the creation of custom studies. Example: BarsSince( High(@)> HiLevel(@,20,0)[-1],1,400) Parameter Description NEvents Allows the user to specify an occurrence number other than one before the count begins. Max Bars to Search Selects the maximum number of bars to cover.
Bars Since (BarsSince) This function can be accessed only in the Toolbox. Bars Since counts the number of bars since a specified event occurred. Example: BarsSince(@XABOVE 11000,1,300) would count the number of bars, up to a maximum of 300, since the selected symbol (@) first crossed above 11000. Like other functions, the Bars Since function facilitates the creation of custom studies. Example: BarsSince( High(@)> HiLevel(@,20,0)[-1],1,400) Parameter Description NEvents Allows the user to specify an occurrence number other than one before the count begins. Max Bars to Search Selects the maximum number of bars to cover.
advanced_analytics.docx