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)

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項