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