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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明