OnSet(bool setDefault, bool haveToChangeTheme) | when the indicator is created and before every load. The only one you must override | always |
OnInit() | once per load, before the bars | any call below |
OnLoad(bool isFull) | before the first bar. isFull is true on the first load of the chart | any call below |
OnOpen(bool isRt) | a new bar | IndPrms.OnOpenCall |
OnBook(DateTime exDt, IEnumerable<BookInfo> mbpUpdates, IEnumerable<MboInfo> mboUpdates, bool isRt) | a group of updates of the order book | IndPrms.OnBookCall |
OnBookClose(bool isRt) | the book of a bar is complete | IndPrms.OnCloseCall |
OnTick(TickByTick newTick, bool isRt, bool isNewDay, AggrInfo aggrInfo) | a trade. isNewDay is not used | IndPrms.OnTickCall |
OnIniParallelTick(int indCore, int tickBaseIndex, TickByTick newTick, AggrInfo aggrInfo) | a trade before the first bar, in parallel per core | IndPrms.OnTickCall = Full |
OnTickClose(bool isRt) | the trades of a bar are complete | IndPrms.OnCloseTickCall |
OnEnd(bool isRt) | after the history, and after every batch of realtime updates | IndPrms.OnEndCall |
OnResizeAxis(bool isFinal) | the axes have been resized | IndPrms.OnResizeCall |
OnSaveProperty() | the settings are about to be saved | always |
OnChartBuildTooltip(int CAIndex, int IndX, double Price) | the tooltip of a bar is built. Return a line or null | always |