AITI Investa: Trend FollowingScript ini dibuat untuk membantu strategi trend following harian pada saham-saham di IHSG.
Terdiri dari:
1. Petunjuk visual untuk area trend yang sebaiknya dihindari ( bearish trend ), berupa background berwarna merah. Dimana area bearish trend adalah ketika garis fast ema berada di bawah garis slow ema .
2. Batas stop loss / trailing stop, dengan acuan nilai ATR.
Script ini tidak memberikan sinyal buy. Silakan gunakan strategi buy on weakness/breakout sesuai analisa dan preferensi masing-masing. Untuk mencari entry trigger, penulis merekomendasikan untuk menarik garis support/resistance manual dan digabungkan dengan indikator MACD & CCI sebagai konfirmasi.
-AITI Investa
טווח ממוצע אמיתי (ATR)
Stop ATR BuyStop ATR focused on Bull Trend Following, therefore it is plotted only as ATR subtracted from the prices. This indicator has the correct calculation of the ATR formula.
ATR_Trade_strategyATR Based Strategy
Identify the ATR range on Daily Chart.
ATR HIGH= Previous Close +ATR
ATR Low =Previous Close - ATR
Long when Close is above ATR High
Short when Close is below ATR Low
Exit when close moves below EMA(10) OR
a user-selected max loss
Up/Down Trend MarkerA simple indicator of trend by using 3 EMAs of multiplies of 2, 5 and 10, filtered by standard positive/negative directional movements (DM) which are the base of Average Directional Index (ADX).
The "Trend Strength" option is included to set the EMA multipliers and also the variation between DM+ and DM- which interpret the trend as a weak or a strong one.
Note that the markers only point to almost the beginning of the trends and just change the direction when the opposite trend is detected.
Feel free to send me your opinions.
One-Stop Trading SetupOne-Stop Trading Setup:
This script designed to identify up, down, and sideways trends. 200 HMA, 9 EMA, PSAR, and ATR are used to identify the strength of any instrument.
Candle Colors - Simpler approach to follow:
Green color indicates for up side trade signals
Red color indicates for down side trade signals
Yellow color can be interpreted for stop, sideways, and counter trade trade signals
Multiple Trade Setups:
Green Zone - Trading green candles within green zone has better odds of long trades
Red Zone - Trading red candles within red zone has better odds of short trades
200 HMA - Candles above 200 HMA mostly for long trades. Candles below 200 HMA usually for short trades. But the zone also very important to consider
9 EMA - Cross over above 200 HMA in Green zone, look for long trades. Cross over below 200 HMA in red zone, look for short trades
PSAR - This can be used as potential initial warning sign. Also can be used to exit partial or wait for it goes to opposite side for taking trade decisions
Candle Above all - If Green candle and above all the indicators, then very good sign of long side. If red candle and below all indicators, then very good sign of short side.
Multiple Time Frame:
This works very well with any instrument and on any time frame. Always its better to do analysis on multi time frame before entry, exit, and trade execution. Back test it with this setup and also observe it on live market. That will give edge in taking trade decisions. All the best and happy trading.
Disclaimer:
This script and setup is written with the sole purpose of identifying the strength of any instrument. Interpretation, trade decisions, and changing inputs are up to each individual users/trades.
ATR Vol Proxy CrossThis script is a simple ATR cross, where the short-term ATR helps quickly and easily determine whether volatility is "high" or "low" compared to the long-term ATR value. Both values are adjustable, but initially calibrated for the daily chart.
ATR with Take and StopThis simple indicator will plot the take profit and stop loss values based on the ATR indicator.
It's possible to set how many times the ATR value will be applied to the closing price and
what trade type is used, Long or Short.
[CP]ATR Triple Stop Loss LevelsATR based Triple Stop Loss levels that are plotted on the chart (like moving averages!).
With ATR Levels plotted on the price chart itself, you can better set your volatility based trailing Stop Loss.
Also helps to define the SL when making an entry into a stock.
Note:
This indicator is supposed to be used on Daily and Weekly Charts.
For other timeframes you would need to tweek the default parameters.
Average True Range 3MAClassic ATR (average true range) with triple MA (instead of default simple MA).
Specially designed for options volatility management.
[HM] HORIZONTAL GRID ROUNDED (VOLATILITY BASED)The purpose of this indicator is to draw a horizontal grid having in mind:
- rounded price levels instead tradingview standard grid, zoom-based;
- calculated by volatility, using daily ATR;
- independent of timeframe in use, locked to DAILY calculations.
Further improvements are intended.
Wish this could be useful. Any questions, feel free to comment.
ATR Parabolic SAR Strategy [QuantNomad]I created a version of Parabolic SAR when I accelerate it not based on the difference from the extreme point but based on current ATR. So the idea is that for a more volatile market it should move faster.
Performance is calculated based on 25% equity invested and 0.1% commission.
What do you think about it? Does it make sense to do something like that?
Do you have in mind other ways I can accelerate it when the market starts to be more volatile?
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
Moving Average ChannelThis indicator will use a moving average to create the channel around the price. It has some settings
Display Settings
Here it's possible to select what the indicator will display, from the middle line to the 3rd band level.
Reversion points will appear when the price cross out the selected band
Swing back option, when active, will make the indicator display the points when the price cross in the selected band
Moving Averages Settings
Here it's possible to select the moving averages settings that will be the basis for the channel calculation.
There are ten moving averages types t be selected, each one will give different entry points
Level Settings
Each level will apply the value on the moving average to get the level bands. All default numbers are from the Fibonacci sequence
When the extra filter is market, the indicator will display the crosses from the price and the selected band and also check if the candle closes in or out the bands.
That filter will check for a possible rejection of the price, providing more accurate movement indications, but fewer signals
Risk Management
In this part, it's possible to display stop loss and target profit levels based on the ATR indicator.
It's possible to select the multiplicator of the ATR to be applied on those levels
MultiType Shifting Predictive Moving Averages (MA) CrossoverJust 2 Moving Averages with adjustable settings and shifting capability, plus signals and predicting continuations.
At the time of publish these different types of MAs are supported:
- SMA (Simple)
- EMA (Exponential)
- DEMA (Double Exponential)
- TEMA (Triple Exponential)
- RMA (Adjusted Exponential)
- WMA (Weighted)
- VWMA (Volume Weighted)
- SWMA (Symmetrically Weighted)
- HMA (Hull)
I'm looking forward to any idea about filtering the signals. Thanks.
Trending True RangeDisplay a smoothed true range during trending markets, thus filtering any measurement occurring during ranging markets. Whether the market is trending or ranging is determined by the position of the efficiency ratio relative to its Wilder moving average.
Settings
Resolution : resolution of the indicator
Length : period of the efficiency ratio and the Wilder moving averages used in the script
Usage
If you are not interested in volatility during ranging markets, this indicator might result useful to you. An interesting aspect is that it both measures volatility, but also determine whether the market is trending or ranging, with a zero value indicating a ranging market.
Indicator against Atr, with both length = 14, our indicator might be easier to interpret.
Note
Thx to my twitter followers for their suggestions regarding this indicator. I apologize if it's a bit short, the original code was longer and included more options, but forcing a script to be lengthy is a really bad idea, so I stayed with something less flashy but certainly more practical, "classic Grover" some might say.
Thx for reading!
Triple Average True Range Channel Definition: By ADAM HAYES from Investopedia -- Updated Jul 8, 2019
The average true range (ATR) is a technical analysis indicator that measures market volatility by decomposing the entire range of an asset price for that period. Specifically, ATR is a measure of volatility introduced by market technician J. Welles Wilder Jr. in his book, "New Concepts in Technical Trading Systems."
The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The average true range is then a moving average, generally using 14 days, of the true ranges.
I've added a channel perspective from a certain % from the Slow Average Length that user will have to configure depending of resolution and the markets instruments they chose...
Also a fill is used to easily point out when a high distance between a fast and a slow volatility analysis is occurring.
Which is also denotated with a shaped label...
Share and comment my work :)
RSI Pullback Trend Trading Indicator (LONG Only)***Use at your own risk***
***This is for testing and education only***
I suggest that you also manually add the RSI(5,3,3) on your main chart for analysis.
You can change the settings, but these are the defaults:
Default Main Timeframe = Daily
Default Secondary TimeFrame = Weekly (use around 5X your main timeframe, to check the longer term trend)
Default Stochastic settings ( 5, 3 , 3)
Default Fast EMA : 13
Default Slow EMA : 22
Default ATR : 14
Conditions to show buying signal on main TimeFrame. (Yellow Triangle)
- Check if the MACD Histogram is rising on the secondary timeframe.
- Check if the Stochastic on the main timeframe is below 20.
When deciding to buy, you can use the ATR channels to determine the stop loss and profit target.
ATR & Price Action IndicatorHello there.
This Script prints multiple Entries based on Price Action and ATR.
Can be used on all timeframes.
Kind regrads
超级趋势(Supertrend)指标This is a normal Supertrend indicator which redesign and translate for Chinese.
这是一个通用的超级趋势(Supertrend)指标。
本脚本的目的在于帮助使用中文的人了解该指标,特别是其用法。同时将该指标代码添加完整的中文注释,方便使用中文的人学习Pine语言。
超级趋势指标(SuperTrend)是最常见的基于ATR的指标之一。
本指标的特色
相对于标准的超级趋势指标,在此版本中,你可以从设置中更改ATR计算方法。ATR的默认计算方式是采用RMA(RSI中使用的移动平均线,称之为指数加权移动平均线),本版本中可以使用SMA来替代计算ATR。
默认设置项为勾选状态,即ATR的计算方式为标准的RMA。
指标可调节参数
该指标有两个可设置的参数
1 ATR参数:默认为10;
2 ATR乘数:默认为3。
本指标还有两项可选设置项
1 价格源:价格源默认使用收盘价,但是你还可以选择使用开盘价、最高价、最低价等其他的价格计算方式;
指标用法
超级趋势指标出现在价格之上或价格之下时,就会产生买入和卖出信号。
买入信号: 当超级趋势指标在价格下方绘制时,即图表中的绿色信号线开始出现时,则产生买入信号;同时超级趋势指标的买入信号线可以作为买入的止损点;
卖出信号: 当超级趋势指标在价格上方绘制时,即图表中的红色信号线开始出现时,则产生卖出信号;同时超级趋势指标的卖出信号线可以作为卖出的止损点。
本指标支持配置买卖点的预警。
指标优势
1 适用于不同的时间周期和不同的交易品种;
2 对趋势有很好的识别效应;
3 可以提供明确的止损价位参考。
指标局限性
与其他趋势指标类似,超级趋势指标的作用在于帮助你抓住大趋势,但是在震荡行情,特别是长期的震荡行情中会失真,此时若按照超级趋势指标交易,则会产生亏损。
Opening Trend BounceCustom indicator that helps me with bounce plays. This indicator plots lines based on ATR; a line is added at every 25% of an ATR. The shaded columns at the beginning of the day are time based bounce zones; stocks that bounce, typically do so within those zones.
Trailing Stop LossTrailing stop loss indicator to determine when to exit a position.
Multiple trailing stop loss calculation techniques are implemented:
ATR: Determines stop loss using a gap from recent highest value, that gap is defined by the ATR value and a multiplier
MA: Just a simple moving average used as a stop-loss
Percentage: Uses a percentage of the price
The script also implements alerting to be notified when the stop loss price is reached.
Loro Vola StopThis indicator is a variation of a chandelier volatility stop using an average true range. The indicator draws a green support line in an uptrend and a red resistance line in a downtrend. The signals normally should be used as exit triggers.
HG Scalpius - ATR Up/Down Tick HighlightHG Scalpius - ATR Up/Down Tick Highlight
This indicator highlights ATR(14) upticks (green) and downticks (red) and has the below application:
- If a new trend closing high (low) is made on a downtick in ATR, decreasing volatility mode turns on
If you come across or think of any other useful scripts for the HG Scalpius system please comment below!
Links to 2 previous HG Scalpius scripts:
-
-
Happy trading!
Code:
study(title="Average True Range", shorttitle="ATR", overlay=false)
length = input(title="Length", defval=14, minval=1)
smoothing = input(title="Smoothing", defval="RMA", options= )
ma_function(source, length) =>
if smoothing == "RMA"
rma(source, length)
else
if smoothing == "SMA"
sma(source, length)
else
if smoothing == "EMA"
ema(source, length)
else
wma(source, length)
ATR = ma_function(tr(true), length)
c = ATR >= ATR ? color.lime : color.red
plot(ATR, title = "ATR", color=c, transp=0)