//////////////////////////////////////////////////////////// // Copyright by HPotter v1.0 04/04/2015 // Percent difference between price and MA //////////////////////////////////////////////////////////// study(title="Percent difference between price and MA") source = close useCurrentRes = input(true, title="Use Current Chart Resolution?") resCustom =...
I am proposing an alternative to the percent change. An alternative that is symmetrical to both positive and negative change, unlike percentage change. The simple idea is to have a positive number if the reference value (called val in the script) is lower than the stock value and needs to be multiplied; a negative number instead if the reference number is...
This script is very much beta! This is a simple script to visualize how two symbols move in relation to each other. For example if the underlying symbol is a 2x Gold ETF (meaning the ticker moves at 2x the spot price of gold---if gold goes up 3% this ticker should go up 6%) and the comparison symbol is an 2x inverse gold ETF (at gold up 3% this should move down...
S Use this script to see the depths of corrections and also to see how long it has been since a correction. I published this script because the last time the SNP has gone this long without a 5% correction was 1996 excluding bear markets of course. NOTE: This script is a 2 in 1. In order to see correction depth only use the first 3 plot settings as...
This indicator allows you to quickly view the true % change per candlestick (prev close > current close), but it also has 3 other customizable values for you to set your own % change conditions (such as open > high). Feel free to edit the script to suit your own needs as well.
This histogram displays (high-low)/close Can be applied to any time frame.
A very simple yet, very useful and lovely oscillator, most of the time, when we have a position in a trend and we want to take a look at percentage of our gain or loss, we need to use the "Price Range" tool time and time again, this, in some trades that you would buy and sell in less than an hour, can become a problem, also, if you have few different things going...
Here is the lazy person's Fibonacci retracement drawing machine. Keep the bars in range pretty big, but you can play around and see what it does. If too small, it gets in your way, and If oversized, your retracements will not properly work upward and downward according to action. So, if you notice that it's always retracing the same direction, then lower the...
This histogram displays price or % change from previous bar. Can be applied to any time frame. This strategy buy if value above 0 and sell if value below 0. You can change long to short in the Input Settings Please, use it only for learning or paper trading. Do not for real trading.
This histogram displays price or % change from previous bar. Can be applied to any time frame. 06/01/2017 Added look back bars.
This histogram displays price or % change from previous bar. Can be applied to any time frame. 15/12/2016 Update: Number of digits after the floating point for study values on the axis now two.
Shows difference between price and daily/weekly/monthly/hourly/whatever VWAP. In v2: option to color bars average percentual difference of custom period histogram changes color depending on which levels it's at Levels/period/color etc can be customized. Use these inputs in the timeframe box: M - month W - week D - day 2D (or 3W or 2M or whatever) = 2 Days (or...
Shows the difference between vwap and price in percent. You can can choose between multiple timeframe vwap. Default is normal daily. The levels on the indicator can be changed to whatever you want to. In the chart above we can see eurusd reverting up at 3% below monthly vwap, after the brexit dip, It then turns down again at 1% from monthly and lastly it turns up...
I needed the %R code in one of my indicators and TradingVeiw have it hidden. So here is my attempt.