Taille d'un DOJI

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25971 quote
    finplusfinplus
    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
    NicolasNicolas
    Keymaster
    Legend

    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
    finplusfinplus
    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.
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

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 finplusfinplus
9 years, 8 months ago.

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