Zigzag Candles MAWe have the candles here: Zigzag-Candles
Lets create moving average!!
Just simple moving average at the moment. Since, items are in array. Not so easy to use standard functions of pine. Hence, will take that for future enhancements.
ATR and Supertrend next!!
Análise de Candles
Zigzag CandlesCan't deny that I am obsessed with zigzags. Been doing some crazy experiments with it and have many more in pipeline. I believe zigzag can be used to derive better trend following methods. Here is an attempt to visualize zigzag as candlesticks. Next steps probably to derive moving average, atr (although there was an attempt of AZR made earlier) and probably supertrend too ;)
Input parameters include ZigzagLength (to calculate zigzag) and CandleSize (number of zigzag pivots in each candle)
CandleSize can be 3 or more. Every time we collect pivots which are equal to CandleSize, we derive one candle. And when we derive a candle, we remove all old pivots except the last one. Becauase, the last pivot acts as open to the next bar and is required.
Body of the candle tells the start and end zigzag pivot in the range. And Wicks signify highest and lowest pivots in the range. High and Low wicks are placed at the pivot where high and lows are formed. Hence, you can see them at different positions each time.
Thanks to @RicardoSantos for suggesting boxes for candles - while I was trying to achieve this with plotbar
Prophit Ninja: Hidden ScrollStay ahead of the markets moves with "Prophit Ninja: Hidden Scroll".
Our legendary senseis have mastered the arts of wielding the Katana and Shuriken over many decades of focused practice and distilled their systems and techniques down to their most vital form- storing their knowledge in this ancient scroll for easy adoption by any ninja practiced enough to be able to decipher it.
═════════════════════════════════════════════════════════════════════════
█ INTERPRETATION
Each sub-indicator in this package can be used as a confirmation tool to check your bias and give you a more informed decision as they all take into account every reading shown and not shown being calculated across all Prophit Ninja packages. A sentiment rating below the candle shows bullish bias while a green color emphasizes bullish strength- a sentiment rating above the candle shows bearish bias while a red color emphasizes bearish strength- gold color signifies a strong turn in the market while grey/dark grey is a weak reading. A green trend sensei reading is bullish- while a red trend sensei reading is bearish. A green bull trade sensei label signifies a possible bullish trade set up, while a red bear label trade sensei signifies a possible bearish trade set up. Stat sensei gives you tick by tick multi-time frame readings to always keep you aware of the exact environment you're in. Lastly risk sensei will give you the most optimal least risk trade set-up based on user defined variables and give you tick by tick readings of your trade status. This can be used as a standalone decision-maker, or used in confluence with other indicator packages in our Prophit Ninja bundle to get higher precision.
═════════════════════════════════════════════════════════════════════════
█ OVERVIEW
1 — Sentiment Sensei: A toggle-able tick by tick rating system (0-100%) for each candle based on over 100 individual readings .
2 — Trend Sensei: A toggle-able background coloring that easily shows you the trend bias behind the moves.
3 — Trade Sensei: A toggle-able trade finder that finds confluent trade set-ups to give you the upper hand.
4 — Stat Sensei: A toggle-able multi-time frame candle progress tracker with a built in trend bias and price/volume/momentum change/ratio trackers.
5 — Risk Sensei: A toggle-able risk manager with two variations of auto profit target zones , three variations of trailing stop losses , a win/loss tracker , trade duration timer and all the information you need to stay updated with the status of your trade at a glance whether long or short.
═════════════════════════════════════════════════════════════════════════
█ EASY CUSTOMIZATION
i.imgur.com
With a fully customizable and easy-to-use input menu , this indicator gives you the ability to tailor your trading experience to your needs and see as much (or as little) information as you want to; presented in the manner you deem most viable with the following options in just a few clicks:
Indicator Package- This option allows you to switch between the four display modes available so in any moment you can completely change the metrics you’re reading in just two clicks. This allows you the ability to make decisions based on not only what you’re comfortable with; but also to find confirmation or disagreement with other systems instantly.
Color Theme- There are four color themes available which include original, colorful, monochrome and solid. These not only allow you a quick and easy way to change the colors to suit your style; they also make it so you can challenge your bias in an instant by viewing the data in a completely different way.
Dual Attack Modes- Whether you’re a scalper, day trader, swing trader, or investor; this option allows you to see the chart based on four different risk tolerance/time expectancy mentalities for the Katana and Shuriken separately in just two clicks. Investors can see what the scalpers are thinking and vice/versa to broaden their decision making and/or hone in when optimal.
Dual Sharpness Levels- This algorithm allows the user to display the data on five different smoothness levels for the Katana and Shuriken separately without suffering the inherent lag that accompanies most other indicators. Whether you like to see every tick of a choppy movement, or filter out the false signals into smooth readings, you can do so at any moment.
═════════════════════════════════════════════════════════════════════════
█ RISK SENSEI EXAMPLE
═════════════════════════════════════════════════════════════════════════
█ PRE-BUILT ALERTS
With Prophit Ninja: Hidden Scroll's built-in alerts you can enable alerts for any piece of the Hidden Scrollin just a few clicks. These alerts are way more specific and optimized than you can possibly achieve with the custom alert settings. Each checking for multiple possible activation triggers instead of one and populating the message field automatically so you can just click create.
═════════════════════════════════════════════════════════════════════════
As you can see; this ancient scroll has the ability to adapt to any reader or adversary and give those in control of its power the upper hand. Any mode of battle, any opponent, any circumstance- 'Prophit Ninja: Hidden Scroll' was polished by our finest artists to inform any reader and make sure they know when to attack, defend or simply allow the fight to play out by its easy-to-read coloring system. As long as you learn the techniques you'll have a much better chance of making the right decision than when you didn't.
This state-of-the-art tool is great for experienced traders, those who just started learning to trade, or anyone in between- truly made to suit the needs of any trader, in any moment, with any mindset (along with the other indicators in our Prophit Ninja bundle) you'll notice an immediate improvement in your market dexterity after learning it.
═════════════════════════════════════════════════════════════════════════
*everything displayed is part of the Prophit Ninja indicator bundle; this is an otherwise blank chart*
US 10 Yr Yield Fair ValueI calculate a fair value of the US 10 year yield applying a rolling regression (default 15 periods) with 2 different ratios.
Entry of long and short are based on differ and exit are based if yield high/low price is below/above the fair value -/+ 1 std dev.
Exit when long is based on if short is indicated or yield is inside the boundary of the FV value (+/-5% of FV for example)
Exit when short is when long is indicated.
LebahFX AccDist_CandlesLebahFX Indicator that showing Accumulation and Distribution Signal in HTF Candlestick
Price ActionFirst, you have to know price action, RTM price action Handbook could help you
this indicator shows you base and momentum candles
base candles could be zones of trade that show you fighting of bulls and bears, and momentum candles could show the power of those zones.
Base candles are white in the chart, and you can place your order at the good zone.
Rally candles and drop candles are momentum candles, and bold rally and bold drop show that it is more powerful than its before candle.
Zigzag compression is one way that shows the compression in trend.
it looks like the Wedges pattern at classic technical that shows pending orders are closed, so the target zone could be powerful to reverse the trend.
Black background of candle means that candle doesn't reach its before candle and so it is poor candle, I named it domination.
It is better to do not trade at poor candles.
At the end, I find Price action the best way to trade, and it makes you free of other indicator, even volume indicator.
This indicator is good for those who use price action strategy to trade and those who want to learn the price action.
It could be so helpful and reliable way to find the zones, and place buy or sell order and the target, specially for scalping.
Engulfing Candle Rejection IndicatorThis indicator allows you to filter noisy chart, with engulfing candles which have been rejected from current trend lines. Trend lines by default are 21 MA (fast) and 10 MA (slow one). If fast moving average is greater than slower one, automatically indicator would represent that like uptrend, and if opposite then like a downtrend.
Consider to work only on higher time frames like 1H and higher, so you really can find only best entries.
Have fun, best wishes!
Broken Fractal : Someone's broken dream is your profit!Idea
The idea is simple : when market turns around, it traps a bunch of traders off guard. We trade with them, in the same direction of their exit!
Method
We let the market first create a fractal
We then let the market create an opposite fractal
We then let the market break the first fractal it created, thereby trapping lots of trades in the process
We then patiently wait till the market gives these trapped traders a chance to exit - and we trade in the same direction
How to use?
Green boxes are for long entry, red boxes are for short.
Whenever a box appears, that's the risk criteria - setup limit orders and trade along!
Works on all timeframes
If you like this script, please leave a note on how you are using it.
I personally use it with Higher Timeframe bias.
PS1 : some traders call this Break of market structure, some call it Breaker, I just call it "Broken Fractal"
PS2 : Break of a broken fractal is also very potent. Watch out for those!
Trading Rule #19This script is based on Trading Rule #19 from Chester Keltner's book How To Make Money On Commodities. It is best applied to candlestick charts with longer time frames and plans with minimal losses (i.e. swing trades). The rule is based on "Key" trend days (this is applied to daily charts in the book).
An initial Key-Up day is established on the third day of 3 consecutive new highs. Subsequent key-up days are determined as follows:
1. The first day following an initial key-up day trades 0.375% above the previous key-up day
2. The second day or any following day trades 0.125% above the previous key-up day
An initial Key-Down day is established on the third day of 3 consecutive new lows. Subsequent key-down days are determined as follows:
1. The first day following an initial key-up day trades 0.375% below the previous key-down day
2. The second day or any following day trades 0.125% below the previous key-down day
Green candles are considered up-trend, red candles are down-trend. Gray candles are undecided - when there is a new high and low in the same time frame, when there is no new high or low in that time frame, or the order price was cleared.
Order prices are represented as a blue line, with some days being "na" when order prices remain unchanged. On key-up days, orders are placed 0.375% below the low of the previous key-up day or the day previous (whichever is lower). Order prices on key-down days are placed 0.375% above the high of the previous key-down day or the day previous (whichever is higher).
The tolerance setting mainly effects the plot point of order price, at a certain point key-trend rules will take priority over order price (meaning if tolerance is high enough, order price will have no effect on determining key-trends).
HammersPlots an arrow above a hammer candle or candle with big lower wick. Yellow signifies a candle with higher than average volume. Blue is a lower than average volume candle. Hammers/Lower Wick candles are best after a drop in price or near bottoms.
Weekly Options Expiry CandleThis script shows weekly expiry candle on daily chart. In weekly expiry, week starts on Friday and end on next Thursday.
How the candle is constructed:
Open= Open price of Friday, if Friday is a holiday, next available open price
High= Highest high price of Friday, Monday, Tuesday, Wednesday, Thursday
Low= Lowest low price of Friday, Monday, Tuesday, Wednesday, Thursday
Close=Close price of Thursday, if Thursday is a holiday, previously available close price
I am very new to Pine script, so waiting for your comments and review.
Bull and Bear Marubozus Candlestick PatternMarubozus are an interesting candle pattern wherein the close and open of the candle are also the high / low points of the candle. In other words, a candle with no shadows or wicks.
How reliable are they, though? Probably not very reliable on their own. It may also depend on the size of the candle. You would probably want to incorporate this candle pattern with other filters, like RSI, MACD, to filter trade opportunities.
No gaps candlesThis indicator repaints the candles so that every candle's open price is the previous candle's close price. This helps visualize stocks and ETFs that have big gaps, usually between trading days.
You should hide visibility of the ticker for this to be displayed properly.
xGhozt Consecutive Candle Count - BacktestxGhozt Consecutive Candle Count with Backtest simply counts consecutive positive or negative candles, and allows you to get the live statistics of how many times this consecutive candle series occurred in the past, with the probabilities of the next candle to be a reversal, and the average past gains from that reversal. You can select the number of consecutive candles you're tracking, and select a start and end date. When your desired pattern is met by the indicator, it will indicate you on the chart if it's worth shorting or longing the next candle.
You also have the possibility to set up alerts when your consecutive candles patterns are met. To do so, go into the indicator's settings, select your time frame, the consecutive number of candles you are tracking, your success rate, and the number this pattern occurred in the past. Once it's done, open the alerts box, and set up your alerts accordingly.
You will have 2 options:
- Green Candles Followed by Red = short next candle.
- Red Candles Followed by Green = long next candle
Now that the backtest is added, you can try different combinations and figure the best outcome to get the best returns!
One thing to note with the backtest: you cannot run the backtest with take profits / stop loss AND candle closing, it has to be one of the two.
Three (3)-Bar and Four (4)-Bar Plays StrategyThis strategy analyzes the three and four-bar play which is when price action has a wide igniting bar that has a full body, then one or two narrow bars which have a relatively equal high for long plays and relatively equal low for short plays, then a continuation bar. You should not take plays that will encounter resistance. The stop loss is placed for long plays below the 2nd bar (or 3rd bar for 4-bar play).
This is commonly used on 1m, 2m, 5m, and 10m charts.
Jared Wesley is one of the more notable traders that use this setup. You can edit as an input the start date, end date, igniting bar size, the body percentage of the igniting bar, the relative equality of the 2nd bar (and 3rd bar for 4-bar play) compared to the igniting bar, and profit multiplier.
Three (3)-Bar and Four (4)-Bar PlaysThis indicator shows the three and four-bar play which is when price action has a wide igniting bar that has a full body, then one or two narrow bars which have a relatively equal high for long plays and relatively equal low for short plays, then a continuation bar. You should not take plays that will encounter resistance.
Jared Wesley is one of the more notable traders that use this setup. There will be a label placed on the chart when a play occurs. You can edit as an input the igniting bar size, the body percentage of the igniting bar, and the relative equality of the 2nd (and 3rd bar for 4 bar play) compared to the igniting bar.
xGhozt Prophecies - A Forecast on the FuturexGhozt Prophecies - A Forecast on the Future, is an indicator based on past statistics and different dates.
The indicator goes back in time and checks all the candles of your selected time frame, and gives you the statistical potential outcome of the next candle. It has been created in order to anticipate potential violent moves from the markets when key dates arrive. On March 12, 2020, Bitcoin dropped by nearly 50% in one single day. Many crypto traders were left with a PTSD that emerged on March 11, 2021, as many anticipated another crash on March 12, 2021. Therefore I created this indicator to show you how a candle behaved in the past, on a certain date.
You can replicate the model on any given time frame, on any asset, and you can even pre-select important dates in the indicator settings box to keep an eye on these dates at any given time.
You can therefore check how an asset behave on Mondays, or on the last day of the month, or how the 1h candle behave on this asset, on a Tuesday. Many combinations are available.
ATH FinderFind the all time high (ATH) and plot a horizontal line extended from the ATH out to the right. Script also produces a label near the current candle indicating location and value of the ATH. If the ATH is higher than the current candle's high the label will be red and pointing up to indicate the ATH is above the current candle. If that current candle's high is the ATH, the label is green and pointing at the current candle's high.
xGhozt Consecutive Candle CountxGhozt Candle Count simply counts consecutive positive or negative candles, and allows you to get the live statistics of how many times this consecutive candle series occurred in the past, with the probabilities of the next candle to be a reversal, and the average past gains from that reversal. You can select the number of consecutive candles you're tracking, and select a start and end date. When your desired pattern is met by the indicator, it will indicate you on the chart if it's worth shorting or longing the next candle.
Sweep TrackerThe script marks the bullish and bearish sweeps. You can change the number of lines drawn by modifying the value of max_lines_count in the first line of the code. Limiting feature will be available from menu in the next update.
BTST Risk & Reward- BTST stands for Buy Today Sell Tomorrow which is trading is done on high momentum stock and selling is done on next day.
- Max Entry is one bid below intraday highest price
- TP is 2.5% above Max Entry and CL is one bid below 2.5% from Max Entry
Inside Bar Strategy w/ SL"Inside bars are a two -bar pattern. They can indicate either a continuation of the
existing move or a reversal. A continuation occurs when there is no significant
support or resistance level in sight, while a reversal occurs close to a strong sup-
port or resistance level...
...A lot of traders are aware of inside bars but few manage to make money with
them. Why is this so? It goes back to interpreting price action. A lot of traders look
to trade in geometric ways. What I mean is that they search for fancy shapes on a
chart and think that this is what represents true price action.
This is not the case. A shape is just a shape. The formation by itself means
nothing unless underlying order flow backs it up. This is why it’s extremely
important that you look for inside bars when a trend is already in place.
The best place to look for them is in the beginning of trends."
Candle CurtainWHAT
This indicator hides the colour of the currently printing candle to avoid poor decisions being made.
WHY
Many trading strategies rely upon assessing the state of closed candles. Making trading decisions based on the currently printing candle's state can lead to poor trading outcomes (emotional decisions, FOMO, lack of restraint, etc) as it can be bullish one moment and bearish the next. This indicator acts to remind the trader to disregard the currently printing candle and wait for it to close.
IMPORTANT: Please click the three dots beside the indicator's name and select 'Visual Order' -> 'Bring to Front'