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

    • Date: 29th March 2024. GBPUSD Analysis: The Pound Trades Higher But For How Long? The global Stocks Markets are closed due to Easter Friday (Good Friday). The NASDAQ continued to follow the sideways trend while other indices again rose. The SNP500 reaches an all-time high, but the NASDAQ remains under pressure from Tesla, Meta and Apple. The Euro continues to trade lower against all major currencies including the US Dollar, Euro and Japanese Yen. The British Pound is the best performing currency during this morning’s Asian session. However, investors are largely fixing their attention on this afternoon’s Core PCE Price Index. GBPUSD – The Pound Trades Higher but For How Long? The GBPUSD is slightly higher than the day’s open and is primary due to the Pound’s strong performance. At the moment, the British Pound is increasing in value against all major currencies. However, the US Dollar Index is also trading 0.10% higher and for this reason there is a slight conflict here. If investors wish to avoid this conflict, the EURUSD is a better option. This is because, the Euro depreciating against the whole currency market avoiding the “tug-of-war” scenario. The GBPUSD is trading slightly lower than the 2-month’s average price and is trading at 49.10 on the RSI. For this reason, the price of the exchange is at a “neutral” level and is signalling neither a buy nor a sell. The day’s price action and future signals are possibly likely to be triggered by this afternoon’s Core PCE Price Index. Analysts expect the Core PCE Price Index to read 0.3% which is slightly lower than the previous month but will result in the annual figure remaining at 2.85%. The PCE rate is different to the inflation rate and the Fed aims for a rate between 1.5% to 2.00%. Therefore, even if the annual rate remains at 2.85%, as analysts expect, it would be too high for the Fed. If the rate increases, even if only slightly, the US Dollar can again renew bullish momentum and the stock market can come under pressure. This includes the SNP500. Investors are focused on the publication of data on the UK’s gross domestic product (GDP) for the last quarter of 2023: the quarterly figures decreased by 0.3%, and 0.2% over the past 12-months. This confirms the state of a shallow recession and the need for stimulation. The data, combined with a cooling labor market and a steady decline in inflation, increase the likelihood that the Bank of England will soon begin interest rate cuts. In the latest meeting the Bank of England representatives did not see any members vote for a hike. USA500 – The SNP500 Rises to New Highs, But Cannot Hold Onto Gains! The price of the SNP500 rises to an all-time high, before correcting 0.33% and ending the day slightly lower than the open price. Nonetheless, the index performs better than the NASDAQ which came under pressure from Tesla, Meta and Apple which hold a higher weight compared to the SNP500. For the SNP500, these 3 stocks hold a weight of 9.25%, whereas the 3 stocks make up 14.63% of the NASDAQ. The SNP500 is also supported by ExxonMobil’s gains due to higher energy prices. The market will remain closed on Friday due to Easter. However, the market will reopen on Monday for the US and investors can expect high volatility. Investors will also need to take into consideration how the PCE Price Index and the changed value of the US Dollar is likely to affect the stock market next week. Always trade with strict risk management. Your capital is the single most important aspect of your trading business. Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HFM Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Michalis Efthymiou Market Analyst HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • MT4 is good and will be good until their parent company keep updating the software, later mt4 users will have to switch to mt5.
    • $SOUN SoundHound AI stock at 5.91 support area , see https://stockconsultant.com/?SOUN
    • $ELEV Elevation Oncology stock bull flag breakout watch , see https://stockconsultant.com/?ELEV
    • $AVDX AvidXchange stock narrow range breakout watch above 13.32 , see https://stockconsultant.com/?AVDX
×
×
  • Create New...

Important Information

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