Could you, please, show the entire code of your indicator?
Thank you for responding to my question, but I am un-willing to shope my code base so if I cant find a solution then I will try to code around the problem
Thank You
EK
Thank You
EK
Ok.
Show please 2-3 lines of code about TrendBuff array filling
For example see our MACD custom indicator
Show please 2-3 lines of code about TrendBuff array filling
For example see our MACD custom indicator
//---- macd counted in the 1-st buffer for(int i=0; i<limit; i++) MacdBuffer[i]=iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i); //---- signal line counted in the 2-nd buffer for(i=0; i<limit; i++) SignalBuffer[i]=iMAOnArray(MacdBuffer,Bars,SignalSMA,0,MODE_SMA,i);
Thank you Slawa
now when I remove the iMaOnArray Functions it displays all the time.
Here is my init code
and here is where I call the iMaOnArray
Any Ideas?
Thanks
EK