PROTECTED SOURCE SCRIPT

Close Day Buy/Sell)

2 540
It draws a line to the previous day's close and generates a long/buy signal if the candle close is above the previous day's close for short periods, and generates a short/sell signal if the candle close is below the previous day's close.

it makes more sense to use it in 1-minute periods.

in the settings section
day close = the previous day's close line
Tp lines = Take profit lines
Moving average = simple moving average for generating a signal when it breaks the previous day's closing line
longTP = profit rate
ShortTP = profit rate

may you always win.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.