Announcement

Collapse
No announcement yet.

StoRSI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • StoRSI

    Dear sirs,

    I want to create this new StoRSI in Esignal.

    Here's the exact definition :





    PR:=Input("Value 1",2,100,21); {PR variable is 21 by default}

    PS:=Input("Value 2",2,100,13); {PS is 13}

    SV:=Input("Value 3",2,100,8); {SV is 8}

    SN:=Input("Value 4",2,100,8); {SN is 8}

    StoRsi:=(Sum( RSI(PR)-LLV( RSI(PR), PS), SV ) / Sum( HHV( RSI(PR), PS )-LLV( RSI(PR), PS), SV ))*100;


    Senal:=Mov(StoRsi,SN,S); {simple moving average of the StoRSI with a "SN" period...SN =8 by default)

    TB:=Input("Top Band",50,100,80); {80 defaut};

    BB:=Input("Bottom Band",0,50,20);

    StoRsi; {Plot StoRSI}

    Senal; {Plot Senal}

    TB; {Plot TB}

    BB; {Plot BB}


    Kind regards,

    pbereau

  • #2
    The code is a Metastock code i created myself.

    Comment


    • #3
      HHV: Highest High Value (variable, n periods)

      LLV: Lowest Low Value (variable, n periods)

      Comment


      • #4
        pbereau
        See the StochasticOf_Montage.efs in this thread. It will also compute the Stochastic of RSI
        The image below shows StochasticOf_Montage set to use the RSI as the source with your settings
        Alex

        Comment


        • #5
          Hi Alex

          Oh yes...i have difficulties to find the .efs file.

          Yes...i find it !! thanks again for your help and your time !

          Have a good week-end !

          Philippe

          Comment

          Working...
          X