Indicator CMH (Clear Method Histogram) displays a color histogram of the current market trend. It is calculated by the "pure" method (without using any other indicators, only price) and has no configurable parameters.
Calculations:
If Swing > 0:
CMH = High - HLColor - blue
If Swing < 0:
CMH = LH - LowColor - pink
where:
HH = Maximum(High, PrevHH)
LH = Minimum(High, PrevLH)
HL = Maximum(Low, PrevHL)
LL = Minimum(Low, PrevLL)
If Swing > 0 and High < HL:
Swing = -1 LL = Low LH = HighIf Swing < 0 and Low > LH:
Swing = 1 HH = High HL = LowOtherwise, if High < HL:
Swing = -1 LL = Low LH = HighOtherwise, if Low > HL:
Swing = 1 HH = High HL = Low