Thank You,
Apart from above condition, i also tried to apply following two conditions:
- Last two MACD histogram including current should be higher higher than 0 zero i.e. it should be green and these histogram should be rising.
I have tried following conditions but not getting result:
Condition 1: MACD(12,26,9,macd,0) - MACD(12,26,9,signal,0) higher than 0.0 + MACD(12,26,9,macd,-1) - MACD(12,26,9,signal,-1) higher than 0.0 + MACD(12,26,9,macd,-2) - MACD(12,26,9,signal,-2) higher than 0.0 + MACD(12,26,9,macd,0) - MACD(12,26,9,signal,0) higher than MACD(12,26,9,macd,-1) - MACD(12,26,9,signal,-1) + MACD(12,26,9,macd,-1) - MACD(12,26,9,signal,-1) higher than MACD(12,26,9,macd,-2) - MACD(12,26,9,signal,-2)
Condition 2: MACD(12,26,9,histogram,0) higher than 0.0 + MACD(12,26,9,histogram,-1) higher than 0.0 + MACD(12,26,9,histogram,-2) higher than 0.0 + MACD(12,26,9,histogram,0) higher than MACD(12,26,9,histogram,-1) + MACD(12,26,9,histogram,-1) higher than MACD(12,26,9,histogram,-2)
Condition 3: MACD(12,26,9,histogram,0) higher than MACD(12,26,9,histogram,-1) + MACD(12,26,9,histogram,-1) higher than MACD(12,26,9,histogram,-2) + MACD(12,26,9,histogram,0) higher than 0.0 + MACD(12,26,9,histogram,-1) higher than 0.0 + MACD(12,26,9,histogram,-2) higher than 0.0
Condition 4: Period min(3, MACD(12,26,9,histogram,0) ) higher than MACD(12,26,9,histogram,-3)
Condition 5: MACD(12,26,9,histogram,0) crosses above 0
Condition 6: MACD(12,26,9,macd,0) crosses above MACD(12,26,9,signal,0)
Also,
2. For second condition for size of the candle, the size of the candle should not bigger than 100% from last 4 candles.
condition:
Period max(4, Abs(Close(0) - Open(0))) / Period min(4, Abs(Close(0) - Open(0))) Lower than 2
Kindly guide on MACD condition and provide correct formulation.
In case of size of the candle, kindly guide whether formulation done by me correct or not, or what is should be?
Thank you.