Inside Bar multiple

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #259795 quote
    OURS95
    Participant
    Junior

    Bonjour, je recherche un indicateur qui signale un double ou triple voir plus de Inside Bar.

    Merci pour votre aide

    cordialement

    #259798 quote
    robertogozzi
    Moderator
    Master

    Le voilà :

    InsideBars = 0
    FirstBAR   = 0
    FOR i = 20 DOWNTO 0
    InsideBAR = (high[i] <= high[i+1]) AND (low[i] >= low[i+1]) AND (range[i] < range[i+1])
    IF FirstBAR > 0 THEN
    InsideBAR = InsideBAR AND (high[i] <= high[FirstBAR]) AND (low[i] >= low[FirstBAR]) AND (range[i] < range[FirstBAR])
    ENDIF
    IF InsideBAR THEN
    InsideBars = InsideBars + 1
    IF InsideBars = 1 THEN
    IF FirstBAR = 0 THEN
    FirstBAR = i
    ENDIF
    ENDIF
    ELSE
    InsideBars = 0
    FirstBAR   = 0
    ENDIF
    NEXT
    IF Not InsideBAR THEN
    InsideBars = 0
    ENDIF
    RETURN InsideBars AS "Inside Bars"
    
    Iván González thanked this post
    #259812 quote
    OURS95
    Participant
    Junior

    Merci il marche super

    bon Week de Pâques

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

Inside Bar multiple


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
OURS95 @ours95 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by OURS95
1 day, 23 hours ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/02/2026
Status: Active
Attachments: No files
Logo Logo
Loading...