INVITE-ONLY SCRIPT

MACD++ Strategy [SystemAlpha]

מעודכן
This is a strategy based on MACD Oscillator. Instead of using just the normal crossovers, we use trend filters, trailing stop loss and take profit targets. This strategy was developed for crypto, forex and stocks on daily timeframe but feel free to experiment on 15 minutes or higher using heikin ashi or normal candles

In this strategy you have a choice of:

Trend Filters:
- Average Directional Index ( ADX ) – buy when price is trend is up and sell when trend is down.
- Moving Average (MA) – buy when price close above the defined moving average and sell when price close below moving average
- Parabolic SAR – buy when SAR is above price is above price and sell when SAR is below price.
- All - Use ADX , MA and SAR as filters

For MA Filter , you can use the “TF MA Type” and "TF MA Period" parameter to select Simple or Exponential Moving Average and length.

Stop Loss:
- Average True Range (ATR) – ATR % stop as trailing stop loss.
- Parabolic SAR ( SAR ) – Parabolic SAR adapted as trailing stop loss.

For ATR , you can use the “ATR Trailing Stop Multiplier” parameter to set an initial offset for trailing stop loss.

Take Profit Target:
- Average True Range (ATR) – ATR % stop as trailing stop loss.
- Standard % – Percent as target profit

For ATR , you can use the “ATR Take Profit Multiplier” parameter to set an initial offset for trailing stop loss.

Additional feature include:
- Regular and Hidden Divergence display and alerts

STRATEGY ONLY:
- Set back test date range
- Set trade direction - Long, Short or Both
- Use timed exit - Select method and bars
- Method 1: Exit after specified number of bars.
- Method 2: Exit after specified number of bars, ONLY if position is currently profitable.
- Method 3: Exit after specified number of bars, ONLY if position is currently losing.

TradingView Links:
Alerts:
MACD+ Alerts [SystemAlpha]

MACD:
MACD [SystemAlpha]


How to use:
1. Apply the script by browsing through Indicators --> Invite-Only scripts and select the indicator
2. Once loaded, click the gear (settings) button to select/adjust the parameters based on your preference.
3. Wait for the next BUY or SELL signal to enter the trade!

Disclaimer:
The indicator and signals generated do not constitute investment advice; are provided solely for informational purposes and therefore is not an offer to buy or sell a security; are not warranted to be correct, complete or accurate; and are subject to change without notice.
הערות שחרור
Updated ATR default values
הערות שחרור
Updated strategy
הערות שחרור
Updated logic to only have one sell or buy order at a given time
הערות שחרור
Updated Alerts
הערות שחרור
Added Zero Filter - BUY if MACD below Zero, SELL if MACD above Zero
הערות שחרור
Removed divergence logic
Centered OscillatorsDivergenceMoving Average Convergence / Divergence (MACD)systemalphatrader

סקריפט להזמנה בלבד

הגישה לסקריפט זה מוגבלת למשתמשים שהוסמכו על ידי הכותב ובדרך כלל דורשת תשלום. אתה יכול להוסיף אותו למועדפים שלך, אך תוכל להשתמש בו רק לאחר שתבקש אישור ותקבל אותו מהמחבר שלו. למידע נוסף, צור קשר עם systemalphatrader, או עקוב אחר הוראות המחבר למטה.

TradingView לא מציעה לשלם עבור סקריפט ולהשתמש בו אלא אם כן אתה סומך ב-100% על המחבר שלו ומבין כיצד הסקריפט עובד. במקרים רבים, אתה יכול למצוא אלטרנטיבה טובה לקוד פתוח בחינם בבסקריפטים הקהילתיים שלנו.

הוראות המחבר

רוצה להשתמש בסקריפ זה בגרף?

אזהרה: נא לקרוא לפני בקשת גישה.

List of Scripts: bit.ly/SAscriplist

Use the links below or PM us to obtain access to our invite-only indicators.
Telegram: t.me/systemalpha
גם על:

כתב ויתור