MACDD3

Bearish MACD Cross 3 bar min
Description
EdgeRater Event is generated whenever the MACD line crosses the signal line from above. The MACD line must have been above the signal line for at least three bars prior.
Category
Indicator Scans
Parameters
FastPeriod ( Default: 12 Min: 1 Max: 100 )
SlowPeriod ( Default: 26 Min: 1 Max: 100 )
M ( Default: 9 Min: 1 Max: 100 )
Chart Script

MACD := EMA(CLOSE,FastPeriod) - EMA(CLOSE,SlowPeriod);
SIG := EMA(MACD,M);
Event:LONGCROSS(SIG, MACD, 3);