kajpatel / Publications
Forum
Indicator works but does not update on new bars
int OnInit () { //--- indicator buffers mapping SetIndexBuffer ( 0 ,SlopeBuffer); SetIndexBuffer ( 1 ,SMABuffer); //--- return ( INIT_SUCCEEDED ); } //+------------------------------------------------------------------+ //| Custom indicator iteration function |