ConnorsRSI

Viewing 3 posts - 1 through 3 (of 3 total)
  • #10725

    A request that was addressed to ProRealTime:

    I have a function ConnorsRSI and would like to convert to ProRealCode

    Function:
    paramLenRSI = Param(“RSI Closes Length”, 3, 2, 100, 1);
    paramLenUD = Param(“RSI UpClose Length”, 2, 2, 100, 1);
    paramLenRank = Param(“PerecentRank Length”, 100, 10, 200, 1);

    function ConnorsRSI(lenRSI, lenUD, lenROC)
    {
    upDays = BarsSince(C <= Ref(C,-1));
    downDays = BarsSince(C >= Ref(C,-1));
    updownDays = IIf(upDays > 0, upDays, IIf(downDays > 0, -downDays, 0));
    crsi = ( PercentRank(ROC(C,1), lenROC) + RSIa(updownDays,lenUD) +
    RSI(lenRSI))/3;
    return crsi;
    }

    Can you help me?

    Suggestion for an anwser:

     

    #10760

    On peut rajouter les lignes de surachat / survente préconisées par Larry Connors de 10/90  en plus des traditionnelles 30/70 pour un RSI.

    #70352

    Hi, see below an update to the ConnersRSI version. The MyROC calculation above misses a component. Looking at several sources, the ROC of the current bar needs to be compared to each ROC of each bar in x-period (100 for connors).

    1 user thanked author for this post.
Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login