TradingView has a nice feature to add alerts based on some conditions. You could setup an alert, whenever price reaches a certain level or when price crosses an indicator that is available
on the current chart.
You get an email alert or a pop-up notification each time certain market conditions are met, so you can check the chart and decide to take a trader or not.
Maybe you want to get notified if price is above a moving average, so you can check the chart and see if there is potential that price will move back.
But usually buy and sell signals are more complex and combine multiple conditions. If your strategy looks like this: "create a buy signal if price is below the moving average and RSI is
below 30", you could setup two alerts - one for the moving average and one for RSI. If both alerts are triggered at almost the same time, you could decide to take the trade. But you would always
need to monitor your alert messages and check if there are related conditions that will make up your buy/ sell signal in combination. This can become very confusing, especially if you consider to
add more conditions to your strategy. Sadly currently there is no out-of-the-box option to create one alert that combines multiple conditions. But luckily you can solve the problem with very few
lines of PineScript code.
Just open the Pine editor with a blank indicator script and insert the following script: