AlfyParticipant
Average
macd1= exponentialaverage[8](close)-exponentialaverage[233](close)
signal1= average[233,1](macd1)
hist1= macd1-signal1
macd2= exponentialaverage[8](close)-exponentialaverage[377](close)
signal2= average[377,1](macd2)
hist2= macd2-signal2
return hist2 coloured(230,230,250) style(histogram),hist1 coloured(0,0,255) style(histogram)
Hi guys, i have this code for the John Carter wave C indicator and only one of the histograms is showing up. Can anyone tell me why? Is there a limit to a length of a moving average in PRT? Any help as usual much appreciated.
Best wishes