Bougies Heikin Ashi avec cul plat

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #224570 quote
    kevinf
    Participant
    New

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 xClose = (open+high+low+close)/4 IF BarIndex=0 THEN xOpen = open xHigh = high xLow = low ELSe xOpen = (xOpen[1] + xClose[1])/2 xHigh = Max(Max(high, xOpen), xClose) xLow = Min(Min(low, xOpen), xClose) ENDIF   UP = xopenxclose and xhigh=xopen   if UP then drawpoint(barindex,xlow,3) coloured(0,200,0) elsif DOWN then drawpoint(barindex,xhigh,3) coloured(200,0,0) endif return UP as “UP”, DOWN as “DOWN”

    Comment serait-il possible de modifier l’indicateur pour qu’il n’affiche un marqueur que pour le second cul plat à la suite ? Merci

    #224789 quote
    JC_Bywan
    Moderator
    Master

    Bonjour, pour ne pas afficher sur le premier mais qu’à partir du 2e et les suivants, en remplaçant les lignes 15 et 17 par:

    if UP and UP[1] then
    et
    elsif DOWN and DOWN[1] then
Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.

Bougies Heikin Ashi avec cul plat


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 16 replies,
has 7 voices, and was last updated by JC_Bywan
2 years, 2 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/29/2021
Status: Active
Attachments: 4 files
Logo Logo
Loading...