I'm looking for a coder who is able the convert the following PineScript code in FT4.
Code: Select all
// Candle labels
study(title = "Trend Bars", overlay = true)
data1=((close>open) and abs(close-open)>=0.5*(high-low))
plotshape(data1,title="Bull Trend Bar",color=green, style=shape.arrowup,location=location.belowbar)
data2=((close<open) and abs(close-open)>=0.5*(high-low))
plotshape(data2,title="Bear Trend Bar",color=red, style=shape.arrowdown,location=location.abovebar)
The indicator has to find "Trend Bars" and mark them with arrows above (if bearish Trend Bar) or below (if bullish Trend Bar).
A Trend Bar is when the body of the candle >= 50% of the bar;
I hope i find someone with realistic price expectations.
Thanks in advance!