OPEN-SOURCE SCRIPT

VWAP/MVWAP/SMA CROSSOVER

已更新
To use this indicator is simple.

When the VWAP (Thick Yellow) AND the two SMA (Orange and thin Yellow) cross above the MVWAP (Purple) then you will be in a uptrend that could possibly continue upwards. The opposite is true if you are looking a short opportunity, wait for the three other lines to cross under the MVWAP and you should be in a downtrend that could possibly continue downwards

Of course as with all indicators not every signal will be 100% accurate there is no way to predict human emotions when it comes to trading but based on the VWAP strategy used in other markets this is the closest I could get.

Note: Don't relay completely on this indicator to think for you. Use other forms of TA to confirm all positions before entering. And if the candles start trending the opposite direction after a lets say a mini pump/dump then the signal was false.

Finally this was made according to the 15 minute chart. I did not plan on remaking it for any other timeframes as I have left the code open for you to tweak and the setting are free to adjust aswell.

Q/A

Q: Does it repaint?
A: No, this is based on moving averages as far as I know they don't repaint.

Q: How did you come up with this indicator?
A: Went on youtube looking for trading strategies other and the usual EMA crosses and found a VWAP & EMA strat. I added the MVWAP and played with the numbers until I found something that I liked.

Q: How long have you been trading/learning pinescript?
A: Been trading less than a two months and pinescript about a month and a half.
發布通知
Fixed the code so that the Long/Short alerts only alert at the beginning of the new trend, previously it was alerting every bar corresponding to the color of the trend.
crossovermvwapSimple Moving Average (SMA)smaVolume Weighted Average Price (VWAP)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明