Distanza barre di Bollinger

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #141047 quote
    danistuta
    Participant
    Senior

    Da codice come posso calcolare la distanza tra le due barre di bollinger?
    Vorrei evitare alcuni trade quando le due barre sono molto vicine…ha senso? 🙂

    Grazie mille.

    #141051 quote
    robertogozzi
    Moderator
    Master

    Certo che ha senso, la differenza la calcoli così:

    BollD = ExponentialAverage[20](open)-2*std[20](open)
    BollU = ExponentialAverage[20](open)+2*std[20](open)
    Diff  = BollU - BollD
    #141052 quote
    danistuta
    Participant
    Senior

    Grazie, che unità di misura ottengo e su che scala, come posso utilizzarlo per filtrare le fasi troppo piatte di mercato?

    Grazie.

    #141055 quote
    robertogozzi
    Moderator
    Master

    È una differenza di prezzo, come tra due medie o tra Massimo e Minimo.

    Puoi verificare che tra le due bande ci siano almeno N pips, 20 in questo caso:

    If Diff > 20 * pipsize Then
     .
     .
    Endif
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Distanza barre di Bollinger


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
danistuta @danistuta Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 08/07/2020
Status: Active
Attachments: No files
Logo Logo
Loading...