Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
Chung Nguyen  
#1 Posted : Wednesday, July 13, 2011 11:04:56 AM(UTC)
Chung Nguyen

Rank: Newbie

Groups: Registered, Registered Users
Joined: 12/20/2009(UTC)
Posts: 6

Hi all, I have coded some indicators in meta. And I want to do a testing to know how to it work. But I don't really know how to set up a back testing. Pls help me to solve this issue TQ
MS Support  
#2 Posted : Monday, July 18, 2011 4:29:40 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,098

Thanks: 20 times
Was thanked: 91 time(s) in 88 post(s)
To write a system test, you must first answer several questions:

1) Will this system do only Long positions, only Short positions, or Both?

2) What events will trigger the trade entry and exit signals ?

3) Will this system all more than one trade to be active at once? If so, can both Long and short positions be open at the same time?

Other questions may arise as the system in being written, but these are a good place to start.

After you have your answers to these questions, formulas have to be written to discribe the signal you chose. It sometimes helps to write the signal formulas as custom indicators so you can see on a chart where the signals will occur.

Once the signal formulas are correct, you are ready to create the system test:

1 - In MetaStock, go to Tools -> Enhanced System Tester
2 - Click New
3 - on the General tab, enter a name for the system
4 - if the system will allow multiple trades to be active at once, set the maximum number of trades at the bottom of the General tab
5 - if the system will allow both long and short trades to be active at the same time, set the portfolio bias to multiple.
6 - on the next four tabs, enter the Entry and Exit signal formulas you already created. If the system will only trade Longs, or only trade Shorts, you only have two formulas to enter, otherwise, you will be entering four.
7 - click ok to close the system editor.

some systems may require the use of some of the other settings, but the above steps are generally all that is required.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.