candlestick indicator to measure the length of the wicks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #245323 quote
    tonbtonb
    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álezIván González
    Moderator
    Legend
    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
    tonbtonb
    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

    Wicks-2025-03-27-150523.png Wicks-2025-03-27-150523.png
    #245347 quote
    Iván GonzálezIván González
    Moderator
    Legend

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

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álezIván González
1 year, 5 months ago.

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