yimbobz

Jim's MACD

yimbobz Updated   
MACD Buy/Sell Strategy

Filters bearish crossovers above the 0 line and bullish crossovers below.

Uses 34 ema to further filter the trades and take only longs above and only shorts below.

Apply at least 2:1 risk to reward ratio to account for losing trades.

Trade at own risk!
Release Notes:
Added trade timeframes:

7:00AM - 4:00PM
7:00PM - 10:00 PM

Set ema to 7 period moving average
Release Notes:
Simplified buy/sell signal code logic
Release Notes:
Removed commented old code
Release Notes:
Removed MACD from below and EMA is shown on candles again
Release Notes:
Added bar color

Changed timeframe

9:00AM - 4:00PM
7:00PM - 10:00PM
Release Notes:
Switched back to 7 period EMA

Time frames adjusted and meant for NYC eastern time
Release Notes:
Logic now only trades bullish MACD cross overs below the 0 line and bearish crossovers above the 0 line. Reverse of the initial code.

Code now contains Momentum logic and Hull EMA logic

Trade timeframe is set to 11AM - 4PM EST , 7PM -10PM EST
Release Notes:
Added VWAP

Removed HullMA visibility
Release Notes:
Removed VWAP as it is crowding
Release Notes:
Changed time to search conditions prior

Sell logic now only checks MACD
Release Notes:
Buy and Sell entry now both use momentum and hullema logic
Release Notes:
Code clean
Release Notes:
Removed ema

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?