there are 4 or 5 coppock indicators...... all seem to have a unique issue...... along with several other indicators like the
roc with signal ma.....
when a symbol's digits are 0, in other words whole numbers, they will either not plot at all, or plot correctly but with unusable values...... examples would be dow, dax, stoxx50 and such......
nq, es, gold, silver and the like all have at least 1 decimal point...... they work ok.....
if you change line 43 from
to
where digits is set in the inputs, it will work on symbols including those that are whole numbers only..... came up with several other methods but using the input idea works best......
my goal was to code alerts when the coppock crossed the 0 line...... without proper values it cant be done, or at least not by me......
once the digits issue is solved, they all work perfectly......h
//-----
