Conversion d’un indicateur OBV du logiciel TradingView

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #248391 quote
    falco44falco44
    Participant
    Average

    Bonjour,
    Est-il possible de traduire ce code issu de TradingView pour l’integrer sur prorealtime ?

    Code source :

    src = close
    OBV = cum(sign(change(src)) * volume)
    //Oscillator is calculated
    OUT = ema(((OBV-ema(OBV,N1)) / (0.015 * ema(abs(OBV-ema(OBV,N1)),N1))), N2)

    Merci

    #248400 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Bonjour. Pour la prochaine fois, il serait bien de partager une image de l’indicateur et bien sûr, le code complet.
    Je vous transmets ce que je comprends être l’indicateur :

    src = close
    N1=20
    N2=60
    
    myobv=OBV(src)
    
    src1=abs(myobv-exponentialaverage[N1](myobv))
    src2=(myobv-exponentialaverage[N1](myobv))/(0.015*exponentialaverage[N1](src1))
    out=exponentialaverage[N2](src2)
    
    return out
    falco44 thanked this post
    #248420 quote
    falco44falco44
    Participant
    Average

    Bonjour Ivan, merci de votre retour.

    Malheureusement je n’ai que ce bout de code.

    Merci à vous.

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 d’un indicateur OBV du logiciel TradingView


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
falco44 @falco44 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by falco44falco44
1 year, 3 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 06/19/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...