Gridimus MaximusGridimus Maximus draws N grid lines stepping by price or percent in chosen direction from set price, or draws N grid lines stepping by pivots.
The queue function method used is adapted from an example provided on the PineCoders website, much gratitude to LucF for this gem!
To prevent grid lines out of range from causing chart to rescale right click on chart's price column and enable Scale Price Chart Only.
Pictured example above is using Type Of Increment: Steps By Pivot, Number Of Steps: 5.
Pictured example below is using Type Of Increment: Steps By Price, Number Of Steps: 6, Starts From Price: $10k, Steps By Percent Or Price: $10k.
Pictured example below is using Type Of Increment: Steps By Percent, Number Of Steps: 7, Starts From Price: $10k, Steps By Percent Or Price: 33%.
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 using this script!
Percent
Percent Change per CandlestickThe script has two options: volatility (absolute value of change) and updown which has positive and negatives. That's it. useful for alerts.
TheLineMuch like the new map for traders indicator, but with less resources needed by the computer therefore runs more smoothly.
Return (Percent Change)This Script displays Regular or Log Returns as either a line or histogram and labels the current bar.
If something other than price is selected as the source, the result is percent change with a positive or negative slope.
If a moving average of price is used as the source, the result is analogous to a strength index
Other options include a look-back period adjustment (the default is 1),
smoothing results by converting to an EMA, and
Bollinger Bands with Length and Standard Deviation inputs.
Combo Backtest 123 Difference between price and MA This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Percent difference between price and MA
WARNING:
- For purpose educate only
- This script to change bars colors.
ATR PercentAverage True Range in Percent to price
- 2 customizable horizontal line: to be used as custom levels.
Previous Close To Current High Percentage Per CandleGet the percentage of previous candle price to current high candle price.
This script will make your life easier to get percentage without you calculating it.
Hope you enjoy the tool and let me know if there is any feedback or improvement request.
Thank you very much. :D
--------------------------------
Formula:
Previous To High Percentage Per Candle = (high - previous / previous) * 100%
--------------------------------
Percent changeThis indicator shows WMA ribbons of the percentage of price movements.
Strong peaks show unusual price movement and might indicate a good time to close your position.
A narrow band shows stable price movement and could indicate a good time to get into a position. (Squeeze)
Percentage Relative StrengthA relative strength indicator that compares your main symbol (one on your chart) strength to another symbol by percentage.
The result is plotted as a histogram showing which symbol is rising or falling more in percentage.
In case your chart symbol is TSLA (Tesla) and the indicator 'Symbol to compare' is SPX:
GREEN area (above zero) means TSLA is rising more than the SPX.
RED area (below zero) means TSLA is falling more than the SPX.
To these who wants to understand calculation, it's pretty straightforward.
For each asset we calculate everyday percentage change based on previous close and current close.
We take main asset (chart symbol) percentage and subtract it from percent of change of the symbol we want to compare to.
Result are smoothed by SMA (Simple Moving Average)
You can select different indexes or cfds such as S&P500 (SPX), NASDAQ 100 (NSX), RUSSELL 2000 (RUT) and NASDAQ (IXIC).
Default is S&P 500 (SPX).
Enjoy and Like if you like.
ATR_percentATR_percent is an indicator that i have created to find and be ready for volatility in stock or index. Works best in the 15 min time frame. Use case can be for Nifty and Banknifty.
Basically, whenever the ATR _percent line leaves the yellow line for upwards, market is falling. While if it is heading downwards, the market is rising.
Noldo CFTC COT Commodities IndicatorHi.
Hello, this script has the same logic as Noldo CFTC COT Forex indicator :
It is the version for the future markets.
Major future assets are the subject.
Usage
This script works only on SPGSCI (S&P Goldman Sachs Commodity Index).
You must open SPGSCI :
www.tradingview.com
It only works on 1W graphics.
Because COT data is announced on Tuesday, it will cause repaint every Tuesday.
However, since it is a terminal, this factor is not strong enough to affect your decisions.
For use, you should open the bottom panel, go a little to the right in the history section and enlarge the panel you have opened.
The terminal will take its form in the presentation and provide analysis on the big screen.
COT data are pulled via Quandl.
Regards.
Noldo CFTC COT Forex IndicatorHello.
I decided to publish the COT Forex Indicator, which I created for convenience, as an open source.
The period DXY is determined by the differences between the two signals on the Pivot Reversal Strategy on the weekly chart.(1W)
Thus, relative period point search is automated.
When the new signal comes, after the closing, the number of bars between the previous bar before the new signal comes both directions.
This elapsed time is our period in which we will look back on relative changes.
If there is no signal, the period remains constant, thereby allowing us to notice excessive changes.
And in this period, COT data exchange and price changes are reflected in the terminal.
The automatic time-keeping of the period and the automatic generation of the relative differences of the terminals according to the period prevents a great loss of time.
Thus, we create one of the strong columns that enable us to make decisions.
The other column is the signals we obtained as a result of technical analysis.
The last column is the economic agenda and data tracking.
That's why I made my decision to share this:
Real life should not be distracted,
should not be drowned in the sea of technical analysis.
COT data is one of the most important and valuable tools that bring us signs of real life,
It should not be forgotten !
A lot of time is lost while doing these analyzes, and I wanted this to be much more practical and tidy!
And we can see if there are factors that will back up our incoming signals.
Usage
This script works only on DXY .
You must open DXY.
It only works on 1W graphics.
Because COT data is announced on Tuesday, it will cause repaint every Tuesday.
However, since it is a terminal, this factor is not strong enough to affect your decisions.
For use, you should open the bottom panel, go a little to the right in the history section and enlarge the panel you have opened.
The terminal will take its form in the presentation and provide analysis on the big screen.
COT data are pulled via Quandl.
General kind request:
Authors who know the technical broad expression of the security function or have an idea about its creation, please reach me.
Best regards.
Multi MA on candlestick volume indicatorUses 5 volume moving averages to change the candlestick color depending on how high above average volume is.
The volumes plotted at the bottom of the chart are set to the same settings as the indicator, you can see the volume bars that stick higher above the orange moving average are a different color on the chart to the smaller ones.
Any volume bar that is below the moving average is colored purple.
Stochastic PC [BigBitsIO]This script is a very simple stochastic calculation similar to Stochastic RSI that calculates a stochastic value of a moving average of the percentage price change. The purpose of the indicator is to find positive and negative volatility momentum peaks which might be able to help identify changes in trends. Like other stochastic indicators, it may be best used in combination with other indicators.
Explained:
- First gets the % change for the candle from open to close. Green candles produce positive values, red candles produce negative values.
- Then it creates a moving average of that number to try and reduce impacts of very large moves, although this can be changed with the super-fast smoothed length setting. Set it to 1 to remove all smoothing.
- After that, it creates a K value using a stochastic calculation based on the range of the price change moving average we created in the previous step. Set the smoothK to one to use a fast stochastic calculation, it is a slow stochastic calculation by default (3-period SMA of stochastic)
- Finally, to create the D value it calculates a 3-period SMA of the K value.
FAQ:
- Why is this script useful?
- This script can help identify the peaks and valleys of volatility momentum
DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB.
ATR %Displays ATR percentage with 2SD. When value is greater than 12% I consider the stock as highly volatile
Percent Trailing Stop %===========
Percent Trailing Stop %
===========
Another Stop Loss Indicator today - our last Fixed SL/TP script went down quite well, this one is for adding a Percent Trailing Stop from Entry Price to your own strategy.
You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT profitable and NOT recommended!
You should be using this code as a way of adding a % Trailing Stop to your own scripts - hope it helps!
You should also notice that a generally considered losing strategy (a simple MA cross) could actually become profitable with careful money management - try combining this Trailing Stop script with our Fixed Stop/Take Profit script for really accurate management of your capital.
-----------
Good Luck and Happy Trading!
Any Security vs. Any Security Change Comparison [BigBitsIO]This script allows you to compare the percentage-based change in the price of any two securities on any given (and supported) timeframe on the chart. This can give you a very simple way to compare any two securities against one another.
Ex: If your base security gained 5%, and the other security gained 3% in a single day, the change comparison would show a green bar of 2% because your base security outgained your other security by 2%.
Features:
- 2 securities to compare. A base and other.
- Shortlist of default securities to choose from.
- Ability to override the default securities list and use any security supported by TradingView. You must use the correct security string to do so.
- Resolution is tied to whatever the current chart is using. This way the view of the indicator always reflects the correct resolution of the chart.
- If either market has a 0% change, it is considered likely closed during that period and will result in a change of 0%, as they shouldn't be compared at that time.
Growing or Waning Patterns [Alerts]Example how to color patterns of 3 bodies growing or waning by percentage with or without trend. Also included option for alert triggers. The yellow triangles on the chart denote where the alert triggers will fire.
• Choose Pattern Of Filter: shows bodies growing or waning or both.
• Sample Lengths Of AvgBar: number of recent bars to use for average size.
• BigBar Is Min% Of AvgBar: the minimum percent of average the big bar must be.
• MedBar Is Max% Of BigBar: the maximum percent of big bar the medium bar can be.
• SmlBar Is Max% Of MedBar: the maximum percent of medium bar the small bar can be.
• Repeat Pattern If n Bars: the number of bars to ignore repeat patterns, 1 allows all.
• Trending: on requires the growing or waning patterns to also be trending.
• GrayBars: colors non pattern bodies gray.
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 using this script!
Binance BTC ALT Ratio Difference [BigBitsIO]This was a follower suggested script. This script compares the USDT and BTC relative prices of a particular altcoin traded on Binance by calculating it's USDT price comparative to BTC. This is a very simple calculation (ALT/USDT price divided by ALT/BTC price). From there, we simply subtract the BTC/USDT price from the ALT ration price and we can see if a coin is trading comparatively high or low compared to it's BTC relative price.
This indicator may or may not be useful for you. However, for the purposes of my development series for indicators, I have published it to highlight the ability to concatenate strings to manipulate securities.
Features:
- Dropdown to choose from several built-in altcoin selections.
- Dropdown to choose to show a USDT base difference in the ratio, or a percentage based difference (might be useful for considering fees).
- Dropdown to choose the resolution of the indicator.
- Checkbox to toggle the option to use a custom altcoin.
- Text input to allow entry of a custom altcoin from Binance. Please only use the prefix on its trading pair vs. BTC. I cannot guarantee this will work with all altcoins. They must be traded vs. USDT and BTC on Binance.
- Concatenated strings to manipulate selected securities.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
Rate of change[UO]Shows the rate of change of prices. The rate of change is the percent "change" of the related bar.
When tje rate of change is too different, there is a trade opportunity.
Seeing the rate of change you can guess if you can judge if you are making a good trade
Yes the information is already on the bar chart but without knowing you might easily miss the importance of that %10 change over there.
Spread PercentThis indicator shows the percent change between the highs and the lows (or optionally the open and close) of each candle. You may also set a low and a high percent threshold to better highlight the candles that exceed your desired spread percent. Red signifies low spread, green is high spread - these are unrelated to the color of the candle body. There is also the option to display a moving average of the spread percent at your desired length which is a representation of volatility over time.
This is not only helpful for historical analysis over time, but this can also be a time saver if you are trying to calculate the measured distance of a move. Save clicks - no more needing to use the measuring tool.
The settings of the indicator on the chart above are:
- Measure Candle Body Only? - No
- Highlight Thresholds? - Yes
- Thresholds Based on Moving Averages? - Yes
- Low Percent Threshold - 3.0
- High Percent Threshold - 7.0
- Show Moving Average? - Yes
- Moving Average Length - 5
InfoPanel - SeasonalityThis panel will show which is the best month to buy a stock, index or ETF or even a cryptocurrency in the past 5 years.
Script to use only with MONTHLY timeframe.
Thanks to: RicardoSantos for his hard work.
Please use comment section for any feedback.