BacktestRookies

EMA, SMA Mean Reversion

Invite Only: But everyone will be accepted

Invite-only in order to understand demand and interest in this type of strategy. All requests are welcome and will be accepted.

Full Source is available

A blog post containing full source code and commentary of the strategy is available on the backtest-rookies website. To comply with house rules, I cannot post a direct link here. (Hint add ".com" to backtest-rookies)

Overview

The strategy uses two moving averages to represent the historical mean and a slightly smoothed version of the current price action. It will place long or short trades when the fast EMA moves far away from the historical mean (the slow SMA).

Features
  • Set Backtest Date ranges
  • Enter when EMA is x% away from the mean
  • Independent inputs for the long and short side
  • Only enter when the EMA has started to reverse. (Input)
  • Optional Stop loss
  • Limit trades to a single direction to "Buy the dip" or "Sell the top"

Endast inbjudanskript.

Tillgången till detta skript är begränsat till användare som har godkänts av författaren och kräver vanligtvis betalning. Du kan lägga till det till dina favoriter men du kan bara använda det efter att ha begärt och fått författarens tillstånd. Kontakta BacktestRookies för mer information eller följ författarens instruktioner här under.

TradingView rekommenderar inte att du betalar för ett skript och använder det om du inte litar till 100% på författaren och förstår hur skriptet fungerar. I många fall kan du hitta ett bra alternativ med öppen källkod gratis i våra Community skripts .

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?

Varning:Var god läs innan du begär åtkomst.