COUNT NIVEAU INDICATEUR

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #187265 quote
    Antoine
    Participant
    Average

    Bonjour à tous,

    Je souhaiterai compter le nombre de fois jusqu’à 1000 ou chaque niveau de 0 jusqu’à 12, ont une cloture positive du prix. Je ferai par la suite un ratio de l’échantillonage /1000

    Le but étant par la suite d’interpréter le résultat obtenu et voir si l’on peut appliquer une loi normale etc .. Dans le but de trouver un intervalle de confiance dans ce nuage de points. Sur lesquels je vais avoir le plus de chances d’avoir une clôture positive et >0.

    Cependant je pense que ce morceau de programme est faux, pouvez-vous m’aider que je puisse progresser ?

    ///////////////////////////////////////////////////////////////GAUSSIENNE
    //NIVEAU HISTO 0 à +12
    once COUNTNV0=0
    once COUNTNV1=0
    once COUNTNV2=0
    once COUNTNV3=0
    once COUNTNV4=0
    once COUNTNV5=0
    once COUNTNV6=0
    once COUNTNV7=0
    once COUNTNV8=0
    once COUNTNV9=0
    once COUNTNV10=0
    once COUNTNV11=0
    once COUNTNV12=0
    
    For i1=1 to PDONNEES DO
    If Close[i1]>Open[i1] and Comptage[i1]=0 Then
    COUNTNV0=COUNTNV0+1
    Else
    Break
    Endif
    Next
    
    //Vérifier
    
    drawtext("#COUNTNV1#",barindex,1,dialog,bold,20)

    Merci par avance

    MAGIC-STOCHASTIC-V2.itf
    #187282 quote
    Antoine
    Participant
    Average

    Remplacer par pour visualiser :

    drawtext(“#COUNTNV0#”,barindex,1,dialog,bold,20)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

COUNT NIVEAU INDICATEUR


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Antoine @antoine83640 Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Antoine
4 years, 1 month ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/01/2022
Status: Active
Attachments: 1 files
Logo Logo
Loading...