candlestick indicator to measure the length of the wicks

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

    I am looking for an indicator (NQ-MNQ)that gives a signal for a

    bull candele when de range open-low is between 20 and 40 ticks.

    bear candle when de range open-high is between 20 and 40 ticks.

    #245334 quote
    Iván González
    Moderator
    Master
    minRango = 20 * ticksize  
    maxRango = 40 * ticksize  
    
    bullCond = (open - low >= minRango) AND (open - low <= maxRango)
    bearCond = (high - open >= minRango) AND (high - open <= maxRango)
    
    return bullcond style(histogram)coloured("green"),bearcond style(histogram)coloured("red")
    robertogozzi thanked this post
    #245344 quote
    tonb
    Participant
    Junior

    I may not have been completely clear but it concerns the upper wick (bear candele) and de lower wick (bull candele) see picture

    #245347 quote
    Iván González
    Moderator
    Master

    You can add open>close and open<close in order to select bear/bull candles.

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

candlestick indicator to measure the length of the wicks


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
tonb @tonbijl Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Iván González
10 months, 2 weeks ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/26/2025
Status: Active
Attachments: 1 files
Logo Logo
Loading...