Probleme avec summation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #170085 quote
    SeiferTraderSeiferTrader
    Participant
    Junior

    Bonjour,

     

    J’essaye de faire un screener pour rechercher les valeurs dont l’OBV croise la bande bollinger supérieure (Bandes de Bollingers appliquées sur l’OBV) après être restée en-dessous de la bande supérieure pendant X périodes.

    Ce qui me donne ça:

     

    indicator1 = OBV(close)
    indicator2 = BollingerUp[20](indicator1)
    c1 = (indicator1 CROSSES OVER indicator2)

    indicator3 = OBV
    indicator4 = BollingerUp[20](indicator3)
    c2 = summation[30](indicator3 < indicator4)

    SCREENER [c1 AND c2 ]

     

    Il me sort bien les valeurs dont l’OBV franchit la bande Bollinger supérieure mais… il ne prend pas en compte la période. Que je mette 30 ou 120, il y a toujours le même résultat. Quelqu’un sait où est l’erreur?

    #170088 quote
    SeiferTraderSeiferTrader
    Participant
    Junior

    Problème résolu, il ne fallait pas utiliser summation mais rédiger ainsi:

     

    c2 = (indicator3 < indicator4)[30]

    #170097 quote
    GraHalGraHal
    Participant
    Master

    Vous êtes sûr que cela ne devrait pas être …

    indicateur1 = OBV (fermé)
    indicateur2 = BollingerUp [20] (indicateur1)
    c1 = (indicateur1 CROSSES OVER indicateur2)
    
    indicateur3 = OBV
    indicateur4 = BollingerUp [20] (indicateur3)
    c2 = somme [30] (indicateur3 <indicateur4)>= x // x barres comme description de la stratégie 
    SCREENER [c1 ET c2]
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

Probleme avec summation


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 05/21/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...