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
buyMoving Average Convergence / Divergence (MACD)Moving AveragesOscillatorsSELLTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明