MACD Threshold Crossover v2.0 Trend FilterThis is a script to bring 'Buy' and 'Sell' signals, which can also be used for alerts, for when the MACD fast and slow lines cross.
A 'Buy' signal prints when the fast MACD crosses above the slow MACD (a distance of at least 0.00003), whilst being below the MACD 0 level (w/ 0.00015 margin).
A 'Sell' signal prints when the fast MACD crosses below the slow MACD (a distance of at least -0.00003) whilst being above the MACD 0 level (w/ 0.00015 margin).
Furthermore Buy signals are only valid if candle closes above the 200EMA. Likewise Sell signals are only valid if candle closes below the 200 EMA, and all other conditions are met.
Pine Script® göstergesi






















