Error

 Previous Topic Next Topic
 MS Support #1 Posted : Wednesday, January 26, 2011 4:17:16 PM(UTC) Rank: Advanced MemberGroups: Moderators, Registered, Registered Users, SubscribersJoined: 10/8/2010(UTC)Posts: 1,949Thanks: 89 timesWas thanked: 155 time(s) in 150 post(s) Lee Leibfarth’s article, “Premier Stochastic Oscillator” describes the calculation of his new indicator and a system using it. The MetaStock formulas and instructions for adding these to MetaStock are: To enter the indicators into MetaStock: In the Tools menu, select Indicator Builder. Click New to open the Indicator Editor for a new indicator. Type the name of the formula: Premier Stochastic Click in the larger window and type in the formula: x:=Input("stochastic length",2,25,8); y:=Input("periods",1,100,25); len:=LastValue(Sqrt(y)); nsto:= 0.1 * (Stoch(x,1)-50); ssto:=Mov( Mov( nsto, len, E), len, E); (Exp(ssto)-1)/(Exp(ssto)+1) Click Ok to close the Indicator Editor. To create the system: Select Tools > the Enhanced System Tester. Click New Enter a name, “Premier Stochastic Strategy” Select the Buy Order tab and enter the following formula. x:=8; y:=25; len:=LastValue(Sqrt(y)); nsto:= 0.1 * (Stoch(x,1)-50); ssto:=Mov( Mov( nsto, len, E), len, E); psto:=(Exp(ssto)-1)/(Exp(ssto)+1); Cross(.9, psto) OR Cross(.2, psto) Select the Sell Order tab and enter the following formula. x:=8; y:=25; len:=LastValue(Sqrt(y)); nsto:= 0.1 * (Stoch(x,1)-50); ssto:=Mov( Mov( nsto, len, E), len, E); psto:=(Exp(ssto)-1)/(Exp(ssto)+1); Cross(psto,-0.9) OR Cross(psto,-0.2) Select the Sell Short Order tab and enter the following formula. x:=8; y:=25; len:=LastValue(Sqrt(y)); nsto:= 0.1 * (Stoch(x,1)-50); ssto:=Mov( Mov( nsto, len, E), len, E); psto:=(Exp(ssto)-1)/(Exp(ssto)+1); Cross(psto,-0.9) OR Cross(psto,-0.2) Select the Buy to Cover Order tab and enter the following formula. x:=8; y:=25; len:=LastValue(Sqrt(y)); nsto:= 0.1 * (Stoch(x,1)-50); ssto:=Mov( Mov( nsto, len, E), len, E); psto:=(Exp(ssto)-1)/(Exp(ssto)+1); Cross(.9, psto) OR Cross(.2, psto) Click OK to close the system editor. William GolsonMetaStock
 Wanna join the discussion?! Login to your Discussions forum accountor Register a new forum account.
 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.