For anyone interested, Here is an example of how to put backtesting results into an Indicator. This calculates the same values as you find in the Summary Screen of the built in Strategy backtester. This will use the same result size as the standard backtester i.e. 5 minute chart grabs roughly 1 month of data, 1 minute chart grabs 1 week of data, etc... I tried...
This script is an utility tool for manual backtesting. The main problem in backtesting a discretionary strategy is the bias of knowing the future result of the market, in this way all the market will be crushed into a flat line, this way you can avoid bias. The way to use this indicator is easy and made by 4 step: Step 1 : add to an asset you won't backtest and...
Backtesting indicators is easy , just add the following line of code to your script: plot(longEntry ? 1 : shortEntry ? -1 : longTP ? 0.5 : shortTP ? -0.5 : 0, color=na, editable=false, title='Backtest') These numbers are defined as constants in the backtester source-code. After adding this indicator to your chart: 1. Open Settings 2. Select supported...
This is a script that generates a SELL signal by combining RSI and Stochastic RSI into the same script and that can easily be integrated into an external Backtester like the one I published. The script uses default values for RSI and Stochastic RSI overbought conditions. They should be adjusted for specific assets and timeframes so they better match the current...
This is a script that generates a BUY signal by combining RSI and Stochastic RSI into the same script and that can easily be integrated into an external Backtester like the one I published. The script uses default values for RSI and Stochastic RSI oversold conditions. They should be adjusted for specific assets and timeframes so they better match the current...
This strategy Multi Time Frame Macd Indicator We take the first long position when we have a buy signal in Weekly Macd (Macd line crosses above Signal line). This open a trading window, showed with green background color We close the first position when either Weekly or Daily Macd give us a sell signal ((Macd line crosses below Signal line)) Enable Profit and...
The script is for backtesting price gap's with a determined bind to the previous bar.
Hi everyone, After a few iterations and additional implemented features this version of the Backtester is now open source. The Strategy is a Backtester for 3commas DCA bots. The main usage scenario is to plugin your external indicator, and backtest it using different DCA settings. Before using this script please make sure you read these explanations and make sure...
What is it? A simple yet effective strategy ran on the 30m chart. This is a basic idea that can be expanded on using different indicator to either add signals or filter out certain bad signals! The strategy consists of 1 fast moving average and 1 slow moving average. Both of these moving averages are the Hull Moving Average What is the Hull Moving Average?...
This bypass indicator triggers plots 1 when the price is above the QFL base. This can be used as a "bypass" by a consumer indicator that can skip trades when the bypass is triggering. You can use it for long and short strategies, to prevent using buy or sell signals in areas were the price is either overextended. QFL works better in 1, 2 or 4 hours timeframes.
This version of the Inverse Fisher Transform on RSI comes with support for 1) Backtesting with Gavin's backtest script 2) Bypass, you can use another indicator to pause buy signals from this indicator. Just create another indicator that plots "1" whenever you want to activate the bypass on the IFTRSI signal. 3) Independent buy and sell level thresholds. Some...
This script allows you to backtest Trading View's "Technical Ratings" (Buy, Strong buy, Sell, Strong Sell) using Gavin's backtest script. To use it add the backtest script to the chart together with this script and then from the back test settings connect the external indicator. You should select "TV Signal" as the source. Backtesting works best on the 5m chart,...
This indicator provides back-tested signals and alerts from multiple technical indicators. No more guessing whether or not you should trust an indicator. See your indicators' past performance at a glance. No more false alarms. Disable re-painting of signals. When multiple indicators overlap, a Confluence indicator will print (large triangle). With your...
This indicator starts by plotting each time the price action crosses above or below the EMA, of which you can tune the timeframe and duration. It then takes it a step further and plots whether or not that indicator would have given you a profitable trade, of which you can also tune the parameters (Max wait time, and % Profit). Once you have your EMA tuned to...
Backtesting compatible QFL pine script w/alerts This version of QFL was made based on this one: From author: www.tradingview.com I made the following additions according to my requirements: - I need to use pine script 4 - I needed to avoid repainting issues so I'm not calling directly security, I'm using the wrapper function. - There might be still repainting...
Rainbow Strategy Backtesting base on "Rainbow Moving Average" Strategy as below: 1.Rainbow Moving Average setup - Source: source of 1st MA - Type: SMA/EMA - Period: period of 1st MA - Displacement: period of 2nd MA to 7th MA with source is previous MA 2.Trend Define - Up Trend: Main MA moving at the top of Rainbow - Down Trend: Main MA moving at the bottom of...
Updating previously published simulated 3commas DCA logic with a sexier insert and more meaningful default parameters.
This strategy is intended for use as a way of backtesting various parameters available on 3commas.io composite bot using a bollinger band type trading strategy. While it's primary intention is to provide users a way of backtesting bot parameters, it can also be used to trigger a deal start by either using the {{strategy.open.alert_message}} field in your alert and...