candele indicator Marubozu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #222406 quote
    tonb
    Participant
    Junior

    Hello i am looking for an indicator with a high low range of 8 points with the additional conditions.

    Short candele: High-low max 1 point / Low-Close max 1 point

    Long Candele  low-open max 1 point/ High-Close max 1 point

    The reason i want this as an indicator is that i want to trade on a small time frame with volume candels

    #222414 quote
    robertogozzi
    Moderator
    Master

    There you go (not tested):

    C1 = (range = 8*pipsize)
    // Bearish candlestick
    S1 = (High-Open <= 1*pipsize)
    S2 = (Close-Low <= 1*pipsize)
    S3 = close < open
    SC = S1 and S2 and S3 and C1
    // Bullish candlestick
    L1 = (High-Close <= 1*pipsize)
    L2 = (Open-Low <= 1*pipsize)
    L3 = close > open
    LC = L1 and L2 and L3 and C1
    //
    Return (SC or SL)

    I have changed some of your expressions, as they seemed wrong.

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

candele indicator Marubozu


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
tonb @tonbijl Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
2 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/13/2023
Status: Active
Attachments: No files
Logo Logo
Loading...