logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Support  
#1 Posted : Wednesday, August 22, 2012 4:39:18 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,960

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)

Walid Khalil’s article, “Sentiment Zone Oscillator” introduced his indicator of the same name. Below are the steps to make one indicator that plots both the SZO and the OB/OS levels:

  1. Tools menu, select New to open the Indicator Editor for a new indicator.
  2. Period:= Input("Y",2,200,14);

    lperiod:= 30;

    pcent:= 95;

    R:= If(C>Ref(C,-1),1,-1);

    SP:= Tema(r,period);

    SZO:= 100*(SP/period);

    hlp:= HHV(szo, lperiod);

    llp:= LLV(szo, lperiod);

    prange:= (hlp-llp)*(pcent/100);

    ob:= llp+prange;

    OS:= hlp-prange;

    SZO;

    OB;

    OS

    1. Ok to close the Indicator Editor.
    1. Ok to close the Indicator Editor.
    2. Ok to close the Indicator Builder.

    The system test for the SZO can be made as follows:

    1. Tools > the New
    2. Buy Order tab and enter the following formula.

    Period:= 14;

    lperiod:= 30;

    pcent:= 95;

    R:= If(C>Ref(C,-1),1,-1);

    SP:= Tema(r,period);

    SZO:= 100*(SP/period);

    hlp:= HHV(szo, lperiod);

    llp:= LLV(szo, lperiod);

    prange:= (hlp-llp)*(pcent/100);

    ob:= llp+prange;

    OS:= hlp-prange;

    con1:= C > Mov(C,60,E) AND

    Cross(Mov(szo,30,S),0);

    con2:= C > Mov(C,60,E) AND

    ROC(Mov(szo,30,S),1,$)>0 AND

    szo < os;

    con3:= Cross(SZO, os) AND

    Mov(szo,30,S)>0 AND

    ROC(Mov(C,60,E),1,$)>0;

    con1 OR con2 OR con3

    1. Sell Order tab and enter the following formula.

    Period:= 14;

    R:= If(C>Ref(C,-1),1,-1);

    SP:= Tema(r,period);

    SZO:= 100*(SP/period);

    Cross(0,SZO) OR

    (Cross(7,SZO) AND

    Mov(szo,30,S)<0)

    1. OK to close the system editor.

jayanthkrovi  
#2 Posted : Thursday, August 23, 2012 5:47:25 AM(UTC)
jayanthkrovi

Rank: Newbie

Groups: Registered, Registered Users
Joined: 8/23/2012(UTC)
Posts: 2

thanq
Users browsing this topic
Guest (Hidden)
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.