candele indicator small body

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #241159 quote
    tonbtonb
    Participant
    Junior

    i am looking for an indicator that recognizes candels with a body between zero and 1 point.

    #241173 quote
    LucasBestLucasBest
    Participant
    Senior

    smallbody = abs(close-open) <= 1

    IvƔn GonzƔlez thanked this post
    #241185 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    @tonbijl

    Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.

    I moved it from the French support forum. Thanks šŸ™‚

    The code above only works with assets/instruments that have a 1:1 price-to-pips ratio.
    I suggest to make it portable across all assets by using PIPSIZE:

    smallbody = abs(close-open) <= 1*PipSize
    IvƔn GonzƔlez thanked this post
    #241188 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    @tonbijl

    I just realized you created another topic in the correct forum. I deleted it as it’s no longer needed.

    #242050 quote
    tonbtonb
    Participant
    Junior

    The indicator does not work on the NQ Future even when I use PipSize

    #242051 quote
    JSJS
    Participant
    Master
    BodySize=abs(Close-Open)*pipsize
    
    If BodySize >0 and BodySize < 1 then
    DrawPoint(BarIndex,High,3)coloured("red")
    EndIf
    
    Return
    tonb thanked this post
    SchermĀ­afbeelding-2025-01-01-om-21.06.06.png SchermĀ­afbeelding-2025-01-01-om-21.06.06.png SchermĀ­afbeelding-2025-01-01-om-21.09.21.png SchermĀ­afbeelding-2025-01-01-om-21.09.21.png
Viewing 6 posts - 1 through 6 (of 6 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

candele indicator small body


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
tonb @tonbijl Participant
Summary

This topic contains 5 replies,
has 4 voices, and was last updated by JSJS
1 year, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/05/2024
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...