Example method of how to use an input text area to import, offset, and plot CSV data using an array. Note that when using this method there is a limit of 4096 total characters per input.
For working with data sets larger than 4096 total characters an alternative method of pasting CSV data directly within the script can be seen below :
NOTICE: This is an...
Example method of how to import, offset, and plot CSV data using an array.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by...
Compare ticker with time offset.
I couldn't find anything like this. I was hoping to use it to find a ticker that might act like a leading indicator for another one! Who knows?
In the settings you can choose any ticker to compare, input the the number of bars you want it to be offset (positive or negative), and select plot source.
This script allows you to set Horizontal and Vertical offset to EMA lines.
Default settings is to have one set of EMAs to show bearish wave (red line and circles)and the second set to show bullish wave (green line and circles).
It also includes supporting EMAs & SMA for direction and confirmation
Timeframe option allows you to overlay Higher TF EMAs onto the...
This script will calculate when the next candle needs to close for the moving averages to cross .
If you use EMAs that are far away, the convergence point may be ridiculously far away from the chart. I recommend using ' Scale Price Chart Only ' with this script.
I think you can use this to organize your watchlists if you trade crossovers. If your cross is...
Example primarily focuses on:
• creating a simple function to get a time offset value
• using the offset to set drawing locations in the future
• how to properly set up and manipulate line positions
Extras ( end of script ):
• inclusion of vertical lines for visualising start and end points using the time offsets
• inclusion of label to read out the current...
This script points out the positions a lagging span leaves a Bollinger Band.
This script does not plot a lagging span but moves the Bollinger Band forward.
You can find profit opportunities by combining this script and risk management.
Bollinger Bands is a popular indicator.
It contains a moving average, an upper band and a lower band.
Calculating time-based offsets is necessary when coders need to draw lines or labels into the future because using `xloc = xloc.bar_time` in `label.new()` or `line.new()` is then mandatory.
This script provides a function to help with those calculations:
f_timeFrom(_from, _qty, _units)
The function calculates a negative (into the past) or...
Based on the idea that some Donchian Channels in trading books have a lookback or offset of 1 in order to use it as a sort of trailing stop or so that the channels don't adjust. Ichimoku's Tenkan and Kijun lines have a very similar formula to Donchian Channels. In case anyone wants to use those lines as a sort of more fixed trailing stop, offset the Kijun, Tenkan,...
There does not seem to be an offset for most Donchian Channel scripts out there. Many trading books have an offset of 1 but most Donchian Channels out there do not for some reason. I included one in case there is a need for it.
This is the optimized version of my MTFSBB indicator with capability of possible bands prediction in case of negative shifting (to the left).
Make me happy by using it and sending me your ideas about the prediction.
Another multi-timeframe indicator presents 3 MTF (each) Bollinger Bands and 3 MTF (each) Reverse Engineering RSI and of course with shifting (left/right) capability.
RERSI in a simple term is the RSI but on the main chart alongside with candles.
There are many adjustable options like:
- Show/Hide each BB
- Show/Hide each MA
- Non-integer BB deviation values
Just 3 Bollinger Bands with different adjustable timeframes plus shifting (left/right) capability and non-integer deviation values.
I wrote this because I couldn't find the perfect BB indicator that matches my needs. Feel free to use it.
Example how to color the trigger bar of the condition and n-1 prior bars using only 1 barcolor() function.
Currently when offsets are used in barcolor(), bgcolor(), plot(), plotarrow(), plotchar(), or plotshape(), the offset only works with a simple (static) integer. If series (dynamic) integers are used instead, there is not an error, but the series values are...
SadLittleThings Price Compare With Offset MTF by RagingRocketBull 2018
This indicator lets you compare multiple assets across different timeframes, supports offsets and alpha multipliers.
Standard TradingView Compare doesn't have Offset/Timeframe/Multiplier options, hence this indicator.
- compare current asset's price with 2 custom ext...
This is a simple vertical offset function. It will work with price data or data from indicators. Sometimes I find it useful, particularly when I want to eliminate extraneous trading signals, to use this offset function with some of my indicators. I hope you find it useful too.
Original (Simple Horizontal Value and Offsets/SHV) Requested by @TAFA94
Simple adjustable incremented horizontal offset lines extending up and down from a Median point.
Set full value for manual Median point control, or set an incremental rounding value for auto Median adjustment.
Source and look-back period inputs for fine tuning auto...