Prezzo e Bollinger

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #61549 quote
    HendrixHendrix
    Participant
    Senior

    Buongiorno,

    utilizzando delle Bande di Bollinger impostate come di seguito : Periodo 10 Scarto 2 Metodo Lisciatura di Wilder applicata a chiusura è possibile utilizzando le candele Heikin Ashi indicare sopra al prezzo una freccia rossa quando il prezzo scende toccando la BB- e una freccia verde sotto quando il prezzo tocca la BB+ ?

    Inoltre sarebbe possibile avere con lo stesso criterio un indicatore tipo oscillatore con istogrammi verdi e rossi che segue lo stesso criterio?

     

    Grazie in anticipo.

    Saluti

    #61562 quote
    NicolasNicolas
    Keymaster
    Legend

    Non so se ho capito correttamente la tua richiesta di indicatore, per favore correggimi se sbaglio dopo aver analizzato il codice qui sotto.

    haclose=(open+close+low+high)/4
    upper = WilderAverage[10](close)+std[10]*2
    lower = WilderAverage[10](close)-std[10]*2
    
    if haclose crosses under lower then 
    drawarrowdown(barindex,high) coloured(255,0,0)
    endif
    if haclose crosses over upper then 
    drawarrowup(barindex,low) coloured(0,255,0)
    endif
    
    return upper,lower
    bollinger-band-wilder-average-crossing-signals.png bollinger-band-wilder-average-crossing-signals.png
    #61566 quote
    HendrixHendrix
    Participant
    Senior

    Giusto però mi servirebbe un po’ diverso, con TF minori tipo m1,m3 o m5 vorrei che mi indicasse le candele che superata la BOLLM indichi con una freccia long o short.

     

    Grazie

    #61656 quote
    HendrixHendrix
    Participant
    Senior
    #62027 quote
    HendrixHendrix
    Participant
    Senior

    Buongiorno,

    come posso allontanare le frecce dal prezzo nel codice mettendole più distanti?

     

    saluti

    #62028 quote
    NicolasNicolas
    Keymaster
    Legend

    aggiungendo o sottraendo la media dell’intervallo degli ultimi 200 candelabri, ad esempio:

    haclose=(open+close+low+high)/4
    upper = WilderAverage[10](close)+std[10]*2
    lower = WilderAverage[10](close)-std[10]*2
    
    distance=average[200](range)
    
    if haclose crosses under lower then
    drawarrowdown(barindex,high+distance) coloured(255,0,0)
    endif
    if haclose crosses over upper then
    drawarrowup(barindex,low-distance) coloured(0,255,0)
    endif
    
    return upper,lower
    trading-signals-with-bollinger-bands.png trading-signals-with-bollinger-bands.png
    #62031 quote
    HendrixHendrix
    Participant
    Senior

    Grazie!!!!!!!!!!

Viewing 7 posts - 1 through 7 (of 7 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

Prezzo e Bollinger


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Hendrix @hendrix Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 02/05/2018
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...