Welcome to the BEST forum for traders

Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".

Showing Wick Candle on 5 min Charts

Mar 24, 2022 - 11:49 PM

Viewed 873 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/56128 COPY
  • Hello guys, i am very basic in coding and i am looking to show bearish and bullish wick when wick > x pips on a 5 or 15 min charts.
    Then ideally create an alert from it.
    Anyone could help on this?
    THanks

    0
  • Hi there

    I think you'll have to use the plotcandle function
    https://www.tradingview.com/pine-script-reference/v5/#fun_plotcandle

    with a wickcolor like this

    Below is an example of how to show/hide the wick based on a condition

    plotcandle(open, high, low, close, title='Title', color = open < close ? color.green : color.red, wickcolor=wick > x pips ? color.black : color.na)
    
    0
CONTENTS