Indicateur Inside Bar multiple (double, triple et +)

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

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

    Merci pour votre aide

    cordialement

    #259798 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    OURS95OURS95
    Participant
    Senior

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

Indicateur Inside Bar multiple (double, triple et +)


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 OURS95OURS95
5 months, 2 weeks ago.

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