This script was made to calculate in real time the stop and take profit based on ATR to SHORT positions. By default, the number is 1,5 ATR to stop-loss and 3 ATR to take profit. You can change according to your trading system.
Se trata de usar el ATR para crear un umbral de ruido alrededor del precio. La rotura de ese umbral nos dara señales de entrada y salida. El ATR viene multiplicado por una constante que suele ser de entre 1.5 y 3.0. Se recomiendan valores cercanos a 3 para el stoploss y 1.5 o 2.0 para la entrada.
Esta estrategia esta recomentada para activos que tengan una...
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: ...
The Up/Down Range breaks the price range into an upward and a downward moving component, so we can easily turn it into a momentum oscillator. This script does just that.
You can find the Up/Down Range (UDR) indicator here:
Measuring the difference between the highs and lows from the average, this measure can serve as a proxy for the volatility, just like the ATR.
However, it breaks the range into an upward and a downward moving component, so it also gives information about the current trend direction.
In fact, I turned it into a momentum indicator here:
A simple yet configurable indicator that shows recent traffic volumes.
The time period is specified as weeks/days/hours/minutes, not as bars.
Set the volume period to non-zero if you want to use a generalized double EMA instead of plain.
The ratio option will show the size of the current volume compared to the volume in the specified time period (expect to see...