Hi there I really hope someone can help. The code below...I run it (it looks correct to me), but I get an incorrect value (see the value on the bottom window for the Bears Indicator - and top left is the Comment that I display, of the current value that I have) For some reason they are not the same - does anyone have an idea why not? // 4. Bears Power //=============== double myPriceArray; int BearsPowerDefinition = iBearsPower(_Symbol,_Period, 13); ArraySetAsSeries(myPriceArray,true); CopyBuffer(BearsPowerDefinition,0,0,3,myPriceArray); double BearsPowerValue=(myPriceArray); Comment("Bears Power " , BearsPowerValue);
Please see attached image
Or does anyone have the code to call a Bulls Power Indicator in MQL5 that returns the correct value??