Deep FinderThis indicator shows you the most convenient buying times. It helps you lower your average and earn high profits by purchasing incrementally.
Forecasting
Smart Money ConceptSmart Money Concept is being used to understand the Market Structure, Demand/Supply, and Risk Management.
- Lines represent BoS and CHoCH.
- X-cross and Diamond shapes represent Peak and Trough.
- Numbers represent the Spread Percentages.
Strategy: Combo Z ScoreStrategy version of Combo Z Score
Objective:
Can we use both VIX and MOVE relationships to indicate movement in the SPY? VIX (forward contract on SPY options) correlations are quite common as forward indicators however MOVE (forward contract on bonds) also provides a slightly different level of insight
Using the Z-Score of VIX vs VVIX and MOVE vs inverted VIX (there is no M of Move so we use inverted Vix as a proxy) we get some helpful indications of potential future moves. Added %B to give us some exposure to momentum. Toggle VIX or MOVE.
If anyone has a better idea of inverted Vix to proxy forward interest in MOVE let me know.
Noticeable delta is that Vix only approach over the back test period is slightly better. Questions would be, what is the structure and nature of the market over the test period and in a bear market would MOVE or combined perform better.
Combo Z ScoreObjective:
Can we use both VIX and MOVE relationships to indicate movement in the SPY? VIX (forward contract on SPY options) correlations are quite common as forward indicators however MOVE (forward contract on bonds) also provides a slightly different level of insight
Using the Z-Score of VIX vs VVIX and MOVE vs inverted VIX (there is no M of Move so we use inverted Vix as a proxy) we get some helpful indications of potential future moves. Added %B to give us some exposure to momentum. Toggle VIX or MOVE.
If anyone has a better idea of inverted Vix to proxy forward interest in MOVE let me know.
TR Unleaded Gasoline & Diesel Price by zdmreThe price of gasoline can change on any given day. Although a number of factors determine the price per liter, the price of crude oil makes the most impact. The per-barrel price of crude oil is most directly affected by world supply and demand. By closely monitoring the price of crude as well as keeping tabs on a few other factors you can estimate the cost to fill up.
Divide the crude oil (Moving Average) price by 159. One barrel of crude contains 159 liters. This will tell you the dollar amount per liter of refined gasoline attributed to crude. For example, if crude oil is $100 per barrel, then about $0.628 of the price of a liter of gas comes from the crude price.
By multiplying this amount by Dollar/Turkish Lira, special ratio and upper limit, you can get an estimated price per liter.
For example: using $0.628 , multiply by USD/TRY (17 TL), Special Ratio (2.1) and Upperlimit (1.03). An average cost per liter of gasoline is 23.09TL
The similar calculation applies to Diesel.
RELATIVE VALUE TRADE MANAGEMENT WEBHOOKThis script it's created to send open-close signals via webhook. It allows you to open a relative value position based in the relative graph. You can set the TP and SL levels and the script will send the signal to your exchange.
Due a pine limitations it is necessary apply the script in the 2 different actives and set the alerts. You can just do the relative analysis and then go to the first asset and set the script. Create your alert and then just go to the other asset and create the alert. It doesn't necessary to change anything in the script because the levels are the same.
It is also possible to do the analysis using the script, deploying the relative graph, but could be annoying sometimes due scales.
Positions will be placed at close always.
THIS IS IMPORTANT: I use Zignaly as a exhange so if you are using Binance or other YOU MUST CHANGE the code. If you know the JSON format that It requires would be easy.
Here is tips in all the important imputs. But let me explain the most important.
The MANDATORY fields are:
Ticker IDs: Here you must write the EXACT ID code for the active. Caps included.
Example : BINANCE:SUSHIUSDTPERP
It is also important select the correct market side. If you want to be long of ANY active you must write that ID in the LONG ID. For short positions is the same.
Time frame: Here you can select the time frame of the graph (not the current active graph, I mean the relative one.) The orders will be send using that time frame. I recommend to do the analysis in other window and then use the script to trigger the order in the time frame that you want.
Money management: In these fields you can select the qty that you will lose if the SL level is reach. Based in a determinated amount of currency or in a % of your capital.
Dates: It is important to select the start date. If the order is already open, we must look for the moment where the activation price was reached. If the order is unopened it is better to select the current date, so the order will be triggered when the entry level is reached.
Ids: If you have current open position you can set here that ID to send the correct order to the exchange.
To set the alert just call the function {{{strategy.order.alert_message}}}
[Pt] Premarket Breakout StrategyThis is a 1 trade per day strategy for trading SPY or QQQ index. By default, this is designed for 1 min time frame. This was an experimental script that seems to be profitable at the time of publication.
How it works:
Pre-market high and low is defined per trading day between 9:00 to 9:30 EST.
Then we looking for the first breakout on either PM high or PM low.
- Breakout high = long trade
- Breakout low = short trade
If long trade, we wait until Stochastic RSI D signal line to hit a lower threshold (18 by default). Then we enter long when K crosses above D line.
If short trade, we wait until Stochastic RSI D signal line to hit an upper threshold (82 by default). Then we enter short when K crosses below D line.
Stop loss for long
- set to PM low if entry is above PM high + %ATR buffer
- or set to PM range + %ATR buffer
Stop loss for short
- set to PM high if entry is below PM low + %ATR buffer
- or set to PM range + %ATR buffer
Profit target is set to 2x the risk by default.
*Note: Different Stochastic RSI lengths should be used if trading 5 min time frame. See tooltip.
Happy trading~~!
Nifty Gap ⇅This indicator help to find NIFTY gap up or gap down opening,
use this indicator on SGX NIFTY
Polynomial Regression Extrapolation [LuxAlgo]This indicator fits a polynomial with a user set degree to the price using least squares and then extrapolates the result.
Settings
Length: Number of most recent price observations used to fit the model.
Extrapolate: Extrapolation horizon
Degree: Degree of the fitted polynomial
Src: Input source
Lock Fit: By default the fit and extrapolated result will readjust to any new price observation, enabling this setting allow the model to ignore new price observations, and extend the extrapolation to the most recent bar.
Usage
Polynomial regression is commonly used when a relationship between two variables can be described by a polynomial.
In technical analysis polynomial regression is commonly used to estimate underlying trends in the price as well as obtaining support/resistances. One common example being the linear regression which can be described as polynomial regression of degree 1.
Using polynomial regression for extrapolation can be considered when we assume that the underlying trend of a certain asset follows polynomial of a certain degree and that this assumption hold true for time t+1...,t+n . This is rarely the case but it can be of interest to certain users performing longer term analysis of assets such as Bitcoin.
The selection of the polynomial degree can be done considering the underlying trend of the observations we are trying to fit. In practice, it is rare to go over a degree of 3, as higher degree would tend to highlight more noisy variations.
Using a polynomial of degree 1 will return a line, and as such can be considered when the underlying trend is linear, but one could improve the fit by using an higher degree.
The chart above fits a polynomial of degree 2, this can be used to model more parabolic observations. We can see in the chart above that this improves the fit.
In the chart above a polynomial of degree 6 is used, we can see how more variations are highlighted. The extrapolation of higher degree polynomials can eventually highlight future turning points due to the nature of the polynomial, however there are no guarantee that these will reflect exact future reversals.
Details
A polynomial regression model y(t) of degree p is described by:
y(t) = β(0) + β(1)x(t) + β(2)x(t)^2 + ... + β(p)x(t)^p
The vector coefficients β are obtained such that the sum of squared error between the observations and y(t) is minimized. This can be achieved through specific iterative algorithms or directly by solving the system of equations:
β(0) + β(1)x(0) + β(2)x(0)^2 + ... + β(p)x(0)^p = y(0)
β(0) + β(1)x(1) + β(2)x(1)^2 + ... + β(p)x(1)^p = y(1)
...
β(0) + β(1)x(t-1) + β(2)x(t-1)^2 + ... + β(p)x(t-1)^p = y(t-1)
Note that solving this system of equations for higher degrees p with high x values can drastically affect the accuracy of the results. One method to circumvent this can be to subtract x by its mean.
Market Structure Patterns (Nephew_Sam_)This market structure indicator plots HH/LL labels with a little twist - it can identify upto 14 custom patterns of your choice!
Indicator settings:
Pivot strength - highest or lowest point in a number of x left+right bars
Show - show zigzag lines, HHLL labels, Pattern Matches
Patterns - upto 14 patterns (7 bear, 7 bull) with custom label text
Styles - for labels and lines
Disclaimer
- Although 90% of this indicator is custom coded, I have to give credits to LonesomeTheBlue (www.tradingview.com) for his "Double Zig Zag with HHLL" indicator where I got the logic on how to plot the labels in real time.
- This indicator repaints labels in realtime (not historical candle)
Relative Volume Force IndexThis indicator can anticipate the market movements. Its posible because it calculates how much force (volume) it's necessary to move the price up or down. If it's necessary a lot of volume to move the price a little it's a reversion signal, but if a little volume could change the price whit elevate volatility, it's signal of reversion too. The indicator plots red if the market is down, and green if it's up, the size and the color of the bars cand demonstrate the movement relative force. Does it by the configurable averages. Not works well whit poor liquidity.
Super Combo TF15 Perfect (CDC+SuperTrend+ATR+EMA) by X4815162342Thank you for opensource code script
this script mix 4 indicator
1.ATR
2.SuperTrend
3.EMA 175 or 200
4.CDC Actionzone by piriya33
this great for TF 15 min Future and Spot
How to Use
------- Future ------
Short and Long by Buy and Sell Ribbon
You can take profit when see TP ribbon or SL when trend change
------- Spot --------
Green Candle Sign is Buy
Red Candle Sign is Sell
Crypto addict 7 Accurate Buy & Sell indicators
The below indicators are recommended on the daily chart only.
Yellow Diamond - Possible bottom of the market. This diamond will only flash a few times in a cycle on the BTC chart. This is actually one the BEST buying signal
Green Buy – Buy
Red Sell - Sell / take profits
BIG red cross – Possible top and best signal to sell or take profits
BIG green cross – possible bottom and the best signal to buy
Silver Line – 111 MA
The modified 111 moving average is also a very good indicator. The market will test this support/resistance before the 200 moving average.
Purple line – 200 MA
The modified 200 moving average is a very good indicator. You will get a feel if the markets are in a up or down trend and identifying support and resistance areas. A daily candle close above the line is support and markets can move upwards. A daily close below indicate resistance and markets will move downwards
Red line – Confirmed bullish / bearish cycle!!
Green Line - This MA line indicate the bottom of the cycle - your absolute best entry point for the next cycle. This MA got a 10-year accurate record.
Remember that past history does not guarantee future results.
VWAP/EMA50/EMA200We script this one for combining VWAP , EMA50 and EMA200. The tool is fantastic if traders know how VWAP , EMA work? Just adding this script in your favorite and work like charm:
VWAP: How to trade with that
- One of the simplest uses of the VWAP is gauging support and/or resistance.
- A trader who is long a stock can use the VWAP as a target exit if its trading below.
- A stock trading over intraday VWAP may be bullish , while a stock trading under may be bearish .
EMA 50/EMA200: How to trade with that timeframe 50-day or 200-day period
- Identify the trend of market in longterm
- Golden-cross (short term EMA cross above longterm EMA ) is call golden-cross signals. It is opportunity for buying.
- Deal-cross ( short term EMA cross below longterm EMA ) is call dead-cross signals. It is opportunity for selling.
- Identify support levels
- Identify resistance levels
Let me know if you see anything else that should be added/changed.
Asset risk metricsMeasures distance from a said source (high, close, open, ohlc4...) to last all time high, divided by the relative strength index . You are able to compare it to RSI or an RSI moving average (several types included). Default values are intended to be used on weekly timeframe , but serves as well on daily without changing much of the settings.
Feel free to edit/adapt the code, would love feedback on it.
No-lose trading targets (Based on MFI) By Mustafa ÖZVERThis code shows expected reaction target prices after sudden moving based on MFI . Red area means the price is on overbought area, green area means the price is on oversold area. If you see red area under price, you can make short option to next to the horizontal beginning price of red area. If you see green area over price, you can make long option to next to the horizontal beginning price of green area.
When this code works
- The green area starts where mfi value is on oversold
- The red area starts where mfi value is on overbought
Of course, this code may be failed, do not forget the target may never come. But hopefully price will cross over the target.
And you (as developers) can develop this code by using anything instead of mfi to get up-down target prices.
But only this values can not guarantee good results for trading. BE CAREFUL
Wolf EMA & OHL & SIGNALSWolf EMA & OHL & SIGNALS
this indicator is mainly used for fast trading techniques (scalping). provides various tools for comprehensive trend analysis.
5 EMAs are used to have possible market entry or exit signals.
EMA
Thanks to the combination of the EMAs of different timeframes,
you can immediately get an idea of the resistances or supports
of the higher timeframes.
HOL
Lines are drawn on the right side indicating the maximum, minimum and opening
of the day, past day, week and past week respectively.
These levels are excellent as price acceleration points.
SIGNALS
There are three types of signals that are monitored by this indicator:
- Shimano
This signal is generated if the price remains compressed between two EMAs, more precisely between the third and the fifth, at the point where the price breaks one of these EMAs there can be a strong price movement.
- Viagra
This signal is generated if the price remains below the second EMA for a long time without ever closing above / below, at the point where it closes by climbing over the EMA there may be a change in trend.
-Bud
This signal is generated if a positive candle is formed and subsequently at least two that close within the high and low of the positive candle. Where the price breaks through the high of the positive candle is a great entry point.
Hash Ribbons OverlayThis is a modified Hash Ribbons indicator. You can get the original indicator for free at this link:
Differences from the original indicator
1) This is overlay version
2) Pointers appear under candlesticks, which is more visual
3) PineScript v5.0 was used
Distance From Moving AverageThis indicator shows the distance between the current price and the Moving Average price.
Key Features:
Show the distance between price and Moving Average (Read Distance Calculation for more information)
Show Historic Highs and Lows
Show Highest High and Lowest Low
Show current Highest High, current Lowest Low and current distance
Key Indicator Settings:
1. Distance Calculation
There are two ways to calculate the distance:
Spread - Calculate the difference between the price and the moving average
Percentage - Calculate the percentage change between the price and the moving average
2. Moving Average Types
There are 5 different Moving Averages:
EMA
SMA
WMA
VWMA
HMA
3. Highest High and Lowest Low
You can show or hide the Highest High and the Lowest Low plots of the series
4. Historic Highs and Lows
You can show or hide past Highs and Lows of the series
Lookback Length - Let's you adjust the frequency of local highs and lows of the series
5. Current Values
You can show or hide current value labels
Haydens RSI CompanionPreface: I'm just the bartender serving today's freshly blended concoction; I'd like to send a massive THANK YOU to all the coders and PineWizards for the locally-sourced ingredients. I am simply a code editor, not a code author. The book that inspired this indicator is a free download, plus all of the pieces I used were free code from the community; my hope is that any additional useful development of The Complete RSI is also offered open-source to the community for collaboration.
Features: Fibonacci retracement plus targets. Advanced dual data ticker. Heiken Ashi or bar overlay. Hayden, BarefootJoey, Tradingview, or Custom watermark of choice. Trend lines for spotting wedges, triangles, pennants, etc. Divergences for spotting potential reversals and Momentum Discrepancy Reversal Point opportunities. Percent change and price pivot labels with advanced data & retracement targets upon hover.
‼ IMPORTANT: Hover over labels for advanced information, like targets. Google & read John Hayden's "The Complete RSI" pdf book for comprehensive instructions before attempting to trade with this indicator. Always keep an eye on higher/stronger timeframes. See the companion oscillator here:
⚠ DISCLAIMER: DYOR. Not financial advice. Not a trading system. I am not affiliated with TradingView or John Hayden; this is my own personally PineScripted presentation of a suitable RSI chart companion to use when trading according to Hayden's rules.
About the Editor: I am a former-FINRA Registered Representative, inventor/patent-holder, and self-taught PineScripter. I mostly code on a v3 Pinescript level so expect heavy scripts that could use some shortening with modern conventions.
Money Velocity Population Adjusted (MVPA)MVPA=GDPPC/( M2 /POP). An adaptation to normal Money Velocity, taking into account populations for more volatile plots/different perspective. Major world economy's money supply velocity. Compare how each country's monetary policy has played out and current trajectory in comparison to others. The velocity of money is a measure of the number of times that the average unit of currency is used to purchase goods and services within a given time period. The concept relates the size of economic activity to a given money supply, and the speed of money exchange is one of the variables that determine inflation .
Relevant Populations GroupedUSPOP Same idea as my previous grouped GDP indicator but now population sizes. Goes to show how a small portion of the world is responsible for most of what we consider economic productivity.
Fibo Candle Middle LineAdopt the idea of Fibo retracement 50% line, if a retracement move more than 50%, it is likely that the retracement will continue and made a new high or new low with 1.618 ratio from the middle line. You will find that the fibo 50% line also works as a support and resistance. The Dotted line is the projected 1.618 fibo target.