A request I thought would be useful to code.
Very simple script that allows to create alerts on MACD divergences, based on @wanliyu script.
I also removed the security function to avoid repainting.
Red background is bearish divergence and green background is bullish divergence.
You must have missed some trading opportunities of MACD Divergence due to oversight. So I create and share this script to help u seize the chances.
This indicator is based on CM_MacD_Ult_MTF created by ChrisMoody.
Uses two sets of MACD plus an RSI to either long or short. All three indicators trigger buy/sell as one (ie it's not 'IF MACD1 OR MACD2 OR RSI > 1 = buy", its more like "IF 1 AND 2 AND RSI=buy", all 3 match required for trigger)
The MACD inputs should be tweaked depending on timeframe and what you are trading. If you are doing 1, 3, 5 min or real...
IMPORTANT!!! MAKE SURE "RECALCULATE AFTER ORDER FILLED" IS CHECKED. I will have it on by default in the future.
This is a continuation of my previous scripts of two MACD indicators with a Stochastic RSI indicator.
- Alternate MACD time interval
You can now set the time interval for the second MACD indicator to a different resolution than...