How to Backtest a Trading StrategyBacktesting is a manual or systematic method of determining whether a trading strategy or trading setup has been profitable in the past.
A trader should backtest a strategy to help determine if a trading strategy is likely a waste of time and money, or if it shows promise and profitability in a variety of markets.
While you can get software that does systematic backtesting… we prefer manual backtesting as it can be carried out by any type of trader,
It is a key component in developing an effective trading strategy. There are infinite possibilities for strategies, and any slight alteration will change the results. This is why backtesting is important, as it shows whether certain parameters will work better than others.
What Do I Backtest?
The first thing to note is that you don’t need a full trading strategy in order to start backtesting.
For example I personally am always looking at new trading setups and candlestick formation and then backtesting them to see how effective they are.
You can test small parts of a trading strategy before putting them all together.
And of course you can and SHOULD backtest your whole trading strategy in a number of different trading situations.
How to Backtest
1) You need data to use in testing… if you are testing short term strategies on small timeframes then use at least a few weeks of trading data.
If you are using higher timeframes then you should be using years of trading data.
2. Define the strategy parameters. Entry conditions, exit conditions etc. Include as many “If X happens then I will do Y” scenarios as possible so that your strategy is repeatable.
Its essential to include risk management in these parameters too. So decide on if you are risking a percentage of your account equally on each trade, what is that percentage. If you are managing your risk in another method, clearly define it as something you are able to measure.
ALL OF THESE PARAMETERS ARE WHAT YOU ARE MEASURING AND TESTING. THESE ARE THE ELEMENTS THAT YOU CAN CHANGE TO SEE WHICH ARE MORE OR LESS PROFITABLE.
3. Use the TradingView rewind tool to go back in time and remove the predictive nature of knowing where the chart will be headed.
You could go back in time and look for trades from a year, a month or a week in the past, depending on how far back you wish to look.
4. Analyse price charts for entry and exit signals. This can be done until all trades on the chart up to the current time have been located and marked or written down
(be aware that it can take some time and be prepared that you are unlikely to be able to do all of this backtesting in one session… it could take you a few sessions of backtesting and recording the trade outcomes to fully test a strategy.)
5. Once you have competed this process, then you can start to total all of the trade results up to see how profitable or unprofitable your trading strategy / setup has been over time.
What Goes Wrong in Backtesting
Typically the pitfalls and the ways that people fail at backtesting are based around not being through enough.
That could mean that people haven’t included enough data in the backtest.
It could mean that they left too many unknowns in the strategy so when using it in a live trading situation the strategy isn’t usable or realistic.
Also it could be that people don’t back test for long enough to see if the strategy is profitable or not. If you only have a small sample size of trade then even a short losing or winning streak of trades would dramatically affect the results. You need enough trades to show winning streaks, losing streaks and all between so that you can be confident that your strategy will be able to withstand those situations in live trading.
Imagine for example in your backtesting your strategy didn’t lose more than 2 trades in a row but when you start using it in live trading you get 5 losses in a row. This is a situation that hasn’t been tested so could show a different result.
The goal is to backtest for long enough and through enough so that nothing in live trading hasn’t been tested previously. While it may not be possible to fully achieve this… it should be the goal and you should feel confident enough that you have done everything possible to ensure this is the case.
Testing
BTC/USDT BITCOIN testing 45000 and support at the 21 week MABTC is following an upward trend but it has broken the first support and testing the second support. If it drops below 44000 then it may drop further. But keep in mind that this is still very bullish indeed and it could just be BTC cooling off.
Another thing I noticed was the volume was low and there was a market manipulation when BTC went up the 48000 then dropped back to 46000.
Good luck EVERYONE and trade money you can afford to lose only!
ADA/USDT - Big move confirmedAs predicted on the previous ADA/USDT chart.
Previously; we could see ADA coming to a squeeze, at the exact point of the wedge we witnessed a big decline in price.
Currently; watching ADA as it is testing next support level. If confirmed, looking for a short position down to approximately $1.
DYOR
das experiment : Testing liquidity btc short ideaSo this is still a experimental, but has a high winning rate. (except a genius smoker changed his bio to btc and tweet about doge :) )
First of all, not a financial advice and make your own decision.
Only you are responsible of your wins and losses.
Price made a lower low, and and now bearishly retesting a pullback level.
I put my asks to red box, and keep this position until I see a daily stop above stop level.
This is a long term position so I'll use futures instead of swaps. And I'll use swaps to hedge on ltf supports.
** EURNZD ** short trade currently open will it reach TP????Good evening, an update for you all on today trades.
The entry price, stop loss (in pipettes) and take profit are shown on the chart itself.
Just something I'm working on in Pine script, I'll share as many trading ideas as and when I can, so I can document my progress.
My name is Al, I'm 40 and from the UK.
I've been trading for a few years, my key goal is to automate my strategies and remove as many decisions as I can.
Any questions, feel free to drop me a direct message if I can help.
These ideas, aren't specific advice from me - so if you enter, of course do your own due diligence - always manage your risk like a pro too.
This is all for information and education.
Have a great day,
Al.
🙂
PS. Check my other 'Related Ideas' too.
Finally Good News For PolkaDOT!The price has been respecting an increasing trendline since it has begun the bull run. On 22 February, the price has experienced a very strong rejection of this trendline, and also around 22 march, a rejection is noticed. All this adds confluence to the fact that this trendline has become support. From 20 February till 20 March the price has failed to break a strong support zone (drawn in grey) many times and kept bouncing between 31$ and 37$. Recently we noticed a breakout of this zone where the bullish candles closed above this zone and now the price is testing it which transforms the old resistance zone into a support zone. The price can have a bullish run either soon or until the price touches again the trendline.
Breakout trading strategy? BTC TEST! ⚫ I wanted to test if simply using support, resistance, confirmation, and preferably a triangle pattern could predict a breakout of some kind.
⚫ In my last post I tried this with ETH and it worked well. Always adding on.
⚫ Drop me some rep for me to talk in chats :).
⚫ God bless! Except if your atheist... Have a good day in that case. Drop a comment! I forgot to add trend lines sorry.
⚫ I'm currently researching coins for my long term investments although I want and will learn how to day/swing trade.
⚫ DROP A COMMENT! HELP ME OUT!
AUDJPYwaiting for a move towards the resistance;
looking out for a movement back into the resistance range, a rejection at the resistance and a confirmation towards the downside
or
looking for a movement into the resistance range, a breakthrough, followed by a retest of that same level and a candle confirming the bulls