Marking bars with near-equal wicks

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #203504 quote
    JC_Bywan
    Moderator
    Master

    Replying to a twitter request:

    // Bars with near-equal wicks (apply it to price window, not a separate window below it)
    // Twitter request
    // 04.11.2022
    // JC_Bywan @ www.prorealcode.com
    // Sharing ProRealTime knowledge
    //
    
    pipmargin=0.5 // maximum difference for high and low wicks
    
    BH=max(open,close)
    BL=min(open,close)
    WickH=high-BH
    WickL=BL-low
    
    if abs(WickH-WickL)<=pipmargin then
    DRAWARROWDOWN(barindex, high+WickH) coloured(0,0,255)
    DRAWARROWUP(barindex, low-WickL) coloured(0,0,255)
    endif
    
    return
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Marking bars with near-equal wicks


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
JC_Bywan @noobywan Moderator
Summary

This topic contains 2 voices and has 0 replies.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/04/2022
Status: Active
Attachments: No files
Logo Logo
Loading...