Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

cowcool

Best Strategy Backtesting Software

Recommended Posts

SIUYA, thanks a lot pal for confirming, this is really a shocker for me. I am using latest beta but situation is same, i cant back-test on value basis, if other experience MC users confirm this then it will be lot of help. By the way whats your latest platform ?

Share this post


Link to post
Share on other sites
Why not use 2 data streams one to generate signals and a single tick one (of the same instrument) to generate trades?

 

My one friend suggested that in other forum. Suppose, data series 1 is of 1min tf which is for generating trades, data series2 is of 15min tf for generating signals, now if signal appear true on data stream2 ex. High > new high of the day - and i command MC to buy limit order on next bar on data stream 1 which is of 1 min tf but, next bar didnt take out the new high of the day but 12th one min bar took the NHD then logic will be flawed & MC will through an error. :pullhair: :hammer:

Share this post


Link to post
Share on other sites

What I was thinking was something like

 

if c data2 > h data2 then trigger= true else trigger = false; // data 2 is a 5 minute bar for example

if (currententries=0) and trigger then buy next bar at open; //this will buy on the next tick if data 1 is a 1 tick bar

 

I don't really use strategies myself but can't see why something like this would not work.

Share this post


Link to post
Share on other sites

my platform - for what I require the best system I have found that is great for all aspects of back testing for a retail person is trading blox. It works for me. Possibly a little expensive upfront, but from all accounts it seems fantastic. I have no association with them and have only recently downloaded and learning the system myself, but from all accounts of other users and what I have seen its fantastic. It is built in the same way I built some complex excel based backtesters.... only faster, thats why i relented and bought it. It is not a charting system or for live auto trading however, and MC has its own advantages in this aspect.

I would suggest checking out their website/ user forum and seeing if it suits.

To date, I am not 100% sure if what you require is able to be done in this yet, but I am 90% sure its possible. Personally I test individual ideas, and then combine them - more so to test ideas work as opposed to running a systemised portfolio.

eg; they have in their manual

 

How do I enter an order with a stop?

 

Use a broker order like the following:

 

 

· broker.EnterLongOnOpen( exitStop ) - Buy on the open with an optional stop price

 

· broker.EnterShortOnOpen( exitStop ) - Sell on the open with an optional stop price

 

· broker.EnterLongOnStop( entryStop, exitStop ) - Buy on a stop with an optional exit stop price

 

· broker.EnterShortOnStop( entryStop, exitStop ) - Sell on a stop with an optional exit stop price

 

· broker.EnterLongAtLimit( entryLimit, exitStop ) - Buy at the limit with an optional stop price

 

· broker.EnterShortAtLimit( entryLimit, exitStop ) - Sell at the given limit with an optional stop price

Edited by SIUYA

Share this post


Link to post
Share on other sites
sorry if this has been said before - or if it seems obvious....

In order to be able to trade intra day you must have the correct intra day data. (Ideally down to the tick data)

Unfortunately the systems dont have a measure to be able to buy within a bar unless you can further subdivide the bar you are working on into smaller time frame bars.

you need to be able to see the sequence of trades that make up the bar. ie; which came first the high, or the low.

(I used MC for a while and initially missed this point myself when first looking at it). The only other way to do it is via a fudge.

 

with MultiCharts,

you can use 2 data streams to backtest your strategy.

 

e.g.

use a 5 min chart with a tick data stream

 

use a 5min chart as you would normally do,

so that all the signals are based on the 5 min bar intervals.

with precision backtesting, MultiCharts can read your tick data

and execute trades based on the tick price actions within that 5 min bar.

 

you should read up on the above manual links for more detail and instruction.

Share this post


Link to post
Share on other sites
with MultiCharts,

you can use 2 data streams to backtest your strategy.

 

e.g.

use a 5 min chart with a tick data stream

 

use a 5min chart as you would normally do,

so that all the signals are based on the 5 min bar intervals.

with precision backtesting, MultiCharts can read your tick data

and execute trades based on the tick price actions within that 5 min bar.

 

you should read up on the above manual links for more detail and instruction.

 

yes gone through this sir, and yet my question is same, how it helps me to code how to execute order at specific custom defined value in backtester? tried to use blow fish's approach but it gave wrong entry and exit points. Can some one make real code and post, like this is the way to do this, otherwise started believing MC has this obvious flaw for backtesting intraday methods, there might be some work around but that basic function suppose to be there for easy & frequent use .

Share this post


Link to post
Share on other sites
yes gone through this sir, and yet my question is same, how it helps me to code how to execute order at specific custom defined value in backtester? tried to use blow fish's approach but it gave wrong entry and exit points. Can some one make real code and post, like this is the way to do this, otherwise started believing MC has this obvious flaw for backtesting intraday methods, there might be some work around but that basic function suppose to be there for easy & frequent use .

 

ok, so you recognized the problem is not with MultiCharts, but with your programming code?

 

There are lots of coding resources at the Multicharts website.

Share this post


Link to post
Share on other sites
ok, so you recognized the problem is not with MultiCharts, but with your programming code?

 

There are lots of coding resources at the Multicharts website.

 

well its not that i am research shy person n looking for spoon feeding, i am just looking for direct answer how its coded in MC order type at specific value ? the simplest arrangement with any software, if MC doesnt provide then i believe partial problem is with MC not in coding, furthermore my question is still not answered here & dont see whats the point fingerpointing here n there.

Share this post


Link to post
Share on other sites
well its not that i am research shy person n looking for spoon feeding, i am just looking for direct answer how its coded in MC order type at specific value ? the simplest arrangement with any software, if MC doesnt provide then i believe partial problem is with MC not in coding, furthermore my question is still not answered here & dont see whats the point fingerpointing here n there.

 

 

Jabbing in a software thread with a coding problem is not going to lead to an answer you are looking for.

 

If you want specific help,

you should start a new thread,

with your "problem" clearly and logically laid out.

 

Blaming your inability on MultiCharts will not motivate anybody to enlighten you.

 

 

note: EasyLanguage has been around a lot longer than you.

Share this post


Link to post
Share on other sites

Oh just remember that i suppose to post here about the solution about my issue, its bar magnifier in multichart backtestin properties which need to be enable & you get your entry NEAR ABOUT YOUR STOP VALUE but not exact at the given stop value if you are unlucky enough to not to have tick data for past few years( just few mb to GB of data ) within the bar even if you say buy next bar at market in easy lang. Sorry for my ignorance as i just shifted to easy lang from investor rt, getting use to the platform now.

Edited by alex_laxya

Share this post


Link to post
Share on other sites

By the way this is biggest draw back of easy lang when it comes to back test scalp strategies which some times enter and exit within one minute in high beta stocks. You must have tick data to back test & which is very impractical if you intend to test on 5 years of data( which is must for robust backtesting). Quantitative strategies are difficult to test for sure. Nothing against any platform, still MC is way better than investor rt, since it provides lot of freedom, at the end of day its part of the package. Talking in perspective of back testing issuers nothing about coding.

Share this post


Link to post
Share on other sites
By the way this is biggest draw back of easy lang when it comes to back test scalp strategies which some times enter and exit within one minute in high beta stocks. You must have tick data to back test & which is very impractical if you intend to test on 5 years of data( which is must for robust backtesting). Quantitative strategies are difficult to test for sure. Nothing against any platform, still MC is way better than investor rt, since it provides lot of freedom, at the end of day its part of the package. Talking in perspective of back testing issuers nothing about coding.

 

let me get this straight...

 

you want to have accurate backtesting... so you got yourself some tick data,

good boy.

 

now you are complaining that it is taking you toooooo frick'n loooong

to run your 5 years of tick data? LOL

 

Maybe I can loan you my Cray?

 

I bet you are going to complain about the trouble it takes to count the millions of dollars

when your backtest became successful.

 

 

keep your chin up... you might get there, eventually. ;-)

Share this post


Link to post
Share on other sites

just a few notes on backtesting:

 

1. Backtesting is not real. Don't treat it as gospel.

 

2. Understanding the mechanics (spells: L-I-M-I-T-A-T-I-O-N) of backtesting will save you lots of headache.

 

3. different software handle backtesting differently... don't assume.

 

4. backtesting is to test a trading hypothesis, not validating trading codes.

for code validation, you need live testing.

(or forward testing at the minimal)

 

5. ideally you should test your "system' on at least 3 "business" cycles of data.

ie: 3 up moves and 3 down moves.

for some systems, that means 3 bull runs and 3 bear runs,

for other systems, it might mean 3 years of data.

for scalping, that means 3 intraday oscillations.

 

 

Backtest is fun !

Enjoy it to the fullest.

Edited by Tams

Share this post


Link to post
Share on other sites

great summary on backtesting TAMS.

it is not as easy (as some folks make it out to be).

One of the other key elements to backtesting is making sure you have clean accurate data. This in itself is an extremely important and large job. (Hint: relying on purchased or especially free data is not all there is).

If you are testing on inaccurate data, then you may as well be testing using random data.

(which still has some value in itself)

Share this post


Link to post
Share on other sites
let me get this straight...

 

you want to have accurate backtesting... so you got yourself some tick data,

good boy.

 

now you are complaining that it is taking you toooooo frick'n loooong

to run your 5 years of tick data? LOL

 

Maybe I can loan you my Cray?

 

I bet you are going to complain about the trouble it takes to count the millions of dollars

when your backtest became successful.

 

 

keep your chin up... you might get there, eventually. ;-)

 

well i dont have any intensions discussing about personal stuff, whether i would get there or not or may be i am already there, platform is new for me thats why i raised few basic questions ( & yes problem wasn't about coding ) that doesnt necessarily mean i am a noob who might need basic stuff about what back-testing is, if one really tested 5 years tick data then only can realise how impractical it is or what i am talking about, thats the issue arguing with paper traders lol yes we are mature enough not to rely much on back testing results even after using montecarlo sim & other advance approach.. rofl..its funny when some one stubborn about platform only cuz he/she spend few agonising years to learn the language, i dont have issues learnin c# now if platform doesnt fits in to my skim of things, i wont curve fit the platform by adding extra sleepage only 'cuz it fail to give me accurate entry, have a chill pill sit back & relax like a good kid, i am not talking about scalp alone, quant models cant be back-tested as simple as few statistical arbitrage say pair trading in MultiChart/TS. P. S. No further replies from my end as my issue has been solved.

Edited by alex_laxya

Share this post


Link to post
Share on other sites

oooh you want to do quant... brilliant

C# is powerful and flexible, it can do many things EasyLanguage cannot, (and vise versa)

I am sure C# is good for you.

Take a picture of your hair before you start.

Edited by Tams

Share this post


Link to post
Share on other sites

I've spent the last 6 months with a student version of Matlab trying to learn it and have finally given up and just going with R.

Matlab seems to update too frequently that the online examples of certain things are just a huge cluster fuck. You end up spending more time debugging examples than learning anything concept wise.

R just always seems to work, and if something is broken it points you to how to fix it.

Python has some cool stuff but I don't see why you would bother learning Python over R for this game unless you are already a very good Python programmer.

Even if you are a good programmer in a more traditional language, the value of something like R is that the algorithms have already been gone over with a fine tooth comb for you. Probably 10 guys who know the language better than you and 10 guys who are vastly better at algorithm analysis than you have already added their 2 cents for free. If you find something then you can just spend your time debugging the translation of the algorithm itself to a more efficient execution strategy, not that R doesn't have some nice parallel processing features though for brute force analysis. Good luck starting from nothing with a C variant..

As far as retail backtesting software, its all utter garbage. Its not rational to expect it to ever get better than garbage if aimed at retail trading given the failure rate. The focus will always be on the lowest common denominator in order to stay in business.

Edited by natedredd10

Share this post


Link to post
Share on other sites
I've spent the last 6 months with a student version of Matlab trying to learn it and have finally given up and just going with R.

Matlab seems to update too frequently that the online examples of certain things are just a huge cluster fuck. You end up spending more time debugging examples than learning anything concept wise.

R just always seems to work, and if something is broken it points you to how to fix it.

Python has some cool stuff but I don't see why you would bother learning Python over R for this game unless you are already a very good Python programmer.

Even if you are a good programmer in a more traditional language, the value of something like R is that the algorithms have already been gone over with a fine tooth comb for you. Probably 10 guys who know the language better than you and 10 guys who are vastly better at algorithm analysis than you have already added their 2 cents for free. If you find something then you can just spend your time debugging the translation of the algorithm itself to a more efficient execution strategy, not that R doesn't have some nice parallel processing features though for brute force analysis. Good luck starting from nothing with a C variant..

As far as retail backtesting software, its all utter garbage. Its not rational to expect it to ever get better than garbage if aimed at retail trading given the failure rate. The focus will always be on the lowest common denominator in order to stay in business.

 

Very rightly said. Heard lot of good things about R from few of my friends.

Share this post


Link to post
Share on other sites

I personally, use Tradestation. I have used it to backtest strategies and it is crap for that. It is not accurate. Fills, spreads, all pie in the sky. What you can use it for well is to manually backtest and then forward test. I am sure there are many other programs that work well. I think the key is historical data for your backtest. If you want to go back years then you need to find something that will run an auto strategy, but I don't think TS is the answer there.

For me I like to test 6 months back and the forward test live for a month. If it is working I will know by then. I can factor in news and other events, just as I would in the market.

Share this post


Link to post
Share on other sites
I personally, use Tradestation. I have used it to backtest strategies and it is crap for that. It is not accurate. Fills, spreads, all pie in the sky. What you can use it for well is to manually backtest and then forward test. I am sure there are many other programs that work well. I think the key is historical data for your backtest. If you want to go back years then you need to find something that will run an auto strategy, but I don't think TS is the answer there.

For me I like to test 6 months back and the forward test live for a month. If it is working I will know by then. I can factor in news and other events, just as I would in the market.

 

have you heard of GIGO ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Why not to simply connect you account to myfxbook which will collect all this data automatically for you? The process you described looks tedious and a bit obsolete but may work for you though.
    • The big breakthrough with AI right now is “natural language computing.”   Meaning, you can speak in natural language to a computer and it can go through huge data sets, make sense out of them, and speak back to you in natural language.   That alone is a huge breakthrough.   The next leg? AI agents. Where they don’t just speak back to you.   They take action. Here’s the definition I like best: an AI agent is an autonomous system that uses tools, memory, and context to accomplish goals that require multiple steps.   Everything from simple tasks (analyzing web traffic) to more complex goals (building executive briefings or optimizing websites).   They can:   > Reason across multiple steps.   >Use tools like a real assistant (Excel spreadsheets, budgeting apps, search engines, etc.)   > Remember things.   And AI agents are not islands. They talk to other agents.   They can collaborate. Specialized agents that excel at narrow tasks can communicate and amplify one another’s strengths—whether it’s reasoning, data processing, or real-time monitoring.   What it Looks Like You wake up one morning, drink your coffee, and tell your AI agent, “I need to save $500 a month.”   It gets to work.   First, it finds all your recurring subscriptions. Turns out you’re paying $8.99 for a streaming service you forgot you had.   It cancels it. Then it calls your internet provider, negotiates a lower bill, and saves you another $40. Finally, it finds you car insurance that’s $200 cheaper per year.   What used to take you hours—digging through statements, talking to customer service reps on hold for an hour, comparing plans—is done while you’re scrolling Twitter.   Another example: one agent tracks your home maintenance needs and gets information from a local weather-monitoring agent. Result: "Rain forecast next week - should we schedule gutter cleaning now?"   Another: an AI agent will plan your vacations (“Book me a week in Italy for under $2,000”), find the cheapest flights, and sort out hotels with a view.   It’ll remind you to pay bills, schedule doctor’s appointments, and track expenses so you’re not wondering where your paycheck went every month.   The old world gave you tools—Excel spreadsheets, search engines, budgeting apps. The new world gives you agents who do the work for you.   Don’t Get Too Scared (or Excited) Yet William Gibson famously said: "The future is already here – it's just not evenly distributed."   AI agents will distribute it. For decades, the tools that billionaires and corporations used to get ahead—personal assistants, financial advisors, lawyers—were out of reach for regular people.   AI agents could change that.   BUT, remember…   We’re in inning one.   AI agents have a ways to go.   They’re imperfect. They mess up. They need more defenses to get ready for prime time.   To be sure, AI is powerful, but it’s not a miracle worker. It’s great at helping humans solve problems, but it’s not going to replace all jobs overnight.   Instead of fearing AI, think of it as a tool to A.] save you time on boring stuff and B.] amplify what you’re already good at. Right now is the BEST time to start experimenting. It’s also the best time to find investments that will “make AI work for you”. Author: Chris Campbell (AltucherConfidential)   Profits from free accurate cryptos signals: https://www.predictmag.com/     
    • What a wild year.   AI seems to be appearing everywhere you look, Paris hosted a weird Olympics, unrest continues in the Middle East, the US endured a crazy-heated election, and the largest rocket ever to fly successfully landed in a giant pair of robot arms.   Okay, but what about the $money stuff?   Well, this year we've seen a load of uncertainty - inflation is still biting and many businesses have gone down.   Property has been very fractured, with developments becoming prohibitively expensive, while other markets have boomed.   It hasn't been an easy ride, that's for sure.   However, the stock market has had some outstanding results, and for those who know how to trade, some have done VERY well for themselves.   Some have replaced their incomes. Some have set themselves up for the rest of their days on this planet.   How about you? How did you go? Author: Louise Bedford    Profits from free accurate cryptos signals: https://www.predictmag.com/  
    • U Unity Software stock watch, attempting to move higher off the 22.4 triple+ support area at https://stockconsultant.com/?U  
    • TSSI TSS stock, watch for an ascending triangle breakout above 11.49, target 15 area at https://stockconsultant.com/?TSSI
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.