The Strat Screener - yungchoppsThis indicator scan up to 40 tickers of your choice for bullish and bearish Randy Jackson setups. Randy Jackson setups are 2u-2u-2d-2u for bullish cases and 2d-2d-2u-2d for bearish cases. If a ticker has a possible RJ setup, the ticker name will be display on the table depending if it is bullish or bearish. The only thing you need to do it change one of the default tickers to the ones you desire and the table will update if there are any RJ setups. The indicators search for RJ setups on the current timeframe that you are on.
Randy Jackson setups are part of the 'Strat' candlestick analysist. More information about the Strat can be found on the internet and YouTube. This indicator reads the previous candles of every selected ticker and searched for a RJ setup. If one exist, it will update the table with the tickers name. I will add more setups in the future.
This is a screener. This indicator really just makes it easier to scan many indicators at once. Its not hard to use... just place it on the chart and it will do the work for you. Hopefully mods find this enough of a description...
K線分析
Simplified candlesticksSimplified candlesticks tracks sticks for their body and wick
- For Long bars sticks ( LS ) tracks and marks them on down trend as continuation and reversal if moves appositive direction.
- For largest wicks on ends marks as regular Doji
- For large wicks and medium body marks as possible consolidation
- For only bottom bigger wick as bears weakness if trend down and possible reversal if trend is up.
- For only upper bigger wick as bulls weakness if trend up and possible reversal if trend is down
DOJI FU IndicatorIndicator is designed to paint a doji, the size of which can be adjusted in settings.
Provided there is a valid doji, the following candle is a 'FU candle' or an 'Institution' candle. This candle wicks above/below the doji and takes liquidity from above or below.
Colours can be changed
Red = Doji candle
Yellow = FU candle
Example shown on the 1hr chart, red doji indicating a change of trend upwards, the FU candle (yellow) takes liquidity from above and sweeps down.
NSDT Wick FinderThis script finds wicks that are longer than the candle body and marks them as potential trading zones to be revisited. Lines, shading, and lookback can all be modified.
Full credit for original code goes to @Squam_Gobaloochee. We updated to Pinescript V5 and cleaned up code. We reached out to original for permission to repost publicly and open source.
J-BUY & SELLIntroduction
I have been tracking the technical indicator for a long time. In my experience, I have tried various combinations of the existing indicators in the chart but have not been able to get satisfactory results.
The trend analysis method needs a lot of focus and time. Therefore, rather than speculating the future trend, I focused on building a code which will be continuous in terms of indications and remove the speculation out of the strategy. Hence, allow for automation.
Indicator Strategy
This is a simple, yet powerful indicator primarily based on price action and its relationship with SMAs .
Each candle is compared with the moving averages and the output is shown as a buy and sell signal through Up & Down arrows. Up arrow is a buy indicator and Down arrow is a sell indicator.
However, you might see in some case there is no Buy or Sell signals indication on the candle. No worries, please follow the previous signal in these cases.
How to add the indicator into your chart
1. Click the “Indicators” tab in the Trading view chart Tool Bar.
2. In the “Indicator & Strategies” menu, click on Public Library option.
3. Search for the “J-BUY & SELL” in the search box.
4. Add the indicator by clicking on the result.
How to add Buy & Sell alert
In addition to the indicator, you can also set BUY & SELL alerts for any of the stock/ index/ commodities etc.
1. Hover your mouse cursor over the indicator on the chart.
2. Click on the three dots captioned as “More”
3. Choose the option “Add alert on J-BUY & SELL”
4. You can choose the alert “Buy Bar/ Sell Bar or both as per your requirement by pressing the “Create” button.
Change the Color of the Up & Down arrows
For changing the color of the arrows, please “double click” on the arrow and the color as per your choice.
The Strat Numbers & CombosThis indicator is an all-in-one " The Strat " script. This script displays the following:
The Strat candle numbers (1's, 2's, & 3's)
The Strat Combo labels along with trigger line
Pivot Machine Gun ( PMG ) dynamic labels
Hammer & Shooter candle labels
The Strat Candle Numbers label each candle, on any timeframe, either a 1, 2, or 3. 1's are inside bars of the previous candles. 2's take out only one side of the previous candle. And 3's go outside both sides of the previous candle.
The Strat Combo labels (which are made of the 1's, 2's, 3's outlined above) display labels when a Strat Combo occurs. The script displays a label, direction arrow, and trigger line for each Strat Combo. This indicator finds the following Strat Combos:
2-1-2 bullish reversal (BLR)
2-1-2 bullish continuation (BLC)
3-1-2 BLR
3-2-2 BLR
1-2-2 rev strat BLR
2-2 BLR
2-1-2 bearish reversal (BRR)
2-1-2 bearish continuation (BRC)
3-1-2 BRR
3-2-2 BRR
1-2-2 rev strat BRR
2-2 BRR
Double inside candles
The Pivot Machine Gun (PMG) labels any 5 or more consecutive candles that make higher lows or 5 or more consecutive candles that make lower highs. A PMG can continue going in its direction or it can reverse and come back through the range. The logic in this indicator dynamically finds each level in a PMG and draws a line for easy identification.
The script also identifies if the candle type is a Hammer, Inverted Hammer, Shooting Star, or Hanging Man. These candle types are highly likely reversal points in price action.The indicator will plot a shape with a color coded icon identifying the candle. The distance between the shape and the candles can be manually adjusted in the inputs section.
This indicator has many style options . The user can independently toggle on/off the Strat numbers, boxes around the Strat Combos, and Hammer and Shooter shapes. Also all of the colors used in this script can be changed from the inputs section, so a user can easily change colors to match their current color scheme.
RSI true swingsRelative Strength Index (RSI) is being used by majority of the traders to get benefitted based on the swings. But these swings are hard to Identify.
This Indicator uses 4 major factors for finding the potential reversal points:
RSI Crossover or crossunder
Relative volume
Overall volume against the moving average volume
Relative closing of the candles
Size of the bars
Please read Instructions carefully before using this indicator
Recommended entry is the OHLC4 of the signal bars.
If signal bar is too large, try to enter in the retracement when another signal comes either through indicator or through types of bars
when signals comes opposite to the trend, then try to wait for the next signal of same type. This creates a RSI-price divergence in confirmation by volume price action
Timeframe can be of your choice
Recommended stoploss should be swing highs or lows
Same high/low updateHere I made a strategy out of my indicator. So, the trigger is double low/high on 1 week candle chart.
Entrance: close of the next candle if it's low/high higher/lower than previous one. (in most cases it's precise for backtesting)
Stop loss: long:low-one tick, short:high+one tick
Take profit: ATR*Multiplier (you can tune it in properties)
Same high/lowIf you are using support/resistance level-based strategies in your trading then this indicator can help you. I think that the retest level strategy is the best for beginners due to its simplicity of risk/reward calculations and higher abundance on the market. There is a well-known method to recognize a big player (buyer/seller) by candlestick pattern where the last two candles have the same low or same high. Moreover, abnormal candles increase the probability of a retest of a strong level, so my indicator highlights these two situations. In my opinion, a higher timeframe of a candle chart increases the win rate for this indicator (>1h).
So there are several patterns which my indicator can recognize:
1. Same low/high: blue flag up - same low, blue flag down - same high.
2. Mirror levels: high-low - green flag up, low-high - green flag down.
3. abnormal candles: yellow body if >2*ATR (please tune atr in properties, the default value is 5).
4. The red flag indicates the third candle with the same high/low in a row.
Thanks for your attention and have a good trading time!
Secondary Chart with OverSized CandlesHi everyone, I'm sharing a simple script I made for a friend. He was looking for a way to add another asset to his chart, and monitor relevant movements \ spot eventual correlation, especially when trading Cryptocurrencies.
We couldn't find a similar script already available so here it is - the code is commented and I hope it's clear enough :)
Notes:
- The parameter scale = scale.left keeps the scales separated and therefore the chart is more organized, otherwise the chart would appear flat if the price difference is too big (e.g. BTC vs XRP)
- It is possible to have the script running in a separate panel (instead of overlay) by moving it to a new pane (when added to the chart) or by removing the parameter overlay = true at the beginning of the code.
- In case you wish to add indicators to this sub-chart (e.g. Bollinger Bands, EMA, etc..) you can do that by adding the relevant code and feed it with the variables OPEN \ HIGH \ LOW \ CLOSE as well as using the same method to retrieve new variables from the target asset with the request.security function.
Hope this comes handy.
Val - Protervus
SVDThis indicator aims to compare between two charts if trader isn't sure which one is more active and powerful, it does NOT show entries or help your chart analysis directly.
The main features of this indicator is to show vitality and range of any given chart.
Volatility: it calculates the average profit of every swing in the range and the final result will be the chart volatility, which indicate how profitable this chart is.
Range: it calculates the profit of the whole range compared to the total price. (E.g. range bottom is 0.1 and range top is 0.2 the range will be 100%)
Extra: indicator shows the total direction of the chart in term of (STRONG UPTREND, UPTREND, SIDEWAYS, DOWNTREND, STRONG DOWNTREND), if you got (Somthing_wrong) please contact me.
How to use: apply the indicator on different charts that you have chosen and the higher (volatility & range) the more profitable the chart is.
inputs:
Lookback length: how long the range is (how many candles are included).
How intense should the Swing be: how many candles should be counted as a confirmation complete swing.
Show counted Swings: if checked as true, will show the swings counted in the volatility calculation.
For any notes on the indicator to be edited, or for another indicator ideas please comment.
HTF Candles & PivotsThis indicator displays HTF candles and pivot points.
The candles are displayed in a box and you can select Open-Close, High-Low or both.
You can show all of the past, or just "today only" or "previous day only".
You can also shift one previous candle to the current one.
The pivot point is the normal one.
There is an option to display CPR (Central pivot range).
Example: Shift previous to current
Manual Backtest - Flat the ChartThis script is an utility tool for manual backtesting.
The main problem in backtesting a discretionary strategy is the bias of knowing the future result of the market, in this way all the market will be crushed into a flat line, this way you can avoid bias.
The way to use this indicator is easy and made by 4 step:
Step 1 : add to an asset you won't backtest and put the auto scale on
Step 2 : go to the asset you will backtest and scroll left until the date you want to start
Step 3 : use the replay function of tradingview (15 min chart won't go back more than 18 month)
Step 4: toggle off the indicator or remove from the chart (untill next asset to backtest)
That's not a complex indicator but is what you need to do a fair backtesting
Doji-creatorsFinds doji and its breakout. It'll find the doji, detect the breakout and alert the user. Also will tell the possible reward based of rr ratio.
MTF Market Structure Highs and LowsThe indicator marks the last fractal highs and lows (W,D,4H and 1H options) to help determine current market structure. The script was created to help with directional bias but also as a MTF visual aid for stop hunts/liquidity raids.
Liquidity areas are where we assume trader's stop losses would be when buying or selling. Liquidity lies above and below swing points and institutions need liquidity to fill large orders.
Monitor price action as it hits these areas for a potential reversal trade.
Sessions with High/Low DiffThe main purpose of this indicator is to facilitate backtesting, but it may also be useful for traders to easily identify the current
active/open trading sessions on lower-timeframe charts.
This indicator also tracks the session high/low difference and plots it as a label on the last candle of the session once the last
bar of that session has finished printing and a new candle opened. The position and direction of the label is based on the
session open and close - if the session open is greater than the session close (which would equate to the equivalent of a red candle),
the label will be printed UNDER the last candle, and vice versa if the session close is above the session open.
The number printed inside the label is the difference between the session high and the session low, scaled to the minimum tick value of the chart.
Note #1: There is a Pinescript maximum of 500 labels allowed on any chart. While I could have gotten fancy and done some wizardry with label arrays,
I didn't really see a point to it. If labels are enabled for all 4 sessions at the same time, that would still have them available for the past 125
sessions, which would be about 6 months (approx 252 trading days per year, and this would cover 125 of them). If you limit to 2 sessions, you double
your potential look-back to almost a year (250 days out of the 252 average trading days each year), and for a single session, you double it yet again
to just under 2 years.
Note #2: As this indicator tracks open, high, low, and close for each session, it can potentially be enhanced (or forked) to construct "session candles".
I'm not sure what use this would be to anyone, but the pieces are there should someone find a use for it.
While it would be easy to add alerts on sessions opening/closing, I didn't see a purpose or value in that as it would be little more than a
glorified alarm clock. If I get enough demand to add them, I will gladly consider it.
Synthetic Price Action GeneratorNOTICE:
First thing you need to know, it "DOES NOT" reflect the price of the ticker you will load it on. THIS IS NOT AN INDICATOR FOR TRADING! It's a developer tool solely generating random values that look exactly like the fractals we observe every single day. This script's generated candles are as fake as the never ending garbage news cycles we are often force fed and expected to believe by using carefully scripted narratives peddled as hypnotic truth to psychologically and emotionally influence you to the point of control by coercion and subjugation. I wanted to make the script's synthetic nature very clear using that analogy, it's dynamically artificial. Do not accidentally become disillusioned by this scripts values, make trading decisions from it, and lastly don't become victim to predatory media magic ministry parrots with pretty, handsome smiles, compelling you to board their ferris wheel of fear. Now, on to the good stuff...
BACKSTORY:
Occasionally I find myself in situations where I have to build analyzers in Pine to actually build novel quantitative analytic indicators and tools worthy of future use. These analyzers certainly don't exist on this platform, but usually are required to engineer and tweak algorithms of the highest quality with the finest computational caliber. I have numerous other synthesizers to publish besides this one.
For many reasons, I needed a synthetic environment to utilize the analyzers I built in Pine, to even pursue building some exotic indicators and algorithms. Pine doesn't allow sourcing of tuples. Not to mention, I required numerous Pine advancements to make long held dreams into tangible realities. Many Pine upgrades have arrived and MANY, MANY more are in need of implementation for all. Now that I have this, intending to use it in the future often when in need, you can now use it too. I do anticipate some skilled Pine poets will employ this intended handy utility to design and/or improved indicators for trading.
ORIGIN:
This was inspired by the brilliance from the world renowned ALGOmist John F. Ehlers, but it's taken on a completely alien form from its original DNA. Browsing on the internet for something else, I came across an article with a small code snippet, and I remembered an old wish of mine. I have long known that by flipping back and forth on specific tickers and timeframes in my Watchlist is not the most efficient way to evaluate indicators in multiple theatres of price action. I realized, I always wanted to possess and use this sort of tool, so... I put it into Pine form, but now have decided to inject it with Pine Script steroids. The outcome is highly mutable candle formations in a reusable mutagenic package, observable above and masquerading as genuine looking price candles.
OVERVIEW:
I guess you could call it a price action synthesizer, but I entitled it "Synthetic Price Action Generator" for those who may be searching for such a thing. You may find this more useful on the All or 5Y charts initially to witness indication from beginning (barstate.isfirst === barindex==0) to end (last_bar_index), but you may also use keyboard shortcuts + + to view the earliest plottable bars on any timeframe. I often use that keyboard shortcut to qualify an indicator through the entirety of it's runtime.
A lot can go wrong unexpectedly with indicator initialization, and you will never know it if you don't inspect it. Many recursively endowed Infinite Impulse Response (IIR) Filters can initialize with unintended results that minutely ring in slightly erroneous fashion for the entire runtime, beginning to end, causing deviations from "what should of been..." values with false signals. Looking closely at spg(), you will recognize that 3 EMAs are employed to manage and maintain randomness of CLOSE, HIGH, and LOW. In fact, any indicator's barindex==0 initialization can be inspected with the keyboard shortcuts above. If you see anything obviously strange in an authors indicator, please contact the developer if possible and respectfully notify them.
PURPOSE:
The primary intended application of this script, is to offer developers from advanced to even novice skill levels assistance with building next generation indicators. Mostly, it's purpose is for testing and troubleshooting indicators AND evaluating how they perform in a "manageable" randomized environment. Some times indicators flake out on rare but problematic price fluctuations, and this may help you with finding your issues/errata sooner than later. While the candles upon initial loading look pristine, by tweaking it to the minval/maxval parameters limits OR beyond with a few code modifications, you can generate unusual volatility, for instance... huge wicks. Limits of minval= and maxval= of are by default set to a comfort zone of operation. Massive wicks or candle bodies will undoubtedly affect your indication and often render them useless on tickers that exhibit that behavior, like WGMCF intraday currently.
Copy/paste boundaries are provided for relevant insertion into another script. Paste placement should happen at the very top of a script. Note that by overwriting the close, open, high, etc... values, your compiler will give you generous warnings of "variable shadowing" in abundance, but this is an expected part of applying it to your novel script, no worries. plotcandle() can be copied over too and enabled/disabled in Settings->Style. Always remember to fully remove this scripts' code and those assignments properly before actual trading use of your script occurs, AND specifically when publishing. The entirety of this provided code should never, never exist in a published indicator.
OTHER INTENTIONS:
Even though these are 100% synthetic generated price points, you will notice ALL of the fractal pseudo-patterns that commonly exist in the markets, are naturally occurring with this generator too. You can also swiftly immerse yourself in pattern recognition exercises with increased efficiency in real time by clicking any SPAG Setting in focus and then using the up/down arrow keys. I hope I explained potential uses adequately...
On a personal note, the existence of fractal symmetry often makes me wonder, do we truly live in a totality chaotic universe or is it ordered mathematically for some outcomes to a certain extent. I think both. My observations, it's a pre-deterministic reality completely influenced by infinitesimal amounts of sentient free will with unimaginable existing and emerging quantities. Some how an unknown mysterious mechanism governing the totality of universal physics and mathematics counts this 100.0% flawlessly and perpetually. Anyways, you can't change the past that long existed before your birth or even yesterday, but you can choose to dream, create, and forge the future into your desires and hopes. As always, shite always happens when your not looking for it. What you choose to do after stepping in it unintentionally... is totally up to you. :) Maybe this tool and tips provided will aid you in not stepping in an algo cachucha up to your ankles somehow.
SCRIPTING LESSONS PORTRAYED IN THIS SCRIPT:
Pine etiquette and code cleanliness
Overwrite capabilities of built-in Pine variables for testing indicators
Various techniques to organize Settings panel while providing ease of adjustment utility
Use of tooltip= to provide users adequate valuable information. Most people want to trade with indicators, not blindly make adjustments to them without any knowledge of their intended operation/effects
When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members , I may implement more ideas when they present themselves as worthy additions. Have a profitable future everyone!
Indicator: Gap Finder [KL]
About gaps:
A gap is a “jump” in a security’s price between the Open and the Prior Close . Gaps are very common in stocks during opening hours, especially when accompanied by catalysts.
What this indicator does:
This script will identify gaps that remained unfilled for at least one candle.
It is very common for gaps to be filled on the first candle, these gaps are arguably less meaningful, so they are ignored by the indicator to reduce the number of lines drawn.
Applications:
Since most gaps eventually get filled, the question is a matter of when . If going with the trend, a trader will open a long/short position when seeing an up/down gap. When going against the trend, then short/long the stock on up/down gaps and consider taking profits when price returns to where the gap originally occurred.
Originally intended for 1D timeframes, but gaps can occur in all timeframes. Applications are limitless.
xRamiq v1test edilir! guvenli deyildir! Super Trend kullanarak hazirland/
Test Aşamasındadır.
çok küçük bakiyeler kullanın.
Color Palette OptionsA quick, easy way to swap out colour palettes. Simple cosmetic, but charts are allowed to be fun too!
Heikinashi Candles Biggest problem that when we use normal heikin-ashi candlestick pattern then all applied indicator values also changes
Like Pivot Point with CPR ,,, EMA,,, SMA including VWAP indicator value
So , this indicator help us plot Heikinashi candles on Normal candles
Please follow below steps:
Add this indicator to chart
Go to setting >> un-tick Body, Border and Wick color
That will hide candles on chart and Plot heikinashi candles on Normal candles without changing any indicator value
Remember use normal candle stick pattern that
Hammer / Shooting Star ScannerAlways missing hammer and shooting star candlestick pattern?
This script will help you to alert hammer shooting star candlestick.
Please leave your comments for improving this script.
Fear and Greed Index CandlesticksThis colours the candlesticks based on my 'Fear and Greed Index'.
All calculations are explained in the code.
The index is mainly based upon the components of the popular fear and greed index website. I've annotated the components in the code for you to look at.
If you're interested, you can replace the final variable 'Total' (within the 'barcolor' function at the very end) with any of the final outputs of the subcomponents to see the results of that single part.
Red = Greed
Green = Fear
Enjoy!