"RSI-DINÁMICO".Convertir de Amibroker a PRT

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #89988 quote
    Fr7Fr7
    Participant
    Master

    Hola Nicolás,a ver si puede pasar este indicador a PRT. Creo que es un indicador muy interesante que ojalá tengamos en PRT. Gracias.

    DESCRIPCIÓN:

    Un RSI agradable y suave que se adapta dinámicamente a los niveles de precios

     

     

     

    // Downloaded From www.WiseStockTrader.com
    // AFL for Dynamic RSI
    //============================================================
    _SECTION_BEGIN("Dynamic RSI");
    
    DZbuy = Param("Buy Zone Probability",0.1,0.1,0.5,0.1);
    DZsell = Param("Sell Zone Probability",0.1,0.1,0.5,0.1);
    Period = Param("Period", 14, 2, 30, 1);
    
    Lb = Param("LookBack Period",60,40,120,1);
    RSILine = RSI(Period);
    jh = HHV(RSILine,Lb);
    jl = LLV(RSILine,Lb);
    jc = (WMA((jh-jl),Period)*0.50)+WMA(jl,Period);
    Hiline = jh-jc*DZbuy;
    Loline = jl+jc*DZsell;
    //midline = (jh-jl)/2;
    Plot(HiLine,"",colorDarkRed, styleThick| styleDashed);
    Plot(LoLine,"",colorDarkRed, styleDashed|styleThick);
    Plot(jc,    "",colorGrey40,   styleDashed|styleThick);
    
    R =  ( 4 * RSILine + 3 * Ref(RSILine,-1) + 2 * Ref(RSILine,-2) + Ref(RSILine,-3) ) / 10;
    Plot(R,"",IIf(R>jc,colorLime,colorRed),styleThick);
    kh = IIf(R>Hiline, R,Hiline);
    PlotOHLC( kh,kh,Hiline,Hiline, "", IIf(R>HiLine,colorLime,colorBlack), styleCloud );
    kl = IIf(R <Loline, R,Loline);
    PlotOHLC( Loline,Loline,kl,kl, "", IIf(R<HiLine,colorRed,colorBlack), styleCloud );
    Title = Name() + "- Floating Level RSI V1.0(" + WriteVal(period, 1.0) + ")";
    RSI-DINÁMICO.png RSI-DINÁMICO.png
    #90033 quote
    NicolasNicolas
    Keymaster
    Legend

    El indicador RSI dinámico es un tipo de RSI exponencial. Los niveles de sobrecompra y sobreventa (respectivamente, HiLine y LoLine) se calculan de acuerdo con los valores más altos y más bajos de la línea RSI dinámica.

    Lo convertí, puedes descargarlo aquí:

    Dynamic RSI

    dynamic-rsi-indicator-amibroker-prorealtime.png dynamic-rsi-indicator-amibroker-prorealtime.png
    #90040 quote
    Fr7Fr7
    Participant
    Master

    Muchas gracias Nicolas!!

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

"RSI-DINÁMICO".Convertir de Amibroker a PRT


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
Fr7 @fr7 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Fr7Fr7
7 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 01/29/2019
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...