Clive
17th December 2011, 07:29 AM
Have had Tradesim for a while and now want to use it with Metastock V10. I am not that familiar with the MS language as am coming from Tradestation which I have a good understanding of.
1. What I need to know if it is possible to reference another security to determine if a trade can be entered. EG To use the XJO as a filter, say not in a downtrend, before entering a trade. Coming from Tradestation this is very easy to do by just inserting another data stream in the chart eg a 90 day MA of close of data2 is greater than a 90 day MA of close data2 30 days ago then whatever entry condition. This is simply written as
If average(c data2,90) >= average(c data2,90)[30] and c < c[1] then buy next open;{wording of data1 is not needed}
How would I do this in Tradesim/Metastock – Please be gentle I have not yet got my head around the MS language!
2. When running a Tradesim test on a portfolio of stocks, say the ASX 200, how would I set it up so that I am not using the increasing (hopefully) available capital/equity to determine number of shares to trade but only using the initial staring equity only. Yes I do understand what I am asking and no I do not have the capability to do Monte C test with my version of Tradesim.
1. What I need to know if it is possible to reference another security to determine if a trade can be entered. EG To use the XJO as a filter, say not in a downtrend, before entering a trade. Coming from Tradestation this is very easy to do by just inserting another data stream in the chart eg a 90 day MA of close of data2 is greater than a 90 day MA of close data2 30 days ago then whatever entry condition. This is simply written as
If average(c data2,90) >= average(c data2,90)[30] and c < c[1] then buy next open;{wording of data1 is not needed}
How would I do this in Tradesim/Metastock – Please be gentle I have not yet got my head around the MS language!
2. When running a Tradesim test on a portfolio of stocks, say the ASX 200, how would I set it up so that I am not using the increasing (hopefully) available capital/equity to determine number of shares to trade but only using the initial staring equity only. Yes I do understand what I am asking and no I do not have the capability to do Monte C test with my version of Tradesim.