SMA_EMA_CPR_PivotThis Script can do multiple jobs in single indicator.
Like -:
Plot 3 SMA as per your inputs.
Plot 3 EMA as per your inputs.
Plot CPR Levels.
Plot Pivot Levels.
Plot Previous Day High Low.
Indicator can used in Intraday stock trading, Positional Trading and options trading.
Please Enjoy.
Pivot-Punkte und Levels
CPR with MAs, Super Trend & VWAP by MackraniThis script will allow to add CPR with Standard Pivots and 4 Indicators.
Standard Pivot has 9 levels of support and 9 levels of resistance lines. It has CPR , 3 levels of Day-wise pivots , 3 levels of Weekly pivots and 3 Levels of Monthly Pivots .
In Addition to the CPR and Pivot , this script will allow user to Add 4 more Indicators - SMA , EMA , VWAP and SuperTrend as well.
All the Support and resistance levels can be enabled / disabled from settings. It will allow to select multiple combinations of support and resistance levels across 3 levels at any of the 3 time-frames individually and combined.
All 4 Indicators can be can be enabled / disabled from settings. This will allow the indicators to be plotted individually and combined along with any combination of CPR & Pivots .
These number of combinations will allow user to visualize the charts with desired indicators, pivot support & resistance levels on all or any of the 3 time frames.
For Ease of access, listed few points on how the script works..
- CPR and day-wise level 1 & 2 (S1 & R1) enabled by default and can be changed from settings
- Day-wise Level 2 & 3 (S2, R2, S3 & L3) can be enabled from settings
- Weekly 3 levels and Monthly 3 levels can be enabled from settings
- CPR & pivot levels colored in blue lines
- All support levels colored in Green
- All resistance levels Colored in Red
- Day-wise pivot , support & resistance are straight lines
- Weekly pivot , support & resistance are cross (+) lines
- Weekly pivot , support & resistance are circle (o) lines
- SMA , EMA , VWAP and SuperTrend Enabled by Default
- SMA Colored in Orange
- EMA Colored in Red
- EMA Colored in Teal
- SuperTrend Colored in standard Red & Green with triangle arrows
- Any combinations can be selected from settings-> Inputs & style
SMA_EMA_CPR_PivotThis Script can do multiple jobs in single indicator.
Like -:
Plot 3 SMA as per your inputs.
Plot 3 EMA as per your inputs.
Plot CPR Levels.
Plot Pivot Levels.
Plot Previous Day High Low.
Indicator can used in Intraday stock trading, Positional Trading and options trading.
Please Enjoy.
Automated OHLC OLHC LevelsA simple, clean, effective visualization tool, for the OHLC or OLHC of a chosen candle/timeframe.
Apply this indicator using a higher timeframe, in conjunction with other levels and the directional bias, to easily recognize trading opportunities at lower timeframes.
SuperTrend Support & Resistance(My goal creating this indicator) : Provide a way to categorize and label key structures on multiple time frames so I can create a plan based on those observable facts.
The Underlying Concept / What is Momentum?
The Momentum shown is derived from a Mathematical Formula, SUPERTREND. When price closes above Supertrend Its bullish Momentum when its below Supertrend its Bearish Momentum. On the first bar bearish momentum is detected a resistance Level is made at the highest point of the previous bullish condition. On the first bar bullish momentum is detected a support Level is made at the lowest point of the previous bearish condition. As I become a better analyst I will find better techniques and this source code may become open-source, but as of now it remains protected. This indicator scans for bullish & bearish Momentum on the Timeframes selected by the user and when there is a shift in momentum on any of those time frames (price closes below or above SUPERTREND ) it notifies the trader with a Supply or Demand level with a unique color and Size to signify the severity of said level.
What is Severity?
Severity is How we differentiate the importance of different Highs and Lows. If Momentum is detected on a higher timeframe the Supply or Demand Level is updated. The Color and Size representing that higher timeframe will be shown. Demand and Supply Levels made by higher Timeframes are more SEVERE then a demand level made by a lower Timeframe.
Technical Inputs
- If you want to optimize the rate of signals to better fit your trading plan you would change the Factor input and ATR Length input. Increase factor and ATR Length to decrease the frequency of signals and decrease the Factor and ATR Length to increase the frequency of signals.
- to ensure the correct calculation of Support and Resistance levels change BAR_INDEX. BAR_INDEX creates a buffer at the start of the chart. For example: If you set BAR_INDEX to 300. The script will wait for 300 bars to elapse on the current chart before running. This allows the script more time to gather data. Which is needed in order for our dynamic lookback length to never return an error(Dynamic lookback length cant be negative or zero). The lower the timeframe the greater the amount of bars need. For Example if I open up a 30 sec chart I would enter 5000 as my BAR_INDEX since that will provide enough data to ensure the correct calculation of Support and Resistance levels.
Time Frame Inputs
- The indicator has 3 Time Frame Displays where you can choose how SEVERE You want the Supply and Demand Levels. For Example: 1min, 3min, 5min, 15 min Levels, 60 min levels Weekly Levels, etc.....The higher the Timeframe Selected the more SEVERE the Level.
- Use the Amount of time Frames input to increase or limit the amount of time frames that will be displayed onto the chart.
Display Inputs
- The toggle (Trend or Basic) option Lets the trend determine the colors of the Support and Resistance Levels or Basic where the color is strictly based on if its a high or a low ( Trend = HH,HL,LL,LH)
- Toggle options (Close) and (High & Low) creates Support and Resistance Levels using the Lowest close and Highest close or using the Lowest low and Highest high.
Toggle on both or toggle off both in order to use both these values when determining the trend of your chart. For Example this would mean (Price has to close higher then the highest high. Not only make a higher high or a
higher close) and the inverse (Price has to close lower then the lowest low. Not only make a lower low or a lower close)
How Trend Is being Determined ?
(Previous Supply Level > Current Supply Level ) if this statement is true then its s LH so the trend is bearish if this statement is false then its a HH so the trend is bullish
(Previous Demand Level > Current Demand Level ) if this statement is true then its a LL so the trend is bearish if this statement is false then its a HL so the trend is bullish
(Close > Current Supply Level ) if this statement is true technically price made a HH so the trend is bullish
(Close < Current Demand Level ) if this statement is true technically price made a LL so the trend is bearish
- Fully customize how you display and label Market Structure in specific timeframes. Line Length, Line Width, Line Style, Label Distance, Label Size, Label Background Size, and Background Color can all be customized.
- Lastly Is the Trend Chart. To Easily verify the current trend of any timeframes displayed by this indicator toggle on Chart On/Off . You also get the option to change the Chart Position and the size of the Trend Chart
*****The Current charts timeframe has to lower then a month to ensure correct calculation of Supply and Demand Levels*****
How it can be used ?
(Examples of Different ways you can use this indicator) : Easily categorize the severity of each and every Supply or Demand Level in the market (The higher the time frame the stronger the level)
: Quickly Determine the trend of any Timeframe
: Get a consistent view of a market and how different time frames are behaving but just use one chart.
: Take the discretion from hand drawing support and resistance lines out of your trading
: Find and categorize strong levels for potential breakouts
: Trend Analysis, Use multiple time frames to create a narrative based on observable facts from these time frames
: Different Targets to take money off the table
: Use labels to differentiate between different trend line setups
: Find Great places to move your stop loss too.
[EDU] Close Open Estimation Signals (COE Signals)EN:
Close Open Estimation ( aka COE ) is a very simple swing-trading indicator based on even simpler idea. This indicator is from my educational series, which means that I just want to share with another way to look at the market in order to broaden your knowledge .
Idea :
Let's take n previous bars and make a sum a of close - open -values of each bar. Knowledgeable of you may already see the similarity to RSI calculation idea . Now let's plot this sum and see what we have now.
We can see, that whenever COE crosses over 0-level, uptrend begins, and if COE crosses under 0-level, downtrend begins. The speed of such signals can be adjusted by changing lookback period: the lower the lookback, the faster signals you get, but high-quality ones can be obtained only via not-so-fast lookback as when the market is consolidating or volatility is to high, there can be many garbage signals, like 95+% of other indicators have.
Let's explore more and calculate volatility of COE(v_coe in the code): current COE - previous CEO .
Now it appears that when v_coe crosses over 0-level, it's a signal, that this is a new low and soon the uptrend will follow. Analogically for crossing under 0-level .
I guess now you understood what these all are about: COE crossings show global trend signals , while Volatility COE ( v_coe or VCOE ) crossings show reversal points .
For signals I further calculated volatility of VCOE(VVCOE) and then volatility of VVCOE(VVVCOE). Why? Because for me they seem to be more accurate, but you are welcome to experiment and figure best setups for yourself and by yourself, I just share my opinion and experience .
COE can be helpful only in high liquidity markets with good trend or wide sideways .
If you want to experiment with COE, just copy the code and play with it. Curious of you will probably find it helpful eventhough the idea is way too simple.
By it's perfomance COE can probably beat QQE at open price settings.
(use open of the price at indicator to get zero repaint! )
Examples :
If you any questions, feel free to DM me or leave comments.
Good luck and take your profits!
- Fyodor Tarasenko
RU:
Close Open Estimation ( aka COE ) — это очень простой индикатор свинг-трейдинга, основанный на еще более простой идее. Этот индикатор из моей образовательной серии, а это значит, что я просто хочу поделиться с другим взглядом на рынок , чтобы расширить ваши знания .
Идея :
Возьмем n предыдущих баров и составим сумму a из close - open -значений каждого бара. Знающие люди могут уже заметить сходство с идеей расчета RSI . Теперь давайте построим эту сумму и посмотрим, что у нас сейчас есть.
Мы видим, что всякий раз, когда COE пересекает выше 0-уровня, начинается восходящий тренд , а если COE пересекает ниже 0-уровня, начинается нисходящий тренд. Скорость таких сигналов можно регулировать изменением ретроспективы: чем меньше ретроспектива, тем быстрее вы получаете сигналы, но качественные можно получить только через не- такой быстрый взгляд назад, как когда рынок консолидируется или волатильность слишком высока, может быть много мусорных сигналов, как у 95+% других индикаторов.
Давайте рассмотрим больше и рассчитаем волатильность COE(v_coe в коде): текущий COE - предыдущий CEO .
Теперь кажется, что когда v_coe пересекает уровень 0, это сигнал о том, что это новый минимум и вскоре последует восходящий тренд . Аналогично для пересечения под 0-уровнем .
Думаю, теперь вы поняли, о чем все это: COE пересечения показывают глобальные сигналы тренда , а пересечения Volatility COE ( v_coe или VCOE ) показывают точки разворота .
Для сигналов я дополнительно рассчитал волатильность VCOE(VVCOE), а затем волатильность VVCOE(VVVCOE). Почему? Потому что для меня они кажутся более точными, но вы можете поэкспериментировать и подобрать оптимальные настройки для себя и для себя, я просто делюсь своим мнением и опытом .
COE может быть полезен только на рынках с высокой ликвидностью и хорошим трендом или широким боковиком .
Если вы хотите поэкспериментировать с COE, просто скопируйте код и поэкспериментируйте с ним. Любознательные из вас, вероятно, сочтут это полезным, хотя идея слишком проста.
По своей результативности СОЕ может составить конкуренцию широко известному QQE, используя open цены.
(используйте open цены на индикаторе, чтобы получить нулевую перерисовку! )
Примеры :
Если у вас есть вопросы, пишите мне в личные сообщения или оставляйте комментарии.
Удачи и профита всем!
- Федор Тарасенко
ABC 123 Harmonic Ratio Custom Range Interactive█ OVERVIEW
This indicator was designed based on Harmonic Trading : Volume One written by Scott Carney.
This is about harmonic ratios which expanded through retracement and projection.
Derivation is pretty much explained here such as Primary, Primary Derivation, Secondary Derivation and Secondary Derivation Extreme.
Derivation value depends on minimum retracement or maximum projection.
This derivation value utilize Fibonacci value which later expand to Harmonic Ratio.
█ INSPIRATION
Inspired by design, code and usage of CAGR . Basic usage of custom range / interactive, pretty much explained here . Credits to TradingView.
This build is based and visualized upon Harmonic Trading Ratios.
This build also was stripped down from XABCD Harmonic Pattern Custom Range Interactive .
█ CREDITS
Scott Carney, Harmonic Trading : Volume One (Page 18)
█ FEATURES
Table can positioned by any position and font size can be resized.
Labels can be either changed to alphabets or numbers.
█ HOW TO USE
Draw points from Point A to Point C.
Dont worry about magnet, point will attached depends on High or Low of the candle.
█ USAGE / TIPS EXAMPLES (Description explained in each image)
Support and resistance zonesDiscretionary traders often use support and resistance zones that are based on past price action of the instrument traded.
This simple script is used to plot support and resistance zones for a given instrument. The data for the zones themselves has to be determined by the past price action of the instrument and are not based on the provided data by Tradingview.
The zones input has to come as a string. Each zone consists of a string with: ",,<"S"|"R"|"L">,<"Normal"|"Strong">"" The different zone strings have to be seperated by either new line or space.
An example for the zones input looks like:
3919.25,3919.25,L,Normal
3897.50,3906.50,R,Normal
3891.00,3894.50,S,Strong
I appreciate any feedback.
Trend EMAHello Everyone. This is a new indicator which helps you to follow the trend & find out the support and resistance in Intraday. Time frame is best for this indicator is 5mins. You can also use Vwap which you get in this indicator. This is an Indicator which I'm using to manage my trades.
N.B. I don't insist you to use this. I'm not RESPONSIBLE for your profit and loss after using this indicator.
Day_Week_High_LowPlot lines for Daily weekly high and low. It helps to find support and resistance for weekly option trading. Weekly high low acts as Support and resistance.
Volume ROC and 2nd Derivative by ianhThe purpose of this code is to graph a volume simple moving average (sma) and it's first and second derivatives to provide traders with additional information that might determine if volume is converging or diverging with price. The yellow line represents the volume sma, the red line represents the first derivative or the rate of change of the volume and the green line represents the second derivative or acceleration of volume. For long term trading, if the yellow line is "trending" upwards with higher highs and higher lows it means that volume is supporting the over all long term price trend. If the volume is decreasing over the long term then it is not supporting the current price trend. The first and second derivatives may help short term weekly traders confirm price movements. There are several different conditions to look for:
First (Red) ++ Second (Green) --, Trading volume at the current price has "peaked" and the price may reverse soon.
First (Red) -- Second (Green) ++, Trading volume at the current price has "troughed" and the price may reverse soon.
First (Red) + Second (Green) +, Trading volume is not only increasing but it's accelerating which might confirm a large price movement.
First (Red) - Second (Green) -, Trading volume is not only decreasing but it's decelerating which might indicate little to no price movement.
Divergence DetectorOverview:
- Identifies divergence on the specified indicator. Support for additional indicators in development.
- Divergence labels indicate strength of divergence, making it easy to spot stronger divergence.
- Fully customizable (including inputs for indicator type and length, pivot lengths, divergence type, lookback range, price source, and more), allowing you to see exactly what you want based on your chart type and timeframe.
Inputs:
See tooltips on Inputs page in settings.
Please report any issues/bugs, enhancement suggestions, or requests for additional indicator support.
SGX Nifty OHLC for Nifty 50 IndexSGX Nifty OHLC for Nifty 50 Index
What is this Indicator?
• This indicator calculates the OHLC levels of SGX Nifty.
How does SGX Nifty impact NIFTY and the Indian Market?
• Helps in predicting NIFTY50 Index behavior.
• The closing price of today's 9.14 am (IST) SGX Nifty will be the Open of today's Nifty50 Open. This helps to determine the opening Gap of Nifty50.
• SGX Nifty OHLC levels can act as support and resistance in Nifty50.
Who to use?
• Beneficial for Day Traders, who trade in NIFTY Index.
What timeframe to use?
• Use 1 minute for better accuracy.
• Other timeframes will also work.
Important Note
• Use 1 min timeframe for accurate OHLC.
• In other timeframes OHLC will have negligible difference, it won't be huge.
• This indicator will appear only on NIFTY Index and Futures chart.
• To hide the warning label go to the indicator Menu.
Psychological levels (Bank levels) PsychoLevels v2 - TartigradiaPsychological levels (Bank levels) plots "round" price levels above and below current price, by truncating after the nth leftmost digits, based on neuroscience research of how humans intuitively calculate in logarithms.
Psychological levels, also called bank levels, are "round" price numbers around which price often experience resistance or support, because traders and investors tend to set orders around these round numbers.
Calculation here is fully automatic and dynamic, contrary to other similar scripts, this one uses a mathematical calculation that extracts the 1, 2 or 3 leftmost digits and calculate the previous and next level by incrementing/decrementing these digits. This means it works for any symbol under any price range.
This approach is based on neuroscience research, which found that human brains intuitively approximate numbers on a logarithmic scale, adults and children alike, and similarly to macaques, for more info see Numerical Cognition , Weber-Fechner Law , Zipf law.
For example, if price is at 0.0421, the next major price level is 0.05 and medium one is 0.043. For another asset currently priced at 19354, the next and previous major price levels are 20000 and 10000 respectively, and the next/previous medium levels are 20000 and 19000, and the next/previous weak levels are 19400 and 19300.
Usage:
* By default, strong upper level is in green, strong lower level is in red, medium upper level is in blue, medium lower level is in yellow, and weak levels aren't displayed but can be. Half levels are also displayed, in a darker color. Strong levels are increments of the first leftmost digit (eg, 10000 to 20000), medium levels are increments of the second leftmost digit (eg, 19000 to 20000), and weak levels of the third leftmost digit (eg, 19100 to 19200). Instead of plotting all the psychological levels all at once as a grid, which makes the chart unintelligible, here the levels adapt dynamically around the current price, so that they show the upper/lower levels relatively to the current price.
* A simple moving average is implemented, so that "half-levels" are also displayed when relevant (eg, medium level can also display 19500 instead of only 19000 or 20000). This can be disabled by setting smoothing to 1.
* By default, the script runs on the daily timeframe, whatever the current chart's timeframe is. This is to reduce the variability in levels, to make it less noisy than intraday price movement, but this can be changed in the settings.
* The step can be adjusted to increase the gap between levels, eg, if you want to display one every 2 levels then input step = 2 (eg, 22000, 24000, 26000, etc), or if you want to display quarter levels, input 0.25 (eg, 22000, 22250, 22500, etc). The default values should fit most use cases and cover most psychological levels.
I made this script mainly to train with PineScript, but I found it surprisingly accurate to define levels that are respected by price movements. So I guess it can be useful for new traders and experienced traders alike, as it's easy to forget that psychological levels can often be as strong if not stronger than technical levels. It can also be used to quickly screen other minor assets for trading opportunities. For example, a hybrid strategy would be to manually define levels on BTCUSD but using this script to automatically define levels in crypto altcoins and quickly screen them for a trade opportunity that can be greater than with BTCUSD but with the same trend.
Changes compared to v1:
* Deduplicated redundant calculations and hence faster script.
* Added half-step levels, which allows to more easily see breakouts (because the levels are still on-screen).
* All steps are now configuration on the GUI.
* Revamped color scheme.
* And major reasons to post as a separate v2 script rather than updating: because we can't update the original description nor screenshot. I have now read more about the House Rules and saw other scriptmakers, so I am trying to write better descriptions like wizards do, by explaining not only how the script works but what the underlying financial concept is to a neophyte audience.
Psychological levels (Bank levels) by tartigradiaPsychological levels (Bank levels) plots the price levels by truncating after the nth leftmost digits, as it appears the humain brain tends to intuitively calculate in log/zipf.
Contrary to other similar scripts, this one uses a mathematical calculation that extracts the 1, 2 or 3 leftmost digits and calculate the previous and next level by incrementing/decrementing these digits. This means it works for any asset at any price range.
For example, if price is at 0.0421, the next major price level is 0.05 and medium one is 0.043. For another asset currently priced at 19354, the next and previous major price levels are 20000 and 10000 respectively, and the next/previous medium levels are 20000 and 19000, and the next/previous weak levels are 19400 and 19300.
By default, strong upper level is in green, strong lower level is in red, medium upper level is in blue, medium lower level is in yellow, and weak levels aren't displayed but can be. Strong levels are increments of the first leftmost digit (eg, 10000 to 20000), medium levels are increments of the second leftmost digit (eg, 19000 to 20000), and weak levels of the third leftmost digit (eg, 19100 to 19200). Instead of plotting all the psychological levels all at once as a grid, which makes the chart unintelligible, here the levels adapt dynamically around the current price, so that they show the upper/lower levels relatively to the current price.
A simple moving average is implemented, so that "half-levels" are also displayed when relevant (eg, medium level can also display 19500 instead of only 19000 or 20000). This can be disabled by setting smoothing to 1.
I made this script mainly to train with PineScript, but I guess it can be useful for new traders, as it's easy to forget that psychological levels can often be as strong if not stronger than technical levels.
Auto Fibonacci Levels + Auto Trend Line generatorAnother indicator for you guys!!!
This indicator consists of the 5 key Fibonacci retracement levels, plotted automatically to user input settings. I also have included an auto support/resistance trend line generator.
What is a Fibonacci retracement?
'Fibonacci retracement is a method of technical analysis for determining support and resistance levels. It is named after the Fibonacci sequence of numbers, whose ratios provide price levels to which markets tend to retrace a portion of a move before a trend continues in the original direction.' - Wikipedia
How to use the Fibonacci retracement?
- The Fibonacci levels are default. These percentiles from price to the average of the high in a sample and low in a sample give you a guideline of where a bottom may be, where a top may be, and where a range is being created.
- Look for the price to reject from 61.8% and 76.4%, and also look for price to bounce from 38.2% and 23.6%. If a lower low/higher high is made, the fib levels will follow and the percentiles within will be recalculated after a 5 candle offset period.
- If you see price trending towards the lower percentiles (38&23) and using the 50% as resistance, look for a break downwards and vice versa.
-This Fibonacci set as all others is subject to fake-out, always use this with another series indicator, or don't use it as a signal for entry at all (unless you have a backdated strategy)
How to use the trend line generator?
-The trend line generator will only plot when a lower low/higher high has taken place within the input amount of candles. It is also offset by a user amount.
-The check box will give the option to have the trend line's plot or not.
- If you see a green/red dot it means that that will be your first coordinate for the trend line, and until the computations are complete it will give you an idea of which direction it will be in (resistance or support)
-When opening this indicator zoom out all the way to connect any trend lines that do not load automatically.
Let me know if you have any questions, suggestions or issues! Thank you everyone!
-Cheatcode1 :)
SP:SPX TVC:DXY BMFBOVESPA:EUR1! CME:BTC1! BINANCE:BTCUSDT
Price based ATR%This script shows upto two lines that represent a deviation from the price based on a multiple of the ATR%
close + ( (close / 100) * ( atr * upperMultiplier) )
and
close - ( (close / 100) * ( atr * lowerMultiplier) )
Round NumbersThis is a variation of "Round numbers above and below" indicator by BitcoinJesus-Not-Roger-Ver. I've made it two sets of lines and round number range changeable. Defaults at 100 and 500 round numbers.
Pivot Average [Misu]█ This Indicator is based on Pivot Points.
It aggregates closed Pivot Points to determine a " Pivot Average " line.
Pivot Points here refer to highs and lows.
█ Usages:
Pivot Average can be used as resistance or breakout area.
It is also very usefull to find battle zones.
It can also be used as a trend indicator: when the price is below, trend is down, when price is above, trend is up.
Mixed with momentum/volatility indicator it is very powerfull.
█ Parameters:
Deviation: Parameter used to calculate pivots.
Depth: Parameter used to calculate pivots.
Length: History Lenght used to determine Pivot Average.
Smoothing MA Lenght: MA lenght used to smooth Pivot Average.
Close Range %: Define price percentage change required to determine close pivots.
Color: Color of the Pivot Average.