AltTrader BackTester Swing&Scalp

Major announcement here for the release of the backtesting script!
This script is the backtesting version of AltSignals Alt-Trader Scalp & Swing indicator
This indicator has all the same features but now you can see previous results
Things to note
Make sure the correct take profit % are selected and add up to 100
Make sure you select the correct timeframe to backtest, zoom out on web browser to see more dates
Remember backtesting does not predict the future, the market is an ever changing beast!
Thank you!
Changelog:
- added second AltFilter - now you can use one or two AltFilters simulaneusly
- add MultiMA - very powerful bunch of different MAs to filter signals given by main algo. BUYs only allowed above MA, SELLs only below.
- TPs and SL can be set as percent (default) or as pips (Forex market), for pips you have to choose pip value i.e 0.0001 for most currency pairs (excluding JPY)
- added option to offset entry value send in alert to make sure order will fill (for BUY -% value is added to algo entry price, for SELL it is substracted)
- COOS (Close on opposite signal) function recoded - now it works always (only LONG, only SHORT, LONG and SHORTS). If checked algo close trade when hit SL/BE or the highest TP or opposite signal appear. When turned off trade will stay opened till hit SL/BE or the highest TP.
Fixed minor trailing SL issue for backtesters
2) Solution for situation where trigger TP for BE hit and BE hit on the same candle. Today (first pictur) strategy ignore BE at this candle. After update (second picture) if BE and trigger TP are on the same candle, strategy close trade on next candle open. It's not accurate (BE should close on open trade price), but it's only way to solve this problem and make backtester more accurate. Backtester not operate on tick data so it doesn't know how price behaved inside history candle. So better assume that after trigger TP hit price also hit moved SL to BE. Due to change many results of backtester where BE was used (mostly triggered by TP1) and low TP1 percent will show worse results, but they will be more like live trading results.
- added ATR as a way to calculate TPs and SL (put multiplier of ATR you want to use into TPs and SL inputs)
- fixed problem of "nulls" in alerts messages caused by dashed line option for TPs and SL
- finally we have TPs/SLs for longs and shorts separately. Also predefined sessions for Asia, Europe and USA.
- small fixes for dashed line and detecting if SL is used when only long/short and COOS turned off.
- reworked Sessions - now algo not shows any signals in out of session period, TPs and SL still can hit
- reworked settings layout
- fix of BE function (sometimes order quantity was not correct - very rare)
We've just made our perfect AltAlgo even better. Current update not only migrates code of AltAlgo to the newest pine script version which is v5 but it also add new feature which is SuperTrend filter. SuperTrend is popular indicator based on ATR multiplier and ATR length. In most cases it is used to trail stoplosses. We've taken different approach and add it as a trend filter. Rules are the same as usage of MultiMA, If the current price is above SuperTrend only BUYs are allowed, below SuperTrend only SELLs are allowed. Our implementation of SuperTrend is MTF (multi timeframe) which means you can take it from timeframe equal to chart timeframe or higher i.e your chart is 5min but you can use SuperTrend from 15min or 1h timeframe to get better trend indication. To use this awesome brand new feature just mark checkbox near SuperTrend and choose Multiplier (default 3) and ATR Period (default 10). If you do manual trading you can also only plot SuperTrend - just leave unchecked
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente Altsignals.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.
💎Telegram t.me/AltSignals 💎
📈 Signals/Algos altsignals.io/join 📈
Declinazione di responsabilità
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente Altsignals.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.
💎Telegram t.me/AltSignals 💎
📈 Signals/Algos altsignals.io/join 📈