ATR Daily LevelsPlots the daily ATR on the chart as upper and lower levels.
It can be use to adapt your trading in high and low periods of market volatility, determine reasonable target or take profit, entry at likely mean reversion, stop loss beyond normal flows etc...
More on the script behavior:
- Daily ATR upper/lower levels are applied on the current day low/high;
- The ATR value is defined by the last D1 bar;
- Shows up to D1 timeframe;
- Configuration for the indicator's period (default: 20 period ATR);
- Configuration for plotting the indicator on the the x axis with an offset/at begining of the day (default: offset);
Levels
Simple Fibonacci RetracementSimple Fibonacci Retracement is a free and easy to use script to plot Fibonacci levels, for any assets like Stocks, Forex, Commodities , Cryptocurrencies etc. on any time frame chart.
Fibonacci Levels can be plotted using Lookback or manual Price input from the settings.
1. Lookback type - Candles
Determines the High and Low price of the user input number of Candles back (100 default) and plots Fibonacci Levels based on the calculated High and Low for the number of candles in the past from the current candle. The levels stay intact on any time frame as long as no new Highs or Lows are formed.
2. Lookback type - Days
Determines the High and Low price of the user input number of Days back (100 default) and plots Fibonacci Levels based on the calculated High and Low for the number of days in the past from the day of the current bar. The levels stay intact on any time frame as long as no new Highs or Lows are formed.
3. Manual Price Input
Plots Fibonacci Levels based on the user specified High and Low Price in the settings input fields. The levels stay intact on any time frame irrespective of new Highs or Lows being formed. Manual Price Input will enable the trader to keep the Levels intact and visually see the higher Fibonacci Retracement levels, when the price crosses beyond 100% retracement. On the other two lookback types, the Fibonacci levels are displayed only upto 100% retracement.
The Fibonacci levels can also be reversed by enabling 'Reverse' option from the settings.
Efficient Support & Resistance LevelsThis script is a mixture of my two previous scripts "True Strong Classical Support/Resistance Levels" and "Hidden Supports & Resistances + Round Levels". This combination brings on better identification of the most efficient support/resistance levels.
Note that "Hidden SnR Levels" part of the code is only expected to work on Forex charts, but apart from that, the other parts could be applied to any chart.
The script may:
- Draw classical support/resistance levels which retraced the price previously, aided by multi-timeframe analysis
- Draw hidden support/resistance levels based on psychological patterns of the price
- Adjust to wicks better than Pine Script built-in pivot functions
- Differ the levels color based on chart reactions
- Merge nearby classical levels to avoid congestion on the chart
Feel free to use it and send me your thoughts.
Ampleforth LevelsDisplays relevant Ampleforth (AMPL) levels:
- Target price, based on CPI (PCE)
- Equilibrium levels between which there is no rebase
[PX] External LevelHello everyone,
today I'd like to share a script, which enables you to use external logic to plot levels on your chart.
How does it work?
The concept is based on two scripts. One script, which uses an external input as a trigger to print a new level and one script that calculates an output, which will be fetched.
Sounds complicated? It really is not! Let's take a closer look.
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © paaax
//@version=4
study("RSI OS/OB")
l = input(14, "RSI Length")
ob = input(70, "Overbought")
os = input(30, "Oversold")
r = rsi(close, l)
hline(ob)
hline(os)
plot(r, "RSI", color=color.orange)
// The following plot produces an output, which will be fetched the "External Level"-script.
// It evaluates to one of the following three values: 1.0, -1.0 or 0.0
plot(crossover(r, ob) ? 1.0 : crossunder(r, os) ? -1.0 : 0.0, "Output", transp=100)
The example script above uses an RSI and two threshold levels (70 and 30). The logic here is, that whenever the RSI is crossing down the lower threshold or crossing up the upper threshold we'd consider the current movement to be either oversold or overbought. Therefore, it's a point of interest, which we could visualize with a level.
The script creates an output when the crossover or crossunder of a threshold happens. A crossover would result in a value of 1.0, a crossunder in a value of -1.0. In all other cases the value would be 0.0.
The output of the RSI script would then be used as an input of the External Level script, which has a "Source"-parameter in its input-section. If the fetched input shows 1.0, then the script prints a resistance level. If it shows -1.0 a support level will be printed. And that's basically it. A very simple approach to print levels on your chart with an infinite number of use cases.
For example, you could use fetch outputs from a MACD script, MA script, outputs based on volume or price movement. Just remember the output has to evaluate to either 1.0 or -1.0 and has to be selected in the input-section.
Hope that might be useful to some of you :)
Please click the "Like"-button and follow me for future open-source script publications.
If you are looking for help with your custom PineScript development, don't hesitate to contact me directly here on Tradingview or through the link in my signature :)
True Strong Classical Support/Resistance LevelsThis script is based on the approach of filtering signals by checking higher timeframes.
So basically setting higher numbers in "Strength Of Levels" option, will make the indicator check for support and/or resistance levels in timeframes higher than the current.
Unfortunately, I was forced to still use inefficient built-in functions pivothigh() and pivotlow(). I hope they fix them up soon!
I'm looking for any opinion about the idea and if you like any of my scripts, anything you send means a lot to me.
This script is published for the third time because of some moderators absurd behavior.
But thank heavens, the code is now more clean and of course the option "Strength Of Levels" accepts float numbers.
Pivot LinesThis indicator provides possible short, medium, and long-term support and resistance levels based on recent highs and lows. The furthest the level is, the thicker its line is, making it easy to spot stronger levels where 2 lines overlap. It can be configured to use open/close values instead of high/low for tighter levels.
Default settings:
- Short Period: 20
- Medium Period: 50
- Long Period: 100
This script also provides alerts for when the price crosses over/under a given level or pulls back.
Note: It sometimes displays supports above the price and resistances below it, I still have to figure out why (and fix it if possible), but it's still useful.
CoGrid ManagementThis strategy uses grid levels determined by pivot points based on the selected time period.
It's useful for swing trading without leverage, spot trading or for Hold management.
If the price goes down we buy and if it continues to go down we keep buying improving the average price.
When the price rises above the average entry price, we sell and if it continues to rise, we continue to sell.
It works for any pair as long as Buys and Sells quantities are adjusted correctly.
In these times of great economic change, good luck to everyone 🍀
Key price levelsFunction: labelling recent highs and lows automatically. Easy and clean.
In this example, we can see the previous low of the ticker is around 105.5, the previous high is around 120.
We can set up our entries and exits by referring to the last lows and highs.
Users can adjust the searching bar range by themselves.
All past LevelsContains all past levels that we need
1. Previous Monthly High
2. Previous Monthly Low
3. Previous Weekly High
4. Previous Weekly Low
5. Previous Daily High
6. Previous Daily Low
7. Previous Monthly Range Average (PMH+PML)/2
8. Previous WeeklyRange Average (PWH+PWL)/2
9. Previous Daily Range Average (PDH+PDL)/2
10. Monthly Open
11. Weekly Open
12. Daily Open
NSDT Auto Support / Resistance LevelsSimple script that automatically plots support and resistance lines based on the pivot points of the number of candles you choose to look back upon.
All options are editable.
NSDT Horizontal MA LinesDisplays up to 5 moving averages as horizontal lines based on the most recent candle. It is important to remember that the line is drawn from right to left.
This gives the chart a nice clean look.
Moving average lengths can be adjusted. Line lengths can be adjusted.
True ATH/ATL w/ labelsPlots the All Time High and All Time Low, with optional labels when a new ATH/ATL is created. Reaches all the way back in history for the true high/low, not limited to the most recent 5000 candles like most scripts. Works on all time frames.
[e2] Fibonacci slicerFibonacci slicer function.
The script is a simple calculator that accepts any 2 input values and divides the distance between those values using Fibonacci proportions.
- Easy for script integration (lines 21-35).
- The function accepts any 2 values and their order doesn't matter.
- Correctly divides negative-negative, negative-positive, positive-negative and positive-positive values.
- Calculates 7 levels derived from the Golden ratio (1.618033).
[RS][V4]ZigZag Percent Reversal - Helper - Retrace LevelsA helper script with multiple retrace level options.
Previous Day Week Highs & LowsThis script plots the previous n day and week highs and lows (previous two days and previous week by default).
Here are some additional info about the script behavior:
Plots highs and/or lows
Plots for days and/or weeks
Day highs and lows are shown only on intraday timeframes
Week highs and lows are shown only on timeframes < weekly
Classic_LevelsDisplays horizontal lines that represent support and resistance levels.
You can use it with any symbol and on any timeframe.
Parameter 'Time range' means number of candles in consideration. The beginning of the range is marked with a little violet circle.
The more 'Sensitivity' is, the more levels are displayed.
Leledc levels (IS) LeveLeledc - Exhaustion levels (InSilico)
Method for zero confirmation support/resistance level detection using Leledc Exhaustion Bars
Study is extension/mod of glaz script ,its implementing simple but unorthodox use-case for "Leledc Exhaustion Bars"
More information on core function in source scripts page ->
P.s Written quickly and spontaneously
Simple EMA_Hull_RSI StrategyAnother simple strategy. Crossing EMA & Hull MA and the level of RSI (overbought/oversold) defines long or short.
Can be improved by varying the parameters and adding take profit / stop loss.
Backtest: ETHUSD (Bitmex): 5m
Simple RSI Strategy Buy/Sell at a certain levelSimple Strategy based on RSI, using overbought or oversold levels, defined by us, sell or buy an asset.
Backtest: ETHUSD (Bitmex) - 3h
Combo Backtest 123 Reversal & Cueing Off Sup/Res Levels 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
Cueing Off Support And Resistance Levels, by Thom Hartle
modified by HPotter for trade signals.
The related article is copyrighted material from Stocks & Commodities.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Strategy 123 Reversal & Cueing Off Sup/Res Levels 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
Cueing Off Support And Resistance Levels, by Thom Hartle
modified by HPotter for trade signals.
The related article is copyrighted material from Stocks & Commodities.
WARNING:
- For purpose educate only
- This script to change bars colors.