YaroslavG

TRIX Strategy[YaroslavG]

The TRIX indicator smooths price data and then looks at the daily (or whatever time frame is being used) percentage movement of that smoothed price data. This filters out much of the price noise that’s seen on the price chart. TRIX will rise on sustained moves higher in price, and will fall on sustained moves lower in price.
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

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.

Chcesz użyć tego skryptu na wykresie?
//@version=2
strategy("TRIX Strategy[YaroslavG]",overlay=false)
emas=input(14)
trix=((ema(ema(ema(close, emas), emas), emas)-ema(ema(ema(close, emas), emas), emas)[1]) / ema(ema(ema(close, emas), emas), emas)[1]) * 10000
plot(trix)
plot(0,color=black)
if (crossover(trix,0))
    strategy.entry("long", strategy.long)
if (crossunder(trix,0))
    strategy.entry("short", strategy.short)