OPEN-SOURCE SCRIPT

RePaNoCHa V4 [Backtest]

Updated
This is the Backtest version of the previous one.
It's important to correctly set the "TICKS / PIPS CORRECTION" parameter in each different chart.

Enjoy!
Release Notes
(New Alerts Version) Confirmed signals improved and added independent alerts for TS.
Release Notes
Limit orders on TS for better profit & one alert every minute closing X%
Release Notes
New rebuild optimized for closing the position every minute with X% in every Trailing Stop alert only. Stop Loss Fixed. Now this is the Super-RePaNoCHa script ;-)

An example on a 5 minutes timeframe for XBTUSD (BITMEX)

Position Side = BOTH
Source = hlc3
T3 Length = 20
T3 Volume Factor = 0.3
Sampling Period = 30
Range Multiplier = 3.2
ADX lenght = 48
ADX Threshold = 15
SAR start = 0.31
SAR inc = 0.2
SAR max = 0.12
RSI length = 34
RSI Center Line = 50
MACD Fast Length = 7
MACD Fast Length = 19
MACD Signal Length = 13
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = false
Tics/Pips Correction = 2
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 % (with post only on TS = 0.025)
Release Notes
A little improvement with Xlong/Xshort
Release Notes
New improvement with XConditions
Release Notes
Reconfigured to be shorter and better. Unconfirmed signals are more stable. Default settings for BINANCE BTC:USDT (Comission_value = 0.04 taker)
Release Notes
"TICKS/PIPS CORRECTION" is no longer needed: (pips_corection = 1/syminfo.mintick)
ADXbacktestOscillatorsrepanochastoplossT3 Moving Average (T3)trailingstopTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer