Announcement

Collapse
No announcement yet.

Connors RSI

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

  • Connors RSI

    Hallo

    Can anyone assist me in creating/translating the "Connors RSI" study. Down below is the Metastock formula:

    Kind regards

    Gotan4711


    data:=CLOSE;

    lenRSI:=3;
    lenStreak:=2;
    lenPctRank:=100;

    WildersRSI:=RSI(data, lenRSI);

    ch:=ROC(data,1,%);

    up:=BarsSince(ch<=0);
    dn:=BarsSince(ch>=0);
    StreakRSI:=RSI(up-dn, lenStreak);

    count:=Sum(ch<LastValue(ch+PREV*0),lenPctRank);
    PctRank:=100 * count / lenPctRank;

    ConnorsRSI:=(WildersRSI + StreakRSI + PctRank) / 3;

    {plot}
    ConnorsRSI;
Working...
X