Nikhil strategy 1how to make a best strategy in live market are the analysis very fundamental strong and technical
Индикаторы ширины рынка
Currency Strength V2An update to my original Currency Strength script to include a 2nd timeframe for more market context.
Changed the formatting slightly for better aesthetics, as the extra column and colors became unsightly.
Also added a new setting for "Flat Color", which changes the value background to a simple green/red for above or below 50, rather than using the Color Scale that increases color intensity the further it gets from 50.
________________________________________________________________________________
This script measures the strength of the 6 major currencies USD, EUR, GBP, CAD, AUD and JPY.
Simply, it averages the RSI values of a currency vs the 5 other currencies in the basket, and displays each average RSI value in a table with color coding to quickly identify the strongest and weakest currencies over the past 14 bars (or user defined length).
The arrow in the current RSI column shows the difference in average RSI value between current and X bars back (user defined), telling you whether the combined RSI value has gone up or down in the last X bars.
Using the average RSI allows us to get a sense of the currency strength vs an equally weighted basket of the other majors, as opposed to using Indexes which are heavily weighted to 1 or 2 currencies.
The additional security calls for the extra timeframe make this slower to load than the original, but this was a user request so hopefully it will prove worthwhile for some people.
Those who find the loading too slow when switching between charts may be better off still using the original, which is why this is posted as a separate script and not an update to the original.
This is the table with Flat Color option enabled.
Advance Decline IndexIn index investment, the USI:ADD is the Advance Decline Index that can be plotted in most charting platforms. Just like there is a volatility index for most major indeces (VIX, VOLQ) and even for Apple (CBOE:VXAPL), USI:ADD also has variations specific for the index you are analyzing (SPX: ADD, NASDAQ: ADDQ).
The USI:ADD index is a measurement of stocks in the index that are advancing (bullish) minus those that are declining (bearish), the exact formula being $ADV minus $DECL.
The basic idea of how to use the ADD index is that when the value is above 1000 it is considered overbought. Conversely, when the value is below -1000 it is considered oversold. When the value is near the medium line, it is not a good idea to trade as it is considered to be in a choppy market.
This script attempts to identify the correct Advance Decline Index for the index you are analyzing. It will plot the overbought and oversold levels that are applicable to the ADD line. If you are analyzing a stock, it will use the most appropriate ADD line for that stock sector or exchange.
OBV Trend Indicator by Bruno MoscanOBV Trend is a modification I made in other scripts, so that after months of testing, I got a very accurate indicator as to the right moment to enter a high-yield trade.
The red line indicates the very short-term OBV variation, counting the last 3 candles.
The yellow line shows the short-term OBV variation, counting the last 9 candles.
The white line shows the medium-term OBV variation, counting the last 21 candles.
The trend is up (Bull Market) while the order of the lines on the chart is Red/Yellow/White.
The trend is Bear Market while the order of the lines on the chart is White/Yellow/Red.
If the Yellow line is in the first position, either from bottom to top, or from top to bottom, it is a sign that the trend is changing, reversing, wait for the lines to organize before entering the movement.
When the lines are so close together that it is difficult to understand the correct order of the lines, it means that you are facing the best possible entry point. Wait for the lines to separate, at the first perfect food signal as described above, enter the movement, at this point, your stoploss may be very short, positioned at the base of the last candlestick.
The indicator works best on H1, H2, H4 and D1. In the Weekly until the signal reversal occurs, you can lose several days, sometimes weeks. On minute charts, there are many reversals and you can be stopped many times.
Good trends.
*Translate by Google Tradutor*
*In Brazil, we speack Portuguese, not Spanish or English :p *
HH & LL ScalperThis script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.
Generally HH and HL shows up-trend, LL and LH shows down-trend.
If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.
If you use smaller numbers for left/right bars then it will be more sensitive.
Custom IndexCreate your own stock index with up to 20 tickers!
The weight of the index can be selected from market capitalization and equal weight.
You can easily see how your favorite stocks are performing.
In addition, moving average lines (10SMA, 20SMA, 50SMA, 100SMA, 150SMA, 200SMA) can also be displayed as an option.
----以下日本語
最大20銘柄を用いて独自の株価指数を作成できます!
指数のウェイトは時価総額、イコールウェイトから選択でき、
お気に入りの銘柄群がどのようなパフォーマンスなのか簡単に分かります。
また、移動平均線(10SMA、20SMA、50SMA、100SMA、150SMA、200SMA)もオプションで表示可能です。
On Balance Volume DeviationThe objective of this indicator is to be a leading indicator that can detect a large price change before it happens. It is based on the On Balance Volume (OBV) indicator, which is a leading indicator based on the premise that a large change in volume often precedes a large price change. This indicator charts the N-Period deviation of the OBV data and displays it as a histogram. This is overlayed on an area chart of the M-Period SMA of the histogram data. This combination helps to visually enhance the pattern that signifies that a jump in price is about to happen.
Useage:
When the histogram bars are above the area plot, then a jump in price is about to happen
As with all leading indicators, there are a lot of false signals. Confirm with price action or another indicator
The further the histogram bars are above the area plot, the larger the predicted jump in price
It seems to work better on shorter intraday timeframes than on the longer timeframes
At the close of a market session, it is a good indicator of how much the price will jump on the opening of the next market session.
DOW 30 - Market BreadthDOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
This indicator is calculated from all stocks in the DJI as of 8/9/2022;
- Evaluating VWAP,
- 9 EMA,
- 20 EMA.
Vwap Calculations;
Stock above Vwap = 1 (Vwap Bull),
Stock below Vwap = 1 (Vwap Bear),
As there are 30 stocks in the DJI, there is a max value of 30 Vwap Bulls/ Vwap Bears.
Ema Calculation;
Stock above 9 EMA = 0.5 (EMA Bulls),
Stock below 9 EMA = 0.5 (EMA Bears),
Stock above 20 EMA = 0.5 (EMA Bulls),
Stock below 20 EMA = 0.5 (EMA Bears),
For the EMA Bulls to reach 30 all stocks must be trading above both the 9 EMA and 20 EMA to reach a Max Value of 30.
The reasoning for this calculation is to suggest the current strength and speed of the current turn in the market.
Horizontal Lines:
There are three horizontal lines, MAX, MIN & Neutral;
MAX & MIN
Resides at the 30 & 0 levels suggesting the market is currently at an extreme. Representing all stocks are moving in the same direction together.
When the MAX or MIN are represented in the VWAP Line this represents directional conviction in the underlining DJI.
Neutral
Neutral resides at the 15 level and represents that the market is either about to make a decision or is choppy.
EXAMPLE
Below are some examples of how the DOW 30 indicator is able to represent the current market conditions.
Understand Current Market Conditions, either being Bullish, Neutral, or Bearish.
See live Market Mechanics, and understand the current market direction on a short-term timeframe.
DOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
If there are any additional requests to the indicator feel free to leave a comment or privet message.
Best of luck trading.
ZigZag with Retracement LevelsThis is a modification to "ZigZag with Fibonacci Levels" by LonesomeTheBlue.
By default, the script finds the ZigZag, draws Fibonacci lines and labels accordinly. ZigZag period can be set.
The modification to the original script provides the following features:
1) Option for user to customize retracement levels, if they don't want to use Fibonacci levels. This allows for different strategy adoptions.
2) Option to show Fibonacci or custom retracement levels based on the latest pivot (including the current bar)
For example:
Enjoy and happy trading~!!
Crypto Terminal [Kioseff Trading]Hello!
Introducing Crypto Terminal (:
The indicator makes use of cryptocurrency data provided by vendor INTOTHEBLOCK.
NOTE: The cryptocurrency on your chart must be paired with USD or USDT. Data won't load otherwise - possibly transient. For instance, BTCUSD or BTCUSDT, ETHUSD or ETHUSDT.
Provided datasets:
Twitter Sentiment Data
Telegram Sentiment Data
Whale Data (i.e. % of Asset Belonging to Whales)
$100,000+ Transactions
Bulls/Bears (Bulls Buying | Bears Selling)
Current Position PnL (Currently Open Positions for the Coin are Retrieved and Plotted. Data is Split into Currently Profitable Positions, Losing Positions, and B/E Positions)
Average Balance
Holders/Traders Percentage (Addresses are Retrieved and Classified as Holding Accounts or Trader Accounts)
Correlation
Futures OI
Perpetual OI
Zero Balance Addresses
Flow (Money Inflow & Outflow)
Active Addresses
Average Transaction Time
Realized PnL (Addresses with Realized Profits, Realized Losses, and B/E)
Cruisers
A few more data points are provided.
Additionally, you can plot the values of any dataset in a pane below price.
Below are images of plottable data; different cryptocurrencies will be shown for each example (:
Twitter sentiment data.
Assess this data lightly; difficult to confirm accuracy.
Telegram sentiment data.
Assess this data lightly; difficult to confirm accuracy.
Percentage of asset belonging to whales.
$100,000+ transactions (volume oriented)
Bulls buying; bears selling.
Current positions at profit; current positions at loss; current positions at breakeven.
Average balance.
Percentage of asset belonging to traders; percentage of asset belonging to holders.
Asset's 30-interval correlation to BTC.
Perpetual open interest.
Zero-balance addresses.
Flows.
Active addresses.
Average transaction time.
Addresses at realized profit; addresses at realized loss; addresses at breakeven.
Cruiser data.
Futures open interest.
Naturally, this data isn't provided for every cryptocurrency; NaN values are returned in some instances.
Table 1
I provided three data tables, which load independently, so you don't have to change plotted data to access values.
Table 2
Lastly, you can create a 10-asset crypto index and run calculations against it.
The image shows an example.
I'll update this script with additional calculations/data in the near future. If you've any suggestions - please let me know!
Enjoy (:
OBV CSI [mado]This Indicator shows you the strength of the Currency based OBV RSI.
If the Currency label is on the top, it is strong, if it is on the bottom, it is weak
use sample image
I use 1 chart just for OBV CSI :)
Stochastic Slow and OBV Percent Oscillator
Purpose - Stochastic is the best momentum indicator and On Balance Volume (OBV) is the best volume indicator. Why not combine both to come up with a more sophisticated oscillator?
How It's Done - I had to put OBV as an oscillator (returning values between 0 and 100) in order to put it in the same pane with the slow stochastic oscillator. Otherwise, their synergy won't be that great. So, I have decided to visualize OBV as a percentage relative to selected period's high and low value. That way, I can keep the OBV value to stay within boundary.
Interpretation
1. Dot color indicates the whether the stochastic K/OBV is over or below the stochastic D/Signal line.
2. When Stoch and OBV are moving in the same direction and are close together (on top of each other), this indicates a strong trend
3. When Stoch crosses up or down the OBV oscillator, it may indicate a trend reversal
Indicator Daily-Weekly-Range-In-PriceSpecification: Indicator Daily-Weekly-Range-In-Price helps traders to easily identify the price movement of a range that goes from highs to lows in a specific timeframe. Range price can be chosen between daily or weekly. It can be integrated with strategies giving us more information abot price movement.
Name:Daily-Weekly-Range-In-Price
Category: Mean Reversion. Range Trading
Timeframe: From weekly below, depending on the specific technique.
Technical Analysis: The indicator uses price action from daily to weekly using highs/lows to detect the range movement.
Suggested usage: Every Market especially for Swing Trading Operativity.
Daily-Weekly-Range-In-Price Indicator can identify automatically the range between highs and lows from weekly to minor timeframes with labels on the charts and an histogram helping shown on the chart to easily identify the volatility range juat at one glance.
Highly Dinamic Inputs Settings: Timeframe can be changed from the input options, labes indicating the range in price will change automatically.
God Number Channel v2(GNC v2)GNC got a little update:
1) Logic changed a bit.
I tried to calculate MAs based on the power(high - low of previous bars).You can see it the M-variables, as new statements were added in calculation section of MAs. I don't really know if I did right, because I didn't go too much in Pine Script. I just wanted to make a Bollinger-bands-like bands, which could predict the levels at which might reverse, using legendary fibonacci and Tesla's harmonic number 432. It's might sound as a joke, but as you can see, it works pretty good.
2) Customization :
No need to change Fibonacci ratios in code. Now you can do it in the GNC settings. Also MAs' names were made obvious, just check it out. Time of million similar "MA n1" has passed :)
3) Trade-entry advices :
I didn't tell you exactly the trade-entry advices, as I haven't explored this script fully yet :) But you probably understood something intuitively, when added GNC on the chart. Now I made things way more obvious:
1. Zones between Fib ratios show you how aware you should be of price movements. Basically, here are the rules, but you probably understand them already:
1.1 Red zone(RZ) : high awareness, very likly for price to be reversed, but if there is a clear trend and you know, than it might be a time for price to shoot up/down.
1.2 Orange zone(OZ) : medium awareness, not so obvious, as price might go between boundaries of OZ and continue the trend movement if such followed before entering the OZ. If price go below lower boundary of OZ and the next bar opens below this boundary, it might be a signal for SHORY, BUT(!) please consider confirmation of any sort to be more sure. Think of going beyond the upper boundary by analogy.
1.3 Green Zone(GZ) : if the price hits any boundary of green zone, it is usually a good oppurtunity to open a position against the movement(hit lower boundary -> open LONG, hit upper boundary -> open SHORT).
1.4 Middle Zone(Harmonic Zone)(MZ) : same rules from Green Zone.
IMPORTANT RECCOMENDATION : Use trend indicator to trend all signals from zones to follow the trend, 'cause counter-trending with this thing without stop loss might very quickly wipe you out , might if you will counter-trend strategy with GNC, I will be glad if you share it with the community :)
Reccomendation for better entries :
1) if the price hits the lower(or high) boundaries(LB or HB) zone after zone(hit LB or HB of RZ, then of OZ, then of GZ), it is a very good signal to either LONG, if price was hitting LBs , or SHORT, if hitting HBs .
2) Consider NOT to place trades when in MZ, as price in this zone gets tricky often enough. By the way, if you dont the see the harmonic MAs(which go with plot(ma1+(0.432*avg1)) ), then set the transparency of zone to 20% or a bit more and then it will be ok.
I will continue to develop the GNC and any help or feedback from you, guys, will be very helpful for me, so you welcome for any of those, but please be precise in your critics.
Thank you for using my stuff, hope you found it usefull. Good luck :)
SMA - SSL Hybrid - HalfTrendSMA - Halftrend Signal - SSL Hybrid ichi signal indicator
This indicator is actually a combination of several indicators to get the right signal in the direction of the market and gain profit
At first, there are some simple moving averages called MA, which are used only to display the simple moving average in different time frames.
Then we have the combination of a Halftrend indicator which is set in such a way that if the three Halftrend lines are green, it will issue an ascending signal, and if all three lines are red, it will issue a descending signal.
In the following, we have Tenkasen from Ichi Moko with SSL Hybrid, if the candlesticks are above Tenkasen and SSL Hybrid issues an upward signal, it is a suggestion to enter into a buy transaction, and if the candles fall below Tekasen and SSL Hybrid A bearish sign above the candle means a sell offer
It is more optimal to place the candlestick display in Heiken Ashi mode
God Number Channel V1 (GNC V1)Channel, made of 5 MAs, which a made this way: High of N-period SMA - Low of N-period SMA + X-period SMA (check the code), where N and X are defined by your input.
Main purpose: helps you understand in what range price can move.
WARNING!
HAS TO BE USED WITH OTHER INDICATORS TO HAVE MORE ACCURATE ENTRIES!!!
If the price is above or below the channel, it means that the movement is very strong and you count it as a trend, but be careful then the price returns to the channel, as correction will follow very soon. Use fib correction tool to understand the approximate depth of correction, works pretty good.
Recommendation: consider using the Vortex Indicator( len 21 and 14 are fine; for trend) and "Vumanchu Divergencies + B"(for anything, but calibrate for accuracy, otherwise there will be too much false signals). If you want to see more options where the price might go, just add new MA and add/substract to/from its value avg1*(any of fibonacci correction levels, I personally use 1.618 and 2.618 and for me it is ok): plot(show_ma1 ? ma1+( [ [ ]]]*avg1) : na, color = ma1_color, title="MA №1")
Recommendations and feedback are welcome(!)
Take your wins
Volume Trend Meter LTFA new take to an already popular indicator of mine, now with lower time frame support for a volume called Volume Trend Meter LTF (VTML).
The VTM LTF indicator measures the volume pressure at a specific part of the candle (Start, Middle, or the end of the candle) and displays it as a histogram.
This indicator sums up all green candle volumes and red candle volumes over the selected part of the candle (Select in settings - start end or middle) and plots their values by subtracting increasing volume and decreasing volume.
Use this indicator to identify increasing volume with the green candles (close bigger than open) and increasing volume of the red candles (close is smaller than open).
Can also work on daily charts and higher.
======= Calculation ==========
For Green Column: The total Volume of green candles is higher than the total red candle volume.
For Red Column: The total Volume of red candles is higher than the total green candle volume.
======= Volume Trend Meter LTF Colors =======
Green: Increasing buying pressure.
Red: Increasing selling pressure.
My original VTM (not the lower time frame version):
Like if you like and Follow me for upcoming indicators/strategies: www.tradingview.com
OBV with Volume/Momentum DivergenceCredits go to vyperphi696 and LazyBear for the original OBV with Divergence script.
This indicator has the new option to check for momentum divergence, which I have done by adding RSI and MACD data.
Hence the indicator allows combined testing of volume and momentum divergence. This feature aims to improve trend reversal detection by reducing false positives.
In summary, 3 divergence categories are shown by default as lines:
Volume + RSI + MACD (dark green/red)
Volume + RSI / Volume + MACD (light green/red)
Volume (gray)
Line colors can be adjusted via plot settings. Therefore it is also possible to distinguish Volume + RSI and Volume + MACD divergence if necessary.
Lastly, I edited the indicator scaling mechanism when changing from one timeframe to another; the transitions are smoother now. This only applies when auto-scaling is off.
Intrabar On Balance VolumeAn experimental modification of TradingView's built-in OBV indicator that calculates its value with intrabar data.
This leads to a more accurate OBV trace because it considers the price swings that happen within the time period of each candle, instead of only considering the candle close price.
For example: on a 4H timeframe a single candle spans 4 hours. In this indicator the OBV is calculated with 1-minute intrabar data, leading to a resolution of 240 intrabars per 4H candle (that is, it considers the volume and price swings that happened at each minute of those 4 hours).
Rets High/Low (2.0 Special Uncensored Edition)This script can be used as a visual aid in seeing the last highs and lows of price in a specific time period. It automatically updates the plots if new highs or lows are made within the given lookback period.
This is a fairly basic version currently, with new added features coming in future updates such as range between high/low and half and whole number detection.
BT Leading Candle IndicatorThe oscillator display consists of 3 lines (K, D and J - hence the name of the display) and 2 levels. K and D are the same lines you see when using the stochastic oscillator. The J line in turn represents the deviation of the D value from the K value. The convergence of these lines indicates new trading opportunities. Just like the Stochastic Oscillator, oversold and overbought levels correspond to the times when the trend is likely to reverse.
Function
BT Leading KDJ Candle Indicator use candles to indicate KD relationship. E.g. yellow candles for bull (K>=D) and fuchsia candles for bear (K=D and fuchsia for K KDJ K value
d --> KDJ D value
buysig --> KD buy signal in green triangle
selsig --> KD sell signal in red triangle
leadingline --> colorful leading line for KDJ
Pros and Cons
Pros:
1. Candle height can indicates the strength of trend and different colors are used for indicating KD relationship
2. a leading line is added as aux method to confirm KDJ signal
Cons:
1. It may satruate for extreme conditions of long and short as described in the chart, which is inherent KDJ shortcoming.
2. Not accurate for long and short entries and need filtering out noise and fake signal.
Remarks
More direct to observe and confirm trend with the leading line.
Read me
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Trading view is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Trading view community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or man hours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many