A few people have been asking me to share my backtesting template. Currently I use this as my starting point for validating existing strategies and developing new ones.
Trading Date Range
4 progressive take profits with target percents and percentage of position to take profit on (Thanks adolgo)
Variable percentage Stop...
This strategy is based on DMI indicator. It helps me to identify base or top of the script. I mostly use this script to trade in Nifty bank options, even when the signal comes in nifty. It can be used to trade in other scripts as well. Pivot points can also be used to take entry. Long entry is taken when DI+(11) goes below 10 and DI-(11) goes above 40, whereas...
Rob Booker - ADX Breakout. The strategy remains unchanged but the code has been updated to pinescript V5. This enables compatibility with all new Tradingview features. Additonally, indicators have been made more easily visible, default cash settings as well as input descriptions have been added.
Rob Booker - ADX Breakout: (Directly taken from the official...
ADX is an oscillating indicator, displayed as a single line, ranging from 0 to 100, it only indicates the strength of the trend and does not indicate its direction. In other words, the ADX is non-directional, meaning that it measures the strength of a trend, but doesn’t distinguish between uptrend and downtrends. So, during a strong uptrend, the ADX rises and...
Forex Master v4.0 is a mean-reversion algorithm currently optimized for trading the EUR/USD pair on the 5M chart interval. All indicator inputs use the period's closing price and all trades are executed at the open of the period following the period where the trade signal was generated.
There are 3 main components that make up Forex Master v4.0:
This is one of many new strategies coming soon which were seen on Trade Rush
This one is the ADX / RSI Strategy seen here:
While the strategy has been modified slightly to use the DMI instead of the ADX, the core of the strategy is essentially the same
Long signals are generated when the RSI is above 70, close is...
This strategy work when ADX line Crossover the 25 value, if the price was above the Alligator lines then its buy signal and if it was under the Alligator Lines then its sell signal
Stop Loss is the Jaw line ( you could choose any of the 3 lines ), and the take profit is 1.5 the stop loss ( also you can change the risk to reward ratio )
I add a filter if the...
Directional Movement Index Strategy
- (a) when DI+ > DI- on timeframe #1, and
- (b) Confirmation: when DI+ > DI- on timeframe #2
In the shown example, timeframe1 was same as the chart (1H) and timeframe2 was 1D.
Stop Loss: ATR based trailing stop
Can refer to Investopedia for general understanding.
Applications of DMI in...
Hello everyone !!
This is amazing bot
Working best as always on this pair -- >> BINANCE:BTCUSDTPERP
The way it works is simple, using two diffrent long or short conditions
which are define by " Autonomous Recursive Moving Average "
when Autonomous Recursive Moving Average is flat (red line)
Bot using condition based on:
This is the last of the 'RePaNoCHa' script for Automatic Trading ;-) ... This time with two take profits ...
It Use 6 indicators + volume:
-JURIK MOVING AVERAGE
-RSI + VOLUME WEIGHTED
To close the position you can choose between 2 Take Profit and the amount to use on each one.
You can transform it yourself into...
A strategy created using Hull Moving Average and WT Cross .
Hull Moving Average turns green and WT Cross crossover this is a long. Otherwise short.
Stop Loss and Take Profit settings are available. You can set it to the level you want or turn it off.
According to my measurements, it shows the best performance in the 4-hour period. But you can find the best...
This strategy takes the ADX Indicator I wrote and applies it to a strategy for back testing purposes.
I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
█ 888 BOT #backtest (open source)
This is an Expert Advisor 'EA' or Automated trading script for ‘longs’ and ‘shorts’, which uses only a Take Profit or, in the worst case, a Stop Loss to close the trade.
It's a much improved version of the previous ‘Repanocha’. It doesn`t use 'Trailing Stop' or 'security()' functions (although using a security function doesn`t...
Publishing a strategy that includes adx and ema filter as well
Entry: all three Supertrend turns positive. If a filter of ADX and EMA is applied, also check if ADX is above the selected level and close is above EMA
Exit: when the first supertrend turns negative
opposite for short entries
A FIlter is given to take or avoid re-enter on the same side. For example,...
This is an experimental strategy that uses a Volume-weighted MA (VWMA) crossing together with Machine Learning kNN filter that uses ADX and MFI to predict, whether the signal is useful. k-nearest neighbours (kNN) is one of the simplest Machine Learning classification algorithms: it puts input parameters in a multidimensional space, and then when a new set of...
This ia full strategy made with a combination of a trender, volume, volatility and oscillator.
In this case we only go long.
Modified RSI logic, not using OB/OS
ADX with EMA applied
The rules are : we check if we are in a uptrend on psar, together with a positive value in volume, rsi is above the middle line(50), using...