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

Big up down days

May 27, 2021 - 7:21 AM

Viewed 343 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/24369 COPY
  • Can someone from the community help me in creating an indicator for tradingview which marks candles with close greater or less than equal to 5%. Example- yesterday's closing price is 100 and today's closing price is 106.5. So it should marks today's candle with some arrow or flag or dot. Thanks

    0
  • yesterday_close = security(syminfo.tickerid, "D", close[1])
    today_close = security(syminfo.tickerid, "D", close)
    diff = ((today_close - yesterday_close) / yesterday_close) * 100
    
    plotshape(diff <= 5 ? close : na, ....)
    
    0
CONTENTS