### Triple Screen SMA System p44

While the entry and exit signals can be used in MetaStock 6.52 or later, this system requires at least MetaStock 8.0 to set the correct trade size. To create this system:

• Select the Enhanced System tester from the Tools menu
• Click New
• Enter the name of the system
• Select the Buy Order tab and enter the following formula:

bc:=Mov(C,200,S)>Ref(Mov(C,200,S),-10) AND
Mov(C,100,S)>Ref(Mov(C,100,S),-10) AND
Cross(Mov(C,15,S),L);
sc:=Mov(C,100,S)<Ref(Mov(C,100,S),-10);
If(L<=(PREV*0.98),-.003,
If(H>=(PREV*1.05),-.002,
If(sc,-.001 ,PREV))));

• Set the order type to Stop Limit
• Enter the following formula for the Limit or Stop Price:

ref(h,-1)+0.01

• Set the enter size dropdown to "% of available equity"
• Click the italics f to the right of the space for the entry size
• In the window that appears, enter the following formula:

equity:=Simulation.AccountCash+Simulation.AccountBorrowed+
Simulation.PortfolioValue+Simulation.AccountReserved;
(equity*.02)/(c*.02)

• Select the Sell Order tab and enter this formula:

bc:=Mov(C,200,S)>Ref(Mov(C,200,S),-10) AND
Mov(C,100,S)>Ref(Mov(C,100,S),-10) AND
Cross(Mov(C,15,S),L);
sc:=Mov(C,100,S)<Ref(Mov(C,100,S),-10);
If(L<=(PREV*0.98),-.003,
If(H>=(PREV*1.05),-.002,
If(sc,-.001 ,PREV))));

• Set the order type to "Stop Limit"
• Click the italics f to the right of the space for the Limit or Stop Price
• In the window that appears, enter the following formula:

bc:=Mov(C,200,S)>Ref(Mov(C,200,S),-10) AND
Mov(C,100,S)>Ref(Mov(C,100,S),-10) AND
Cross(Mov(C,15,S),L);
sc:=Mov(C,100,S)<Ref(Mov(C,100,S),-10);
If(L<=(PREV*0.98),-.003,
If(H>=(PREV*1.05),-.002,
If(sc,-.001 ,PREV))));

• Select the Sell Short Order tab and enter the following formula:

sc:=mov(c,200,s)<ref(mov(c,200,s),-10) AND
mov(c,100,s)<ref(mov(c,100,s),-10) AND
cross(h,mov(c,15,s));
bc:=(mov(c,100,s)>ref(mov(c,100,s),-10));
If(H>=(PREV*1.02),-.003,
If(L<=(PREV*0.95),-.002,
If(bc,-.001 ,PREV))));

• Set the order type to Stop Limit
• Enter the following formula for the Limit or Stop Price:

ref(L,-1)-0.01

• Set the enter size dropdown to "% of available equity"
• Click the italics f to the right of the space for the entry size
• In the window that appears, enter the following formula:

equity:=Simulation.AccountCash+Simulation.AccountBorrowed+
Simulation.PortfolioValue+Simulation.AccountReserved;
(equity*.02)/(c*.02)

• Select the Buy to Cover Order tab and enter this formula:

sc:=mov(c,200,s)<ref(mov(c,200,s),-10) AND
mov(c,100,s)<ref(mov(c,100,s),-10) AND
cross(h,mov(c,15,s));
bc:=(mov(c,100,s)>ref(mov(c,100,s),-10));
If(H>=(PREV*1.02),-.003,
If(L<=(PREV*0.95),-.002,
If(bc,-.001 ,PREV))));

• Set the order type to Stop Limit
• Click the italics f to the right of the space for the entry size
• In the window that appears, enter the following formula:

sc:=mov(c,200,s)<ref(mov(c,200,s),-10) AND
mov(c,100,s)<ref(mov(c,100,s),-10) AND