Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3496
Rating:
(9)
Published:
2018.07.13 15:51
CMH.mq5 (10.71 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 - HL

    Color - blue


  • If Swing < 0:

    CMH = LH - Low

    Color - 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 = High
    
  • If Swing < 0 and Low > LH:

    Swing = 1
    HH = High
    HL = Low
    
  • Otherwise, if High < HL:

    Swing = -1
    LL = Low
    LH = High
    
  • Otherwise, if Low > HL:

    Swing = 1
    HH = High
    HL = Low
    

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21271

VC VC

Indicator VC (Volatility Channel by Larry Williams).

TTF TTF

Oscillator TTF (Trend Trigger Factor) was developed as a method to identify market trends and reversals.

CMC CMC

Indicator CMC (Clear Method Candles) displays colored candlesticks, based on the existing market trend. It is calculated by the "pure" method (without using any other indicators, only price) and has no configurable parameters. It is based on indicator Clear Method Histogram.

CRF CRF

Indicator CRF (Cumulative Rotation Factor) displays the states of the market: Uptrends/downtrends/consolidation.