OPEN-SOURCE SCRIPT

VWAP/MVWAP/SMA CROSSOVER

Zaktualizowano
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.
Informacje o Wersji
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)

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności