omoshiro

3xATR + EMA 260 + TP SL By Nussara

Strategy backtest for 3X ATR + EMA 260

Exponential Moving Average
Moving averages smooth the price data to form a trend following indicator. They do not predict price direction, but rather define the current direction, though they lag due to being based on past prices. Despite this, moving averages help smooth price action and filter out the noise.

EMA=Price(t)×k+EMA(y)×(1−k)
where:
t=today
y=yesterday
N=number of days in EMA
k=2÷(N+1)

Average True Range
Average True Range ("ATR") was introduced by J. Welles Wilder in his 1978 book New Concepts In Technical Trading Systems. ATR is a measure of volatility for a stock or index
Calculation

ATR = (Previous ATR * (n - 1) + TR) / n
Where:
ATR = Average True Range
n = number of periods or bars
TR = True Range
The True Range for today is the greatest of the following:
Today's high minus today's low
The absolute value of today's high minus yesterday's close
The absolute value of today's low minus yesterday's close


3X ATR + EMA 260 Formula
1. ATR it indicates the market has a fluctuation. An indicator will check bar (High-Low) > 3 x ATR
2. EMA 260 identify the market uptrend or downtrend
- if condition (1) is true and the price closed above the EMA260 it’s an uptrend. An indicator will enter a long position.
- if condition (1) is true and the price closed below the EMA260 it’s a downtrend. An indicator will enter a short position.
Risk to Reward Ratio = 1:1.5
Stop loss = open price of entry position

This indicator is just a tool for technical analysis . It shouldn't be used as the only indication of trade because it causes you to lose your money. You should use other indicators to analyze together.





Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?