Bande di Bollinger + due candele

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #123345 quote
    TradesunTradesun
    Participant
    Senior

    Salve, vorrei chiedere un aiuto per creare uno screener con le bande di bollinger e due candele una al rialzo e l’altra al ribasso

    Screener al riabasso:

    La prima candela chiude sopra la banda di bollinger superiore, poi la candela successiva chiude sotto la banda di bollinger.

    Screener al rialzo:

    La prima candela chiude sotto la banda di bollinger inferiore, poi la candela successiva chiude sopra la banda di bollinger.

    Grazie.

    #123383 quote
    NicolasNicolas
    Keymaster
    Legend

    Ecco il codice screener con quelle semplici condizioni:

    bup = BollingerUp[20](close)
    bdn = BollingerDown[20](close)
    
    down = close[1]>bup[1] and close<bup
    up = close[1]<bdn[1] and close>bdn
    
    screener[down or up]

     

    #123388 quote
    TradesunTradesun
    Participant
    Senior

    Buongiorno Nicolas grazie per il codice, vorrei chiedere se è possibile aggiungere al codice il colore delle candele.

    Screener al ribasso:

    La prima candela chiude sopra la banda di bollinger superiore di colore verde, poi la candela successiva chiude sotto la banda di bollinger di colore rosso.

    Screener al rialzo:

    La prima candela chiude sotto la banda di bollinger inferiore di colore rosso, poi la candela successiva chiude sopra la banda di bollinger di colore verde.

    Grazie.

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

Bande di Bollinger + due candele


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Tradesun @tradesun Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by TradesunTradesun
6 years, 5 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 03/26/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...