UnknownUnicorn20967364

MACD Strategy (Trade Rush) (created by SirPoggy)

This is one of many new strategies coming soon which were seen on Trade Rush

This one is the MACD Strategy (Trade Rush) seen here:
https:www.youtube.com/watch?v=nmffSjdZbWQ

This strategy employs the MACD crossover strategy.

LONG SIGNAL
When the MACD is below the zero line of the histogram, close is above the 200EMA, and the MACD line crosses above the signal line, longs are taken

SHORT SIGNAL
When the MACD is above the zero line of the histogram, close is below the 200EMA, and the MACD line crosses below the signal line, shorts are taken

A couple of options are given for how to calculator stop losses.

You can choose:
  • an ATR stop loss with a set multiplier
  • You can choose a fixed percentage stop loss

The Take profit is calculated by the risk of the stop loss. So a 1.5 take profit target is 1.5 times the stop loss added to the entry price.

There is also an option to filter out trades by the histogram deviation. This prevents crossovers that are too close to the histogram from being taken.

Please note I used the code for the PPO instead of the traditional MACD to make calculating these percentage deviations more consistent across multiple asset types.

Credit to @C2Trends for this PPO code
Versionshinweise:
  • Added ATR Based Stop Loss
  • (hopefully) fixed issue with Repainting on entries (script would attempt to enter, re-enter, and do so repeatedly - strange bug)
  • other quality of life changes
Versionshinweise: Quick exploration thought before changelog - try changing the deviation to 40-50 and see the results. You may also try increasing the Risk to Reward ratio to something more like 2 instead of 1.5 as recommended by Trading Rush.

As Trading Rush takes every entry in his backtest results, what if you ONLY took MACD trades when the MACD is very over-extended. You increase the probability of being correct!

Now, on to the changelog

  • Added a cooldown period option (going to update the other scripts too as this function doesn't appear to be working
  • changed the way win loss labels look
  • removed ATR and Percent stop loss average option (not overly useful)
  • updated backtest results section
  • other cleanup
Versionshinweise:
  • Quick alert fix
Versionshinweise:
  • Fixed backtest range not working
Versionshinweise:
  • Removed non-free strategy options
Versionshinweise:
  • Account Closed
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Kommentare

The script above only has 13 lines. From the above description there appears to be more to this script than what is shown. Where can I find the complete script? Thank you!
Antworten
BTC, 15minute , limit results to date range? I set 2021-08-01 to 2021-08-31 ,but.The date still starts from 2021 06 04
Antworten
@kngkng518, It should be fixed. Check the new version.
Antworten
kngkng518 UnknownUnicorn20967364
@UnknownUnicorn20967364, OK NICE WORK THANKS!~
Antworten
daydreamer8 UnknownUnicorn20967364
@UnknownUnicorn20967364, new version link plz
+2 Antworten
limit results date error
Antworten
@kngkng518, Can you be more specific?
Antworten
@kngkng518, There, try now
Antworten
Release Notes: Quick exploration thought before changelog - try changing the deviation to 40-50 and see the results. You may also try increasing the Risk to Reward ratio to something more like 2 instead of 1.5 as recommended by Trading Rush.

As Trading Rush takes every entry in his backtest results, what if you ONLY took MACD trades when the MACD is very over-extended. You increase the probability of being correct!

Now, on to the changelog

Added a cooldown period option (going to update the other scripts too as this function doesn't appear to be working
changed the way win loss labels look
removed ATR and Percent stop loss average option (not overly useful)
updated backtest results section
other cleanup
Antworten