Indicator make histogram from difference of:
- classic ATR (default period - 14)
- Simple Moving Average (default period - 100) to this ATR.
Histogram colored (green when >0, red <0).
Volatility increase signal - histogram crosses the zero line.
For greater visibility, a colored variable moving average (variable SMA for histogram) was added
The code in this post contains a set of default strategy inputs I use in new projects / backtests in Tradingview.
Full code commentary is available on the Backtest-Rookies website. To comply with house rules, I cannot post the direct link here.
Trade Direction: So that you can limit the strategy for long only, short only or trade in both...
This script is designed to aid in back-testing and trade execution.
It displays three sets of values - the teal colored value is the current ATR, the green colored value is your stop loss distance (in pips) below the most recent swing low for long trades , and the red colored value is your stop loss distance (in pips) above the most recent swing high for short...
This indicator is designed to be used with the rules of Steven Hart's Aggressive Pullback Strategy. It is intended for use on the 4-hour timeframe of certain currency pairs, but will work on all timeframes and instruments. The rules are customizable, but the default settings are designed to reflect the rules of Steven's pullback strategy as closely as possible.
Basic ADR-indicator that is showing the daily range on lower timeframes as well, without using the current open daily bar for calculation.
Also plots as line in a separate indicator window. Updates displayed value when hovering over the candles on the chart to see historical Numbers.
A useful measure of recent volatility. I use 50 day or 50 week periods, but you can experiment with other values too. Because it measures ranges as a % of current close it can be used to make good comparisons with other historic periods of low (or high) volatility. This measure reached a new 23 year low for daily S&P 500 in July 2017.
Uses and historic examples: ...
EXPERIMENTAL: use at your own discretion.
custom session breakout strategy, it uses a percentage of daily atr to set breakout limits. strategy only viable for intraday timeframes and is suggested under 1hour.
Plots three Average True Range channels as described in Alexander Elder's "The New Trading for a Living".
You can adjust the EMA and ATR days that are the basis of these channels.
This is my first script – happy to get any feedback on this! Thanks :)
I made this tool to measure the exact PIP range of different currency pairs in an easy to understand format.
It comes with the option to convert the PIP Values to XXX/JPY Pairs with a simple check-box.
"H" is the highest PIP movement in 377 time periods.
"N" is the EMA-377 of the PIP ranges.
"P" is the current time periods PIP moment (true range).