How to back test ?

Trader H.C.

Junior member
39 13
If you're a programmer, Backtesting with Python is powerful. You can use library like backtrader.

If you're not a programmer/ light-weight coder, backtesting with TradingView Pine Script or Bar Replay function is also fine.
 

Trader333

Moderator
8,655 981
Backtesting is of very limited use in my view. If you wish to make use of it then at all costs avoid any type of optimisation. Your theories as to why trades may be profitable should work in a raw format without any manipulation. There are countless systems out there that appear profitable precisely because the creator of them optimised the inputs to give an appeared high level of profit. When they then run them in real time scenarios with real money they always lose over an extended time frame.
 
  • Like
Reactions: CavaliereVerde

attila low

Active member
153 10
If you're a programmer, Backtesting with Python is powerful. You can use library like backtrader.

If you're not a programmer/ light-weight coder, backtesting with TradingView Pine Script or Bar Replay function is also fine.
isnt there a way to do it without coding
 

attila low

Active member
153 10
Backtesting is of very limited use in my view. If you wish to make use of it then at all costs avoid any type of optimisation. Your theories as to why trades may be profitable should work in a raw format without any manipulation. There are countless systems out there that appear profitable precisely because the creator of them optimised the inputs to give an appeared high level of profit. When they then run them in real time scenarios with real money they always lose over an extended time frame.
where can i find a realistic , back testing platform?
 
  • Like
Reactions: Nowler

Trader H.C.

Junior member
39 13
isnt there a way to do it without coding

Yes, you can use a bar replay function. Many platforms support that.

If you're also using TradingView, you can click on the button I highlighted and select the bar you want to start your replay:

Bar Replay.png
 

attila low

Active member
153 10
Yes, you can use a bar replay function. Many platforms support that.

If you're also using TradingView, you can click on the button I highlighted and select the bar you want to start your replay:

View attachment 284803
i am using tv , but isnt this a manual method , are there pre made code that you can run with your desired parameters
 

Trader H.C.

Junior member
39 13
i am using tv , but isnt this a manual method , are there pre made code that you can run with your desired parameters
From what I know, I don't think there is such function pre-built by TV.

Some people shared their code for certain strategies on TV, but it depends on what strategy you trading. You may not find what you need.

If you don't know how to code your strategy, the only way is to hire somebody to code it for you or do it manually.
 

userque

Member
53 9
How can i back test my strategy what software to use , and should you know programming ?
thanks
Ninjatrader is free for backtesting, etc. Coding is not required; and depending upon the complexity of your strategy, may not be needed.

Motivewave is now free too, for backtesting, etc. I have no experience with this software.

Tradingview is limited in that it can't optimize (try different parameters automatically). You'll have to run the backtest, then manually adjust parameters, then rerun.
 

attila low

Active member
153 10
Ninjatrader is free for backtesting, etc. Coding is not required; and depending upon the complexity of your strategy, may not be needed.

Motivewave is now free too, for backtesting, etc. I have no experience with this software.

Tradingview is limited in that it can't optimize (try different parameters automatically). You'll have to run the backtest, then manually adjust parameters, then rerun.
ok thanks
 

attila low

Active member
153 10
From what I know, I don't think there is such function pre-built by TV.

Some people shared their code for certain strategies on TV, but it depends on what strategy you trading. You may not find what you need.

If you don't know how to code your strategy, the only way is to hire somebody to code it for you or do it manually.
where can i find such people
?
 

CavaliereVerde

Experienced member
1,553 1,997
Matateder is free for traders and has everything you need to backtest a strategy, 99% of brokers support it.
There are tons of wizards to generate the code if you are not a coder, some are free.
pztrading has a lot of code for most popular strategies.
If you need something more you have to pay a coder, on mql5 site you can find many that will do tha job for less than 100$.
Once you have the code you are at 1% of what you need to be profitable.
99% is finding a robust set of parameters without overfitted backtests.
 
  • Like
Reactions: guest41766
 
AdBlock Detected

We get it, advertisements are annoying!

But it's thanks to our sponsors that access to Trade2Win remains free for all. By viewing our ads you help us pay our bills, so please support the site and disable your AdBlocker.

I've Disabled AdBlock