Error

 Previous Topic Next Topic
 MS Support #1 Posted : Wednesday, January 26, 2011 4:21:42 PM(UTC) Rank: Advanced MemberGroups: Moderators, Registered, Registered Users, SubscribersJoined: 10/8/2010(UTC)Posts: 1,621Thanks: 51 timesWas thanked: 130 time(s) in 126 post(s) The article “The Vortex Indicator” introduces a new indicator and a suggested trading method. Both can be added to MetaStock with the formulas listed below. I split the indicator into two separate formulas to make it easier to color them correctly. To enter these indicators into MetaStock: Tools menu, select New to open the Indicator Editor for a new indicator.tp:= Input("time periods",1,100,14); Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp) Ok to close the Indicator Editor. New to open the Indicator Editor for a new indicator. tp:= Input("time periods",1,100,14); Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp) Ok to close the Indicator Editor.Ok to close Indicator Builder Tools > the NewBuy Order tab and enter the following formula. tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); bset:=cross(vip,vim); cross(h,valuewhen(1,bset,h)) Order Type to Limit or Stop Price and enter the following formula: tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); bset:=cross(vip,vim); valuewhen(1,bset,h) Sell Order tab and enter the following formula. tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); sset:=cross(vim,vip); cross(valuewhen(1,sset,L),L) Order Type to Limit or Stop Price and enter the following formula tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); sset:=cross(vim,vip); valuewhen(1,sset,L) Sell Short Order tab and enter the following formula. tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); sset:=cross(vim,vip); cross(valuewhen(1,sset,L),L) Order Type to Limit or Stop Price and enter the following formula: tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); sset:=cross(vim,vip); valuewhen(1,sset,L) Buy to Cover Order tab and enter the following formula. tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); bset:=cross(vip,vim); cross(h,valuewhen(1,bset,h)) Order Type to Limit or Stop Price and enter the following formula tp:= 14; vip:=Sum(Abs(H-Ref(L,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); vim:=Sum(Abs(L-Ref(H,-1)),tp)/ Sum(Max(H,Ref(C,-1))-Min(L,Ref(C,-1)),tp); bset:=cross(vip,vim); valuewhen(1,bset,h) OK to close the system editor. William GolsonMetaStock Support
 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.