OPEN-SOURCE SCRIPT

ATR Trailing Stoploss with VWAP

168
plot vwap lin and ATR line too, even though we don't use atr in the logic. atr code is given below. make it a strategy.
Above VWAP: If the price stays above VWAP, it signals a bullish trend → Look for long entries.
Below VWAP: If the price stays below VWAP, it signals a bearish trend → Look for short entries.
Long Entry (Price Crossing VWAP Upward)
If the price crosses above VWAP with strong volume (CDV rising), it may indicate a trend reversal → Enter a long position.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.