the 1962 coppock curve used a wma...... it's a rate of change type deal......
the mq5 version has a periods input...... InpPeriod = 10; // Period
that input seems to have to do with bars/rate limit and not periods as we normally think...... however, we can still use it in the traditional way......
iMA(NULL,PERIOD_CURRENT,1,0,MODE_SMA,InpAppliedPrice); where 1 is hard coded periods..... 1 might be the equivalent of no lag......
lot of water has gone under the bridge since then...... wonder if there is something better today......
what if we substitute something else for a sma(1) ......
what if we make it a single indicator with multiple choice......
at first glance, rsi version seems promising......
admittedly, first glances can be deceiving......h
//------
//------ rsi version in magenta ..... standard version in yellow

the mq5 version has a periods input...... InpPeriod = 10; // Period
that input seems to have to do with bars/rate limit and not periods as we normally think...... however, we can still use it in the traditional way......
iMA(NULL,PERIOD_CURRENT,1,0,MODE_SMA,InpAppliedPrice); where 1 is hard coded periods..... 1 might be the equivalent of no lag......
lot of water has gone under the bridge since then...... wonder if there is something better today......
what if we substitute something else for a sma(1) ......
what if we make it a single indicator with multiple choice......
at first glance, rsi version seems promising......
admittedly, first glances can be deceiving......h
//------
MQL5:
handle_mar= iRSI(NULL,PERIOD_CURRENT,InpPeriod,InpAppliedPrice); // iMA(NULL,PERIOD_CURRENT,1,0,MODE_SMA,InpAppliedPrice); // we can use InpPeriod even though it's true purpose is in setting period_ind // period_ind=int(InpPeriod<2 ? 2 : InpPeriod); // we are just piggy backing InpPeriod to suit or purpose
//------ rsi version in magenta ..... standard version in yellow
