OPEN-SOURCE SCRIPT

Buy and Sell Alerts using VWAP

This is my first script, which I hope you'll enjoy.
The script generates alerts for buy and sell trades using VWAP and volume threshold that you select.

Indicators and Moving Averages:
This script allows you to choose which moving averages like VWAP, 9EMA, 10, 20, 50, 100, 200, and 325 SMAs you want to see on your chart.

Volume Threshold:
You can set a volume threshold, which is the minimum required volume required for buy and sell signals to be considered valid. (For example, I like 60,000 on SPY, 5 minute chart.)

Buy and Sell Signals:
The script checks if the stock prices crosses above or below the VWAP and if the trading volume is above the threshold you set.

If the price crosses above the VWAP and the volume is sufficient, a "Buy" signal is generated.
If the price crosses below the VWAP and the volume is sufficient, a "Sell" signal is generated.

This hopefully user-friendly indicator will alert you when certain conditions trading conditions are met, helping to make it a little easier to make informed trading decisions.


Candlestick analysisSimple Moving Average (SMA)Volume Weighted Average Price (VWAP)

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal