Taille d'un DOJI

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25971 quote
    finplus
    Participant
    Master

    Bonsoir,

    en dessous, j’ai recopié la formule du DOJI. Concernant le DojiSsize, comment faire si je souhaite un DojiSize < ou = à (par exemple) 5%. J’ai mis devant le signe = le signe< mais cela ne fonctionne pas. Merci pour votre aide.

    //PRC_Doji Heikin Ashi | screener
    //10.01.2017
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    // --- parameters
    DojiSize = 5 //x% percent of body size compared to the complete range of the candlestick
    // ---
    
    if barindex>1 then
    haclose=(open+close+low+high)/4
    haopen=(haopen[1]+haclose[1])/2
    xHigh = Max(haOpen, haClose)
    xLow = Min(haOpen, haClose)
    hahigh = Max(High,xHigh)
    halow = Min(Low,xLow)
    endif
    
    data=(abs(haopen - haclose) <= (hahigh - halow) * DojiSize/100)
    
    screener [data]
    #26195 quote
    Nicolas
    Keymaster
    Master

    Cette condition ‘inférieure ou égale’ est déjà testé à la ligne 19 dans la variable “data”. A moins que je n’ai pas compris la question, cela doit fonctionner correctement.

    #26218 quote
    finplus
    Participant
    Master

    Mais oui. Je m’en suis aperçu trop tard. Autant pour moi. Merci et bonne soirée.

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

Taille d'un DOJI


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
finplus @finplus Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by finplus
9 years ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 02/21/2017
Status: Active
Attachments: No files
Logo Logo
Loading...