Customer Service
Technical Support
Trading Resources
Custom Formula Collection
Formula Primer
MetaStock Forum
MetaStock Monitor Newsletter
MetaStock User Groups
Online User Group
Technical Analysis from A to Z
Traders' Tips from TASC Magazine
Trading Strategies from Active Trader Magazine
Online Training

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:
h>ref(hhv(h,55),-1)

Sell Order:
x:= Simulation.CurrentPositionAge;
l<ref(llv(l,55),-1)*((0.1*ATR(20))*x)

Return to article list

Products Support Events Community Partners About