Trading Strategies from Active Trader Magazine

Experimenting with Exits

Because this system uses an entry signal that can be true for several bars in a row, MetaStock version prior to 8.0 can not accurately count how long the trade has been active. Therefore, the formulas for this system are only valid in the MetaStock 8.0 and later. To create the system test, open the tester under the Tools menu. Select new test and enter the following formulas in for the specific orders.

Buy Order:

Sell Order:
x:= Simulation.CurrentPositionAge;