Prochaine Kijun valeur incorrecte

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

    Bonjour,

    Je code un Screener qui est censé me retourner la valeur de la prochaine Kijun avec le code ci-dessous.
    Ce qui ne fonctionne pas c’est que parfois la valeur retourné est bonne, d’autre fois (les lignes en rouge dans ma capture) la valeur retourné ne correspond à aucun plat kijun.

    PrcdtDifference=100
    PrixBas=Low[0]
    PosBarre=0
    
    IdcKijun=KijunSen[9,26,52]
    
    For I=1 To Historique
    //Kijun
    If IdcKijun[I+1]=IdcKijun[I] Then
    Difference=Abs(PrixBas-IdcKijun[I])
    If Difference<PrcdtDifference Then
    PrcdtDifference=Difference
    Price=IdcKijun[I]
    PosBarre=I
    Endif
    Endif
    Next
    Condition= price=price and posbarre=posbarre
    
    SCREENER[Condition](Price as "Niveau")
    

    Auriez-vous une idée du pourquoi ?

     

    Merci par avance.

    Kijun.png Kijun.png
    #174617 quote
    Player
    Participant
    Average

    Petite précision :

    En fait quand je dis la prochaine Kijun, je sous entends le prochain plat Kijun d’où l’inclusion du code

    If IdcKijun[I+1]=IdcKijun[I] Then ...
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Prochaine Kijun valeur incorrecte


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Player @player Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Player
4 years, 7 months ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 08/03/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...