MACDU3

Bullish MACD Cross 3 bar min
Description
EdgeRater Event is generated whenever the MACD line crosses the signal line from below. The MACD line must have been below 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(MACD, SIG, 3);