Trendy Bar Trend ColorTrendy Bar Trend Color
Inspired by trend candlestick charts on other trading platforms. Changes bar colors to stay in trend much like Heikin Ashi candles without the ATR price distortion. This is done by comparing the HL2 and/or Open-Close values of current candlestick to the prior candlestick.
Candlestick Analysis
Long Tail Candle by Oliver VelezThis script detects an event created by Oliver Velez, it is a wide-range candle with a small body and a long tail (hammer-type candle), its range is noticeably larger than previous candles, as a rule it can be taken that the body should be maximum of 30% of the total range of the candle with a long tail. The stop goes under the tail and the signal is given when the next candle followed by the long tail candle exceeds its body, do not program this condition so that the alert indicates that a long tail candle was generated and the trader has some Time to visualize the graph and wait for the signal.
The default configuration is very basic, each trader must adjust to their needs.
- Trend filters can be activated.
- Alerts available.
Thumbs up
Candle TheoryDescription: The theory behind this script is that if within the last 10 candles, if the majority of them are green and the average length (wick to wick) of those majority green candles is greater than the average length of the minority red candles then it will signal that this is a bullish move within the market and signal you to buy. The opposite is true for bearish moves.
Inputs:
Length - this allows you to decide how many candles to look back, default/recommended is 10
Show First Signal In Series Only - using this indicator without this checked will show many more signals in a row. This allows you to just get a signal for the first candle that is the predicted bullish or bearish move
[PX] M/W/D LevelHey guys,
this script shows monthly, weekly and daily OHLC data represented as horizontal level.
I tried to make it as user-friendly as possible. Therefore, you can add different colors and styles for each level, as well as turn them on and off.
With the "Label Offset" -parameter you are in control where the label text should appear. You can shift it from left to right and vice-versa. To shift it to the left choose a negative value. To shift it to the right use a positive one.
This best setting for me personally is the "Candle Selection" -dropdown. This allows you to decide wether you want to show the previous candles OHLC-data or the current live OHLC-data.
!!CAUTION!! If you use the "Current Month/Week/Day" -selection be aware that values shown are "live"-data of the current candle. Therefore, values will change the same way your chart keeps changing on live data.
The "Previous Month/Week/Day" -selection on the other hand is historical data and therefore only changes once we reached a new month/week/day.
If you like my work, consider leaving a like :)
Happy trading!
Normailzed CandleThis indicator normalizes Day's candle with Open. Idea is to see the daily movement in the context of the Open of the Day.
Larry Williams talks about Open being the most important price of the day. Hence, this indicator.
The Green line is average Open-to-High for occurrences of Red days. The Red line is average Open-to-Low for occurrences of Green days.
Average are not perfect calculations since occurrences(of Red or Green) will vary within the time-span used for averages.
These can used to gauge likelihood of the intra-day price reversal. If the price exceeds green/red line, there is higher likelihood of the price closing above/below open.
The blue lines are average Open-to-close for Green and Red occurrences.
Be careful on days where consecutive 3rd Highest High or Lowest Low day is made and also on the next day after such day. Prices may turn direction at least for a short while.
The precursor to this script of the Candle Infopanel script. That script was just numbers in panel and this is a graphical representation. I
Some of the calculations from original script are commented here because it would make visuals clutters (and probably the left-out calculation are not critical to making trade decisions!)
SBER HA Smooth ContainerSBER's modified Heikin Ashi Smoothed Container
Uses EMA 16 and Heikin Ashi Candles.. For NIFTY and its stocks only.
Heiken Ashi Triangles at the Top and Bottom of ScreenHeiken Ashi Triangles at the Top and Bottom of Screen
The image below shows the comparison to actual Heiken Ashi candles
(Though changing from candles to Heiken Ashi tends to smooth the triangles a little)
Bull Bear BarsHighlights when the movement of a candle is supported by a major increase in volume. Thus one could reasonably assume that a follow thru is likely to occur.
Blue= bullish
Yellow = bearish
I personally use this as an entry system. I enter only if the blue high or yellow low is surpassed by the very next candle , if not, then i do not enter. Thus trading with momentum and greatly avoiding choppy market conditions.
***Example*** In the chart above, during $XBT’s month long November 2019 Downtrend.. I am showing my bull long entries (without showing the obvious winning bear entries!) and found that only once did the price fail to advance less than 1% before any significant drawdown occurs (As shown on the chart by thumbs up & thumbs down symbols.)
***When using this indicator it is important to keep in mind that Blue bullish bars can and will appear at the top of upswings likewise, yellow bearish bars can and will appear at the bottom of downswings.. which could potentially signify trend reversals.
This knowledge can also can be used to ones advantage (” buy when everyone is selling, sell when everyone is buying.”)
This is a common occurrence because retail traders are often late to the party before they catch on to a trend resulting in buying heavily at the top and selling heavily at the bottom providing liquidity to earlier entrants to exit and as per usual the price then reverses on the mass of late bloomers.***
This indicator can be used in many different ways so goodluck in finding the method that best suits your style and be careful out there. Cheers
BONUS: Also has the ability to set alerts!
Urban TowersI translated a scalping system by Navin Prithyani into pine and want to share it with you.
Navin has a lot of resources for the system online including an extensive +60m video explaining the ins and outs.
Including links is against the house rules, so you'll have to DYOR.
Quick Criteria Overview:
---
- Can see through EMAs
- Entry above the signal candle
- Stop below the signal candle
- Targets include 1:1, trailing stop, and psychological levels
Why not give it a whirl? Back test it and share your results.
This is a fairly mechanical scalping system to be used on lower time frames.
I have programmed alerts into the system so you don't have to stare at your screen all day.
Happy profits y'all, enjoy the scalper.
Peace.
Tabajara simple versionIndicator Tabajara from the brazilian trader André Machado.
Simple version with moving averages SMA 20 and SMA 200.
If fast moving average (20) is ascending, positive candles will receive green color.
Descending fast moving average (20) makes negative candles receive red color.
In other cases the candles will be gray (positive) and black (negative).
The slow moving average (SMA 200) shows the primary trend.
It´s also possible using the indicator with exponential moving averages.
3BCSP - JWFThis is a real-time indicator to illustrate 3bar / 3 candle stick patterns
the current pattern index is displayed as a decimal index with it's reverse counterpart index (buy/sell) after the slash aka
( index / reverse index )
BEST Ultimate Engulfing ScreenerHello traders
Continuing deeper and stronger with the screeners serie. I keep getting requests private messages and requests saying that screeners aren't possible with TradingView.
My answer is always... "Reallyyy ??" (I never find a better answer than that...)
I'll publish a few screeners just for everyone to understand what can be done with Pinescript. We don't have to wait for TradingView to allow screener based on custom indicator - we can build our own ^^
I - What is an engulfing pattern
Let's start with a screener to check for a very famous candlestick pattern called engulfing
Engulfing candles tend to signal a reversal of the current trend in the market. This specific pattern involves two candles with the latter candle ‘engulfing’ the entire body of the candle before it.
The engulfing candle can be bullish or bearish depending on where it forms in relation to the existing trend
Source and more info here
These engulfing candles indicate a strong shift in direction, and when combined with observation of the price-trending direction that precedes it, this shift creates the opportunity for a trading strategy.
II - How did I set the screener
I added an optional filter being Price vs SMA. The idea is to select only the engulfing whenever the price also breaks an SMA - this usually translates a stronger move - but could sometimes give the signal too late (#meh #trading #ain't #easy)
The visual signals are as follow:
- square: whenever the engine detects an engulfing and an SMA breakout
- triangle: the engine only detects an engulfing
- dash: none of the above
Then the colors are:
- orange when bullish
- yellow when bearish
- aqua/dash when none of the above
Cool Hacks
"But sir... what can we do with only 5 instruments for a screener?" I agree not much but...
even if I allow only 5 instruments per indicator - nothing prevents you from adding multiple times the same indicator and changing the selected instruments for each. I also show why the SPX500 gave a yellow triangle (bearish engulfing) and how to match it with the screener.
=> imgur.com
Wishing you all the BEST trading
Dave
Bull Bear 180 by Oliver VelezThis script detects an event created by Oliver Velez is called Bull / Bear 180, in the following images the event is detailed:
- The size of the control bar can be set compared to a number of previous bars
- The minimum % of the control bar body can be set
- You can filter by trend
- Possibility of seeing fast and slow media with direction detection and color change
- Various graphic settings
- Event alerts
To enjoy!
A thumbs up if you like me!
The Multi-day Central Pivot RangeThe indicator is a Multi-day CPR.
It shows CPR range as per yesterday's HLC and also CPR range for last n number of trading sessions.
For example: If you mention the value as two in Multi-day CPR (blue color) then it calculates the CPR using HLC of the last two trading sessions.
Also, the daily CPR is designed in such a way to highlight Virgin CPR (purple color) separately from the normal CPR(fuchsia color) .
Candles (acronyms)Same script as "Candles" by TraderMentality but with acronyms for candle shape names.
The Golden PivotsThe Golden Pivots indicator is a combination of the following:
1. Central Pivot Range
2. Floor Pivots
3. Camarilla Pivots
4. Monthly, Weekly, Daily Highs and lows
5. Candlestick Setups
All the pivot calculations are based on Secret of Pivot Boss book by Frank Ochoa.
One can also view tomorrow's central pivot range by today end of the day.
NR4 / NR7 + Inside BarIndicator Script for identifying Narrow Range 4 / 7 + Inside Bar
It also helps to check whether NR4 / NR7 breakout trading has been profitable or not in the past in a particular instrument.
It has helped me to select profitable scripts and avoid losing ones. Can be used for anytime frame.
SIGNAL
NR4 == Narrowest range of 4 periods + signal day is an inside bar
NR4 & NR7 == Narrowest range of 7 periods + signal day is an inside bar
SIGNAL "PROFIT" -
Prior day was NR4 / NR7 and next day price broke out of prior day range in 1 direction and closed in the direction of breakout away from breakout price, resulting in a profit trade.
SIGNAL "LOSS" -
Prior day was NR4 / NR7 and next day price broke out of prior day range and returned back to close inside the narrow zone OR went in opposite direction after the initial breakout, resulting in a loss trade.
Pinbar (30-50 Rule)My first script to identify pin bars with a predefined rules, any feedbacks are welcome.
Rules
Bullish Candle
1. Body of the candle should be above the 50% of the day's price range
AND
2. Either the open or the close should be above the 30% of the day's price range
if both the above conditions are met then a bullish arrow is produced with "B".
Bearish Candle
1. Body of the candle should be below the 50% of the day's price range
AND
2. Either the open or the close should be below the 30% of the day's price range
if both the above conditions are met then a bearish arrow is produced with "S".
Thanks
Hope this indicator helps you identify trading entries.
Experimental Entry Interface (Buy Arrows with TP & SL)This script provides high probability entry points and includes Take Profit and Stop Loss targets.
It attempts to predict when the market conditions are set to move up, and prints long positions.
In addition to Long Entry Arrows, it will print Take Profit / Stop Loss targets.
This indicator is highly adjustable. Hence the name 'Experimental' in the title. Experiment with it to find the results you want.
Designed for use on the 1H timeframe in Forex, but could possibly be useful elsewhere. Do your own testing.
This indicator can repaint. It is best used with alerts set for once per bar close, so that your alerts do not repaint and your trades are solid.
Not ever signal is a winner. Backtest thoroughly. Adjust accordingly.
Arrows
Four sets of colored arrows are included.
💵 💶 Green and Blue Entry Arrows are formed when the market is in an uptrend, and has a momentary pullback.
💴 💷 Yellow and Purple Entry Arrows are formed when the market is just starting to recover from being severely oversold.
Backtest Mode
Turn on Backtest Mode to easily see if an entry ended up as a winner or loser. A Take Profit and Stop Loss line will be drawn to show results.
Take Profit & Stop Loss Targets
You have two options for this.
Price will show you where your TP/SL exits should be placed. These values will show up under the arrow, based on your Risk/Reward ratio.
Pips are much more simple, and will only show you the market entry point and how many pips up/down to place your SL/TP. Warning: This is fixed at a 1:1 RRR .
Risk/Reward Adjustment
Each entry arrow color allows custom risk/reward ratio adjustment.
Dollar Amounts Displayed
Change your account value and leverage to see how much you would have won on each trade.
How to trade with it?
(Forex, 1H) Open the settings, and turn on all the arrow entries. Turn on Backtest mode to see how past trades would have played out. Turn on TakeProfit/StopLoss Targets to see where to set your targets, for each arrow. Set an alert to notify you once per candle close when there is an Entry. Trade happy!
Bill Williams Alligators are also included, if you want. Not necessary though. Some of the calculations depend on them for trend direction analysis.
Real Candles Heikin Ashi (HA) Candle functionsThis script plots both real and HA candles regardless or which are used on the chart in TV settings.
(and has the functions for you to use.)
Lots of people seem to misunderstand backtesting (or scam people) based on HA candles.
Backtesting with HA candles leads to impossible trades. ALWAYS backtest with real candles.
That doesn't mean you might not want to look at HA candle values to make trading decisions.
Add the code below to calculate HA candles from real and use that in your HA trading algo,
but test it on real charts.
Kay-Rules: Candlestick PatternsThis indicator will mark 5 different candlestick patterns:
(1) bullish & bearish engulfing
(2) hammer & shooting star doji
(3) dragonfly & gravestone doji
(4) morning & evening star doji
(5) bottom & top tweezer
You may follow candlestick trading strategy by Rayner Teo here
Support and Resistance plotterThe script uses high/low/higher high/lower low for Support and Resistance identification but takes into account only pivots with wick making low/high opposite to candle body. Such candles point to hard market swings into during candle timeframe.
Price usually come bake to such levels and make double top/bottom, divergences on different osc or starts a new trend if this level is broken.
If Support lvl and Resistance lvl meets the movement of price in the direction from this combined lvl is much accelerated.
examples