Conversion Bin RSI TradingView

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #84667 quote
    PlscapPlscap
    Participant
    Veteran

    Bonjour à tous,

    Est ce que l’un de vous aurait la possible de faire la conversion d’un RSI provenant de la plateforme Tradingview en ITF pour PRT.

    Merci par avance 🙂

    //@version=3
    study("Bin RSI", overlay=false)
    
    ifisher(src, len) =>
        hi = highest(src, len)
        lo = lowest(src, len)
        value0 = 0.0, ifisher = 0.0
        value0 := .66 * ((src - lo) / max(hi - lo, .001) - .5) + .67 * nz(value0[1])
        value1 = value0 > .99 ? .999 : value0 < -.99 ? -.999 : value0  //round
        ifisher := .5 * log((1 + value1) / max(1 - value1, .001)) + .5 * nz(ifisher[1])
        ifisher
        
    normalize(src, len) =>
        hi  = highest(src, len)
        lo  = lowest(src, len)
        res = (src - lo)/(hi - lo)
        
    len = input(20, title="Lookback")
    
    r = normalize(ifisher(rsi(close, len), len), 2)
    
    plot(r, linewidth=2, color=teal, transp=0)
    2018-11-12-10_14_28-Window.png 2018-11-12-10_14_28-Window.png
    #84674 quote
    NicolasNicolas
    Keymaster
    Legend

    Sauf erreur de ma part, c’est une transformation Fisher du RSI, soit la même chose que le BStrend de MT4 que tu m’as demandé de traduire récemment.

    #84675 quote
    PlscapPlscap
    Participant
    Veteran

    Bonjour Nicolas,

    Tu as certainement raison, dans ce cas pas la peine de le convertir 🙂

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

Conversion Bin RSI TradingView


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Plscap @flodefacebook Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/12/2018
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...