A script to identify possible trend reversal based on Candlesticks. The correct candlestick type is identified by the relative position to Exponential Moving Average.
It detects:
- Hammer - if emerges during a downtrend (close below EMA(5)), the downtrend should end.
- Hanging Man - if comes after a advance (close above EMA(5)), the uptrend should end.
Confirmation:
- for aHammer not required
- a Hanging Man should be confirmed by lower close by the next candle
It detects:
- Hammer - if emerges during a downtrend (close below EMA(5)), the downtrend should end.
- Hanging Man - if comes after a advance (close above EMA(5)), the uptrend should end.
Confirmation:
- for aHammer not required
- a Hanging Man should be confirmed by lower close by the next candle
版本注释:
Exponential moving average set to 4.
版本注释:
revised script code
版本注释:
"Doji" candlestick identification has been added. Tolerance of 0.01% between Open & Close is being used.
版本注释:
revised code
版本注释:
EMA changed back to 5.