Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

MT5 CCI with Shift Parameter - MetaTrader 5 Script | Forex Indicator Download - MetaTrader 5 Resource

author EAcpu | 3 reads | 0 comments |

MT5 CCI with shift parameter - indicator for MetaTrader 5

MT5 CCI with shift parameter - indicator for MetaTrader 5

MT5 CCI with shift parameter - indicator for MetaTrader 5

MT5 CCI with shift parameter - indicator for MetaTrader 5

Simple extension of the CCI indicator using iCCI function calls. Now you have a shift parameter that will move the plot by the user defined bar.

This is somewhat of an educational code as it reveals how to apply the shift function to any indicator based on the shift buffer index.

MT5 CCI with shift parameter - indicator for MetaTrader 5

MT5 CCI with shift parameter - indicator for MetaTrader 5

The "Test_CustomCCI" script shows how to use the indicator with iCustom.

Place these two files in the Indicators/Examples folder and compile CCI_withShift before compiling the other file. They will all appear as available indicators in the software.


Attachment download

📎 test_customcci.mq5 (2.47 KB)

📎cci_withshift_v1.01.mq5 (3.49 KB)

Source: MQL5 #46924

Verification code Refresh