Vedere un indicatore sul grafico

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

    Buon giorno Roberto, buon anno.

    Ti chiedo se sia possibile vedere sul grafico l’indicatore riportato sotto.

    Il codice è il seguente:

    defparam drawonlastbaronly = true
    //—settings
    // lookback = 7
    // showSR = 0
    // PeriodoAdx = 14
    
    diff = Dclose(0)-Dclose(1)
    
    if diff-diff[1]>=0 then
    u = diff-diff[1]
    d = 0
    else
    u = 0
    d = diff[1]-diff
    endif
    
    I = 100-(100/(1+ (DIPlus[periodoAdx](u)/DIMinus[periodoAdx](d))))//fractals
    cp = lookback
    if i[cp] >= highest[(cp)*2+1](i) then
    LLH = 1
    else
    LLH = 0
    endif
    if i[cp] <= lowest[(cp)*2+1](i) then
    LLL = -1
    else
    LLL = 0
    endif
    if LLH = 1 then
    oldLTOPy = LTOPy[1]
    oldLTOPx = LTOPx[1]
    LTOPy = i[cp]//high[cp]
    LTOPx = barindex[cp]
    endif
    if LLL = -1 then
    oldLBOTy = LBOTy[1]
    oldLBOTx = LBOTx[1]
    LBOTy = i[cp]//low[cp]
    LBOTx = barindex[cp]
    endif
    //trend line
    DRAWline(oldLTOPx,oldLTOPy,LTOPx,LTOPy) coloured(240,0,0)
    DRAwline(oldLBOTx,oldLBOTy,LBOTx,LBOTy)coloured(0,240,0)
    //support/resistance
    if showSR then
    DRAWHLINE(LTOPy) COLOURED(255,0,0)
    DRAWHLINE(LBOTy) COLOURED(0,255,0)
    endif
    RETURN i

    Se possibile, cosa dovrei inserire o cambiare?

    USDJPY-1-ora.png USDJPY-1-ora.png
    #156723 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    In un unico post hai trascurato 3 regole:

    • hai postato sul forum Francese scrivendo in Italiano
    • hai postato sul forum di supporto ProOrder (per le strategie) invece che su Probuilder, essendo un indicatore
    • non hai usato il pulsante Insert PRT code per inserire il codice e renderlo più leggibile.

    Le regole principali sono ben evidenziate in GIALLO qui sotto, non s’impiega molto a leggerle almeno una volta!

    La bontà di un forum è data dalla facilità di reperimento delle informazioni e dalla chiarezza con cui sono state scritte.

    Questo è possibile solo se ognuno s’impegna ad osservare le regole.

    Grazie 🙂

    Rispondendo alla tua domanda, NO, purtroppo non è possibile perché ci sono dati con scale diverse e se ne adegui una sballa l’altra.

    Ho provato ma non viene bene.

    Ad ogni modo per mettere un indicatore SUL prezzo (e non sotto) basta cliccare sull’etichetta PREZZO nell’angolo in alto a sinistra del grafico e da li AGGIUNGERE l’indicatore selezionandolo tra quelli presenti.

    #156724 quote
    mircomirco
    Participant
    New

    Non so se ci sia un modo più semplice o un’impostazione da settare, ma per vedere sul grafico un indicatore (che di solito me li mette in una finestra sotto) basta che clicchi col destro nel grafico, aggiungi indicatore e lo selezioni

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

Vedere un indicatore sul grafico


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Vinci1966 @vinci1966 Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by mircomirco
5 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 01/07/2021
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...