RSI laguerre

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #29492 quote
    owes29
    Participant
    New

    Hi

    I’m new to the site and also new to Prorealtime, I was wondering if someone could help me code. the attached indicators, that I have used on an alternative platform. I found something similar on the site.

    Laguerre ROC (Rate Of Change)

    Any help would be much appreciated

    kind regards

    Lee

    #29546 quote
    Nicolas
    Keymaster
    Master

    Do you have screenshots please? The code you provided contains 2 different indicators code, I’d like first to see how they are rendering on a price chart. Thank you.

    #29580 quote
    owes29
    Participant
    New

    Hi Nicolas,

    Thankyou for the reply, I have attached a screen shot of the indicator on a price chart.

    thanks again

    lee

    #29622 quote
    Nicolas
    Keymaster
    Master

    I found this code in an old french forum about Laguerre RSI (for reference purpose, yours is different and I’ll translate it later)

    //Laguerre RSI
    gamma=0.7
    
    pr=medianprice
    once l0=pr
    once l1=pr
    once l2=pr
    once l3=pr
    once rsil=undefined
    if barindex>0 then
    l0=(1-gamma)*pr+gamma*l0[1]
    l1=-gamma*l0+l0[1]+gamma*l1[1]
    l2=-gamma*l1+l1[1]+gamma*l2[1]
    l3=-gamma*l2+l2[1]+gamma*l3[1]
    cu=0
    cd=0
    if l0>=l1 then
    cu=l0-l1
    else
    cd=l1-l0
    endif
    if l1>=l2 then
    cu=cu+l1-l2
    else
    cd=cd+l2-l1
    endif
    if l2>=l3 then
    cu=cu+l2-l3
    else
    cd=cd+l3-l2
    endif
    rsil=cu/(cu+cd)
    endif
    
    return rsil,0.2,0.8

    About the ‘Projection pivot’: so it’s the dotted lines on your chart? How do you use it? I’d like to understand it a bit before doing its translation, thanks.

    #29626 quote
    Nicolas
    Keymaster
    Master

    From what platform is the original code please?

    #29674 quote
    owes29
    Participant
    New

    Hi Nicolas,

    The RSI/ fractal energy indicator was used on Think or swim platform, the RSI/fractal energy indicator is used quite effectively to find top and bottoms with quite effective entrys and exits. The pivot points I  have not used, it just something I got given that I was thinking of trying (but the pivot points are not important, i’m slowly trying to learn to code, so hopefully I will be able to read and understand and hopefully write  the code for pivot points in the near future)

    Thanks again it’s much appreciated

    Lee

    #29687 quote
    Nicolas
    Keymaster
    Master

    Honestly, converting code from think or swim to prorealtime is not a big deal. I translated successfully your laguerre RSI indicator to PRT, I’ll post code tomorrow in the Library.

    #29702 quote
    owes29
    Participant
    New

    that is brilliant, great job thankyou. I though my transition onto prorealtime was going to be painful, thankfully this forum makes it quite the opposite.

    cheers

    Lee

    #29888 quote
    Nicolas
    Keymaster
    Master

    You can now find this indicator to download in this library’s post: Laguerre RSI with dynamic gamma

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

RSI laguerre


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
owes29 @owes29 Participant
Summary

This topic contains 8 replies,
has 2 voices, and was last updated by Nicolas
8 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/22/2017
Status: Active
Attachments: No files
Logo Logo
Loading...