how can I get the equivalent of
double CCI_Typical_Curr5=iCCI(_Symbol,PERIOD_M5,9,PRICE_TYPICAL,0);double CCI_Typical_Prev5=iCCI(_Symbol,PERIOD_M5,9,PRICE_TYPICAL,1);
In mt5 I get handle instead ...I'm not able to extract the same integer numbers (obtained from mt4) from cci buffer....
Thanks in advance
If you have a mt5-terminal mark iCCI and press F1 and study the example code for iCCI(..) in mt5.
The 'mt4' editor as well has a MQL5 Reference open it and search for iCCI...
I think you'll find what you need!
That is the point....
I already saw the example...
with CopyBuffer I fill CCI buffer
How can I get the values I need?
input ENUM_TIMEFRAMES period=PERIOD_M5; // timeframe
double cci1 = iCCIBuffer, cci0 = iCCIBuffer;