OPEN-SOURCE SCRIPT
已更新

Jim's MACD

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!
版本注释
Added trade timeframes:

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

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

Changed timeframe

9:00AM - 4:00PM
7:00PM - 10:00PM
版本注释
Switched back to 7 period EMA

Time frames adjusted and meant for NYC eastern time
版本注释
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
版本注释
Added VWAP

Removed HullMA visibility
版本注释
Removed VWAP as it is crowding
版本注释
Changed time to search conditions prior

Sell logic now only checks MACD
版本注释
Buy and Sell entry now both use momentum and hullema logic
版本注释
Code clean
版本注释
Removed ema

免责声明