Ultimate risk management toolHow to use:
Use the cursor to select the time, entry, stop loss, and target position. Then a window will pop up and type the trading fee or any other things you want to adjust to calculate the actual reward/risk ratio according to the price you selected.
Known error:
Settings of this script can't be saved as default might due to the interactive price selection function. If anyone knows how to fix it, please let me know.
feature:
1. Dynamic profit label can move up and down vertically on the right-hand side of the box.
2. The breakeven line can tell you you can move your stop loss to the entry price when the price reaches it.
3. Calculate the actual reward/risk ratio based on the trading fee. The calculator only calculates the actual Risk/Reward Ratio, which might be helpful for scalpers.
4. When the price touches sl or tp, that side of the box will be highlighted. Sometimes it doesn't work but I will try my best to fix it. Feel free to share your idea to help me to fix it.
5. Price alert. This tool compares with the alert function but reopens it if you want to change the alert price.
Sentiment
Banknifty Major Component TableThe table presented here is comprised of major Banknifty Index constituents showing price change in percentage terms and RSI value of three different timeframes to gauge overall Banknifty sentiment. This table is primarily created to cater scalpers and day traders. It helps traders to see market activity at a glance.
OMXS30 A/DThe script implements the Advance / Decline indicator (A/D) for the Swedish index OMXs30.
The logic for the script is implemented accordingly:
A/D = Ʃ (A - D)
A = Number of daily advancing stocks in the OMXS30 index
D = Number of daily declining stocks in the OMXS30 index
The stocks included in this script as part of the OMXs30 index was last updated 2022-05-09
NoBrain BreakoutUse 3min. Time frame.
Buy Stock Selection:-
When Close Price Cross Monthly Standard Pivot R1 & Monthly Standard Pivot R1 is Greater than Previous Day High( PDH ) Or Close.
Price must be Above 44 MA ,48 EMA & Vwap
***Buy When 3min Candle closed Above Camarilla R4 or Monthly Standard Pivot R1 whichever is High.
Sell Stock Selection:-
When Close Price Cross Monthly Standard Pivot S1 & Monthly Standard Pivot S1 is Less than Previous Day Low( PDL ) Or Close.
Price must be Below 44 MA ,48 EMA & Vwap
***Sell When 3min Candle closed Below Camarilla S4 or Monthly Standard Pivot S1 whichever is Low.
Trading time for
1st wave 9.30am to 10.45am.
2nd wave 12.45pm to 2.45pm.
(Based on NSE/ BSE India)
Indicators:-
1) Pivot Points Standard - Time Frame monthly.only select R1
2) Pivot Points Camarilla- Only select R4.
3) SMA 44
4) EMA 48
5) Vwap
6) For Trailing Stop Loss use SuperTrend- Length-13 Factor-2.7 or Length-15 Factor-3 (3min Timeframe)
DiNapoli Candles TableThis indicator displays a matrix containing the color states of Dinapoli candles from Higher Timeframes.
Only Higher Timeframes states do appear in the table. Lower Timeframes are hidden due to inability to get reliable results for such behaviour in current Tradingview environment.
By default only 5 timeframes get activated: 1H, 4H, 1D, 1W and 1M. But many more are available to be displayed throught the Input Tab.
The position of the table can be customized through the input panel.
Note: The indicator is resource hungry, and sometimes it might need some seconds to fully populate the table.
ChillLax Percent Up and Down
Show the days that the stock is up 5% (default) or down 5%, from the previous close.
Useful to spot a cluster of those days. It indicates violent, choppy environment. It's better to keep your boat docked in choppy waters. Eg: see QQQ in 2008, 2000.
Intraday Super Sectors v2.0This indicator plots the two 'Super Sectors' (Cyclical and Defensive) showing intraday change from open
.
For reference:
Defensive Sectors:
XLE Energy (not always considered a true defensive sector, but I've thrown it in here for balance)
XLP Consumer Staples
XLU Utilities
XLV Health Care
Cyclical Sectors:
XLB Materials
XLC Communication Services
XLF Financials
XLI Industrials
XLK Information Technology
XLRE Real Estate
XLY Consumer Discretionary
Sector data retrieved from finance.yahoo.com on May 1, 2022
You're welcome to update the sector weightings from time to time. Don't worry about making it exactly 100% - the script automatically compensates and dynamically adjusts.
.
Outside of the cash session, you won't see anything (lines, clouds, %change etc.) which is perfectly normal. If you want to check to see if it really works, the 'replay' function might help!
.
.
.
* originally motivated by Cody to finish what I'd started, and feedback from TT and MDSS groups to 'always do better' (thanks guys!)
Accumulated Put/Call RatioThe Concept:
The Accumulated Put/Call Ratio indicator applies numerous adjustments to the conventional put/call ratio in pursuit of:
- clearer trading signals;
- adjustable sensitivity; and
- better readability.
Before getting into what the Accumulated Put/Call Ratio is, we first need to understand the original Put/Call ratio.
Put/Call Ratio
The conventional put-call ratio (P/C ratio) is calculated by dividing the number of traded put options by the number of traded call options.
A put option is the right to sell an asset, while a call option is the right to buy an asset. Generally speaking, sentiment is bearish when more put options are traded than call options. By dividing the number of puts to the number of calls, we can gauge how market participants feel about the current market condition. Since the P/C ratio uses puts as the numerator and calls as the denominator, a P/C ratio value above 1 suggests a bearish sentiment while a value below 1 suggests bullish sentiment.
However, the conventional P/C ratio also comes with some drawbacks.
Firstly, the P/C ratio is quite noisy and can create choppy trading signals.
Secondly, the P/C ratio generally moves inversely with the market, which might be counterintuitive for some people. The indicator would be much easier to read if it moved in the same direction with the market.
Thirdly, we cannot adjust the sensitivity of the P/C ratio through variable inputs (the raw P/C ratio data pulled from CBOE does not have any variable inputs).
This is where the Accumulated Put/Call Ratio comes in.
Accumulated Put/Call Ratio
The Accumulated P/C ratio attempts to address the above issues of the conventional P/C ratio by:
adding N bars of P/C ratio values together to get the Accumulated P/C ratio - such summation of multiple P/C ratio values greatly reduces the noisiness of the indicator;
calculating the difference between the current Accumulated P/C ratio and the previous high and low Accumulated P/C ratio values during a lookback period - this generates “difference from max.” and “difference from min.” signals that allow the trader to see both bullish sentiment and bearish sentiment simultaneously; and
adjusting the Accumulated P/C ratio such that trading signals are in the same direction as the market.
To further improve readability, the indicator calculates the mean and standard deviation values of the above differences to use as a coloring reference. A difference value closer to the mean will have more transparent colors, while a difference value closer to the 3rd standard deviation will have more solid colors (completely solid colors when > 3 standard deviations). This highlights the extreme values.
The Variables:
This indicator has three inputs: (1) N bars of accumulation, (2) Lookback Period, and (3) Standard Deviation Period.
The first variable “N bars of accumulation” sets the number of P/C ratio values for adding up. Smaller values produce fast but noisy signals, while larger values produce smooth but slow signals.
The second variable “Lookback Period” determines the lookback range for finding high and low Accumulated P/C ratio values. Again, smaller values are more sensitive but can become more choppy.
The third variable “Standard Deviation Period” is used for bar coloring only. This does not affect the indicator signal values.
The user will have to do some testing to see which settings suit their needs.
The Signals:
Trading signals for the Accumulated P/C ratio come in two forms:
1. Relative size of “difference from max.” (green bars) compared to “difference from min.” (red bars)
A P/C ratio closer to the max. is bearish (remember puts data is placed in the numerator), so when the “difference from max.” approaches 0, the indicator suggest bearish sentiment.
A P/C ratio closer to the min. is bullish, so when the “difference from min.” approaches 0, the indicator suggest bullish sentiment.
A “difference from max.” larger (in terms of absolute size) than the “difference from min.” is bullish.
A “difference from max.” smaller (in terms of absolute size) than the “difference from min.” is bearish.
2. Divergences
When the “difference from max.” is gradually decreasing during an uptrend, this forms a bearish divergence.
When the “difference from min.” is gradually increasing during a downtrend, this forms a bullish divergence.
Accumulated Net ValueThe Concept:
Accumulated Net Value (ANV) is an indicator that gauges buying/selling strength by looking at whether the closing price is closer to the high or the low. It’s like a tug of war - if buyers are more dominant, then the closing price should be closer to the high; and if sellers are more dominant, then the closing price should be closer to the low.
Additional adjustments are implemented to address price gaps. The indicator first compares the high and low of the current bar with the previous bar, and then use the higher high/lower low among the current and previous bars to calculate the distance from the closing price.
Price is only part of the equation. We know that volume is also an important factor when considering the strength of buyers and sellers. The ANV indicator takes volume into account by multiplying volume with the difference between the closing price and the high or low (depending on which one is more dominant). This generates the ANV for one bar, where such one-bar ANV will have a positive value during buyer-dominant conditions, and a negative value during seller-dominant conditions.
Since ANV for only one bar can be quite choppy, this indicator further adds the ANV of N bars together to get the final ANV signal, and then applies a simple moving average (SMA) to it.
The Variables:
This indicator has two inputs: (1) N bars of Accumulation, and (2) SMA Length.
N bars of Accumulation determines how many bars of ANV values are added together. SMA Length determines the length of SMA applied to the final ANV.
For daily charts, I use “5” or “10” for N bars of accumulation and “20” for SMA length.
For weekly charts, I use “4” for N bars of accumulation and “10” for SMA length.
The user will have to do some testing to see which numbers suit their needs. Smaller values are more sensitive and move faster, but show more choppiness and false signals. Larger values tend to be more reliable, but are slow to react to price movements.
The Signals:
Trading signals can be generated by comparing the ANV with either the SMA or the zero line:
- ANV above SMA: bullish;
- ANV below SMA: bearish;
- ANV above zero: bullish;
- ANV below zero: bearish.
Given that SMA signals are generally triggered earlier than the zero line signals, aggressive traders can trade based on the SMA line, while more conservative traders can trade based on the zero line (i.e., waiting for ANV to turn positive or negative).
Maddrix_club I - Scalper (3commas)Maddrix club I Scalper (3commas version). The code is very different from the ALERTATRON version.
It really is not the same!
Maddrix Club I is a simple, straightforward trading algorithm that goes long or short, based on user’s choice. It is considered to be a scalper, because it aims to capture small profits that accumulates and compound over time.
The theory behind it is based on trend following and DCA .
Strategy type one uses momentum to generate signals.
Strategy type two uses price action only
Very good results have been observed on the 1 min time frame though it technically works on all timeframe (5 min for example, 1 hour also). The most important part of this algorithm is risk management and capital preservation.
You can run this with very little capital, and always make sure that in the worst case scenario, meaning when the market goes against you and all your SO (Safety Orders) are filled, you are using less than your account balance.
If you are in a trending up phase on the weekly time frame, you can go long. If this is a definite trend down, of course go short. During a bear market, stay long, during a bull market, evidently long as well.
For totally new traders, I would recommend to LONG only, and set super low risk settings (cover a 50% drop for example), and see how it runs. Then, as you become a more experienced trader, you can identify trends and short as well, and/or increase your risk.
It works on all markets as long as there is volatility .
The best way to go about changing the settings, is to start off the default values. I’d run it and see how it fits your risk preferences.
There are absolutely no guarantees about this algorithm and past results are not indicative of future performance.
Fees, slippage and API delay: for any algorithm you will use (from me or others), please keep in mind that fees add up, slippage and delay creates differences between algo theory and reality. We can put in place systems to circumvent that, but we will always have them.
*** This one is SPECIAL 3COMMAS**
Percent Off All-time High (% Off High)Percent Off All-time High tracks the percentage difference between the previous day’s closing price and the All-Time high price of the security’s entire price history.
This metric tells you how far the price has deviated from/converged on the all-time high price.
DVD ScreensaverWatch it go! When will it hit the corner?
Get a breath of nostalgia with this fun little addition to your chart.
This is not indicative of any market movements, this is just something to look at while you wait.
This includes capabilities such as changing the size of the window, and background color of the window.
Sentimental Cycles with CrossingsThis indicator provides the following options, where you can choose to display:
DEMA TEMA cycles, filtered by default with sentiment.
Sentiment cloud, based on the 200ema area between the 1 minute and 1 hour lines.
One or both ema crossings with their respective timeframes (independent from current chart timeframe) and optional line display.
One or two tickers and their respective crossings based on selected timeframes.
Additional EMA lines supplied with their very own timeframe.
This indicator is intended to be used any way suitable to the user, nearly every aspect is customizable, and the defaults are just enough to get you started on deciding whether it's time to enter calls or puts.
TIPS for optimal results:
- Try using 2 charts: the 1 minute and the 1 hour per symbol. Under the 1 minute chart, use the 3 minute and 5 minute timeframe for crossings.
- Try to start a position when a sentimental DEMA TEMA cloud is beginning to form. The first bar usually pays thicc.
- Tickers SPY and VXX can be of good reference for market direction. If all crossings coincide, it's because there's a strong momentum in a certain direction for the market.
SPX/ES Basis [Overlay] [Moto]Hello traders,
This script visualizes the difference or "Basis", via %, in price between the SPX and The CME ES Mini Futures.
Understandably, if the ES is significant higher than it underlying index, correlated assets (like crypto) may be prone to revert to the downside, and vice versa if the ES is significantly under the SPX.
This indicator is to be taken in confluence with other factors and shouldn't be used on its own.
I've also included a resolution setting that will change the referenced candles of the SPX/ES. The default setting will have the time frame adjust with the observed resolution.
Thanks
Rotation Factor: Buy/Sell Pressure for Market/Volume ProfileRotation Factor is a simple formula to figure out the buy and sell pressure of the overall day. Rotation Factor is usually combined with Market Profile or Volume Profile analysis. It is designed to be used on the 30min timeframe with a 1D interval reset. It can be used on other timeframes, but results will vary. Some Rotation Factor traders like to use it on a daily with a 1M interval reset for longer term trading.
The formula is very clean because it only focuses on price action, highs and lows. The formula is as follows:
Current Bar makes Higher High and Higher Low +2 points
Current Bar makes Lower High and Lower Low -2 Points
Current Bar makes Higher High and Lower Low 0 Points
Current Bar makes Lower High and Higher Low 0 Points
Current High and Previous High are Equal and Higher Low +1 Points
Current Bar makes Higher High but Current and Previous lows are equal +1 Points
Current Bar makes Lower High but Current and Previous lows are equal -1 Points
Current High and Previous High are Equal and Lower Low -1 Points
I hope you enjoy this indicator, if you have any questions let me know in the comments.
VIX Volatility Trend Analysis With Signals - Stocks OnlyVIX VOLATILITY TREND ANALYSIS CLOUD WITH BULLISH & BEARISH SIGNALS - STOCKS ONLY
This indicator is a visual aid that shows you the bullish or bearish trend of VIX market volatility so you can see the VIX trend without switching charts. When volatility goes up, most stocks go down and vice versa. When the cloud turns green, it is a bullish sign. When the cloud turns red, it is a bearish sign.
This indicator is meant for stocks with a lot of price action and volatility, so for best results, use it on charts that move similar to the S&P 500 or other similar charts.
This indicator uses real time data from the stock market overall, so it should only be used on stocks and will only give a few signals during after hours. It does work ok for crypto, but will not give signals when the US stock market is closed.
**HOW TO USE**
When the VIX Volatility Index trend changes direction, it will give a green or red line on the chart depending on which way the VIX is now trending. The cloud will also change color depending on which way the VIX is trending. Use this to determine overall market volatility and place trades in the direction that the indicator is showing. Do not use this by itself as sometimes markets won’t react perfectly to the overall market volatility. It should only be used as a secondary confirmation in your trading/trend analysis.
For more signals with earlier entries, go into settings and reduce the number. 10-100 is best for scalping. For less signals with later entries, change the number to a higher value. Use 100-500 for swing trades. Can go higher for long swing trades. Our favorite settings are 20, 60, 100, 500 and 1000.
***MARKETS***
This indicator should only be used on the US stock markets as signals are given based on the VIX volatility index which measures volatility of the US Stock Markets.
***TIMEFRAMES***
This indicator works on all time frames, but after hours will not change much at all due to the markets being closed.
**INVERSE CHARTS**
If you are using this on an inverse ETF and the signals are showing backwards, please comment with what chart it is and I will configure the indicator to give the correct signals. I have included over 50 inverse ETFs into the code to show the correct signals on inverse charts, but I'm sure there are some that I have missed so feel free to let me know and I will update the script with the requested tickers.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index, Volume Profile with buy & sell pressure, Auto Support And Resistance, Vix Scalper and Money Flow Index in combination with this Vix Trend Analysis. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Premium IndexThis indicator shows the premium index data for the market (only crypto) you're currently looking at.
The premium index is the difference in price between the perpetual swap contract and the spot index price.
In plain and simple English: it shows whether the spot market for a specific coin is trading at a discount or at a premium.
This is official data from the exchange itself.
At the moment of publishing TradingView only has data for Binance.
So only use this indicator on Binance charts right now (USDT perps and BUSD perps).
Make sure you're looking at a perpetual swap contract, if you're looking at the spot market for example the indicator won't work.
Once TradingView adds more data like this I'll try to make sure that the logic of the code will also work for other markets.
NASDAQ Advance/Decline Line 1.0NASDAQ Advance/Decline Line is a Market Breath indicator.
Brought to you by IQ-trading (Andrei Bogdan) via Trading View Pine script. If you find this helpful in anyway, please leave a like!
A/D line calculates a ratio between total number of NASDAQ stocks advancing and total number of NASDAQ stocks in one day, providing another way to grasp the market breath at any moment.A
Green columns mean more than 50% of NASDAQ stocks are advancing, red columns mean more than 50% of NASDAQ stocks are declining.
Green values above the top band mean correlation to the upside, red values bellow the low band mean correlation to the downside.
Correlation means rising probability of capitulation (to the upside or to the downside).
For a better interpretation, NASDAQ Advance/Decline Line should be used in conjunction with other indicators (volatility, volume, etc.).
--------------------
NASDAQ here refers to the totality of assets listed on the NASDAQ exchange, not to the Nasdaq Composite index or the Nasdaq100 index.
NASDAQ is the second-largest stock exchange on earth, and operates the two major stock indexes based on companies that trade on its exchange: the Nasdaq Composite and the Nasdaq 100.
The Nasdaq Composite tracks the performance of more than 3,000 stocks listed on the Nasdaq while the Nasdaq 100 captures the performance of the exchange’s largest non-financial companies.
DDG PivotsDDG Pivots is an indicator that autonomously plots current reversal zones, areas of possible pivotal points for intraday trading, price targets, and true lows/highs.
This indicator will identify FINAL pivots (H/L) accurately, plotting either a green or red label to identify true lows/highs.
Once you are able to determine possible reversal areas and pivotal points, you will have a better idea on the current trend and whether these areas are respected/denied, after you can identify the correct trend, this indicator will then help by projecting predicted price targets on screen.
From entry to exit, this indicator helps ease your stress trading.
STOP STARING HOPELESSLY AT YOUR SCREEN, THIS INDICATOR HAS PUSH ALERTS FOR EACH OF THESE VITAL LEVLS.
*Turn on PUSH NOTIFICATIONS to alert you when these vital areas are touched*
positionsize calculatorHow to use:
Use the cursor to select the time, entry, stop loss, and target position. Enter the trading fee to calculate the reward/risk ratio and the actual reward/risk ratio (including the commission) according to the price you selected.
Known error:
Settings of this script can't be saved as default might due to the interactive price selection function. If anyone knows how to fix it, please let me know.
feature:
The visual Risk/Reward box, have three price labels on the right hand of the box.
Calculate the actual reward/risk ratio based on the trading fee.
The visual Risk/Reward box will extend automatically.
Make Your Own Index!Intro
For my first script, I have released Make Your Own Index version 1. It has a long way to go so please stay tuned. Scroll down to read all the updates and notes as they come in.
Why it matters
Making your index is important to quickly see an index of symbols that you want to chart. Having the ability to assign weightings gives you the opportunity to make the index equal weighted or custom weighted. As we all know, indexes like the S&P 500 are NOT equal weighted, but more heavily weighted toward the winners. Now, you can make your own of a basket of symbols and make them custom weighted or equal weighted. Have some fun exploring this.
Features
You select the symbols of your choice and then chart them as one line with a specific weighting. This can be done in the settings menu once the indicator is selected. Use the symbol search field to add a symbol. From what I have tested, it works for any symbol whether it's stocks, crypto, FX and more. The default is set to stocks.
The Weight field in the settings menu is where you can assign a specific weight to the symbol of your choice. This way you can make an equal weighted index or a custom weighted index. By default each symbol is set to 10 or 10%. There are 10 symbols in the menu, so at 10%, they are equally weighted! In the script I have made it so each weighting is in percentage terms. So type in the percentage and you're good to go.
The chart is currently displayed in a separate window and not as an overlay. This may change in the future. The line can also be changed slightly and the color of it. Stay tuned for more on this.
Send in feedback
I am a Pine rookie in all regards and I am surely looking for support, feedback, and/or ideas. I want to add a lot more to this. If you look at the settings you will see have some input fields that are in their first iteration and currently needing to be improved. Rather than waiting to make them perfect, I just want to get this out there and update as I go. Also, as mentioned, I will definitely need a little support at adding more features that I have in mind.
Credit where credit is due
I used a lot of Open Source indicators as inspiration to quickly get going so thank you to the following people and accounts who share open source scripts that you can use to learn, test, and get started instantly:
@TradingView
@LucF
@PineCoders
@KioseffTrading
@norok
@RedKTrader
@NeoButane
And many others. That's the beauty of open source!
Closing note
Publishing it open source so people can fact check my code and thinking. One thing I know for sure is that this can probably be created in a more efficient way. Nonetheless, please a take look and let me know what you think - I am excited to make some updates over the coming weeks.
Thanks for reading!
Wick Pressure by SiddWolfMultiple Wicks forming at OverSold & OverBought levels create Buying and Selling Pressure. This Script tries to capture the essence of the buy and sell pressure created by those wicks. Wick pressure shows that the trend is Exhausted.
How it works:
This Wick Pressure Indicator checks for three candles forming the wicks in overbought and oversold zones. The zones are set by RSI and can be changed in settings. Those three candles should form a bit long wick and length of the wick is determined by ATR. The ATR multiple can be changed from settings. And then the script draws a box in the area formed by three candle wicks.
Confluence:
This indicator should not be used on its own. You should include it in your existing trading strategy. Any indicator should be rigorously tested before making any real trades.
Settings is the Key:
Settings are key to all of my indicators. Play around with it a bit. Change the ATR multiplier. Read the tooltips to understand what each settings mean. Tooltips are the (i) button in-front of each settings.
FAQs:
Q. Does the indicator Repaint ?
--- No. None of my indicators repaints. What you see now is what's drawn in real time.
Q. Indicator doesn't show anything ?
--- Maybe you've messed up the settings so reset it. or try different coin/stock.
Q. Does this indicator give financial advice?
--- No. Nope. Nein. Não. नहीं.
Conclusion:
This indicator is very basic but if used correctly it can be very powerful. Hit me up if you'd like to see the screener/scanner for this or any of my indicators. If you have any questions or suggestions feel free to comment below. I'd love to connect with you. Thank you.
~ SiddWolf
USDT/USD PremiumKraken + FTX USDT premium indicator.
Inspired by John J Brown, forked from IAmSatoshi (Migrated to V5 and few changes + more markets coming).
John J Brown: "
USDt premium/discount exist because of conversion fees.
It is a good market indicator:
If USDt>USD, then market is growing and in need of liquidity;
If USDt<USD, then market is shrinking and has excess liquidity."