Market Sessions(4sessions)Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM)))
Fractal
A_HMS_EMAsthis is an indicator that have many essentials in one indicator and prevent from adding many indicator in chart
Ichimoko clouds and 4 ema from number 19 , 33 , 66 , 199
and an spatial average ema with 2 color that help you to find trend
Histomentu is a great Indicator that combine RSI Composit by RSi line and show momentum of price movement by a histogram
for better use note that:
red line is composite line
green line is rsi line
when composite line run away from histogram momemtum increase rapidly
when composite and rsi line is in same way its time to get position .
some futures is hidden by default:
composite red and green signal line
rmi of price with to color with momentum 4
ema 13, 33 of rmi as signal line
finaly u can change any colors from setting
in background we determine some fills for better use of Indicator
for better use note that:
1_pivots show with tiny triangles bellow and above the candles
red triangles for hi pivots and green triangles for low povots
2_ema19 , 66 , 199 shown on chart by default and you can change its source or length from settings
3- ichimoko cloud help you to determine demand and supply zones that those points are price target to go.
Fractal CandlesCalculate Fractal candles with selected count of bars. Min value is set to 3 because less is not informative.
Support/Resistant Zone (Simple)The concepts of trading level support and resistance are undoubtedly two of the most highly discussed attributes of technical analysis.
Support is a price level where a downtrend can be expected to pause due to a concentration of demand or buying interest. As the price of assets or securities drops, demand for the shares increases, thus forming the support line. Meanwhile, resistance zones arise due to selling interest when prices have increased.
There are many ways to identify support and resistance zones. This indicator is a simple method to identify them. Support/Resistant zones will draw basing on the size of the wick for candles, which are Pivots High/Low before.
CANDLE FILTER Todays scripts is based on my Pullback And Rally Candles with other meaningful candles such as Hammers and Dojis.
You can choose which Candles to show on the cart and if you want to candles to appear above or below a moving average.
If you follow my work, you may recognise some of these candles which I'm about to show you however these candles are 1) more refined and 2) has moving average filters.
Ive included a D,6H,1H Candle in this script as on different timeframes - each swing low on average has a different amount of bars within the swing low / swing high so the DPB and RD will only work on the Daily
//Pullback candle
This candle is very powerful when used with simple Price Action such as Market Structure//Demand zones and support zones. (((((WORKS BEST IN UPTRENDS AND BOTTOM OF RANGES)))))
Ive included a D,6H,1H Pullback Candle in this script as on different timeframes - each swing low on average has a different amount of bars within the swing low so the DPB will only work on the Daily
//DAILY PULLBACK (Swing Traders)
snapshot
//4H PULLBACK (Swing Traders)
snapshot
- this signal will produce more signals due to the swing low filter on the 4H
//1H PULLBACK
snapshot
- this signal has been refined due to too many candle displaying in weak areas
!!!IF YOU DONT WANT TO USE PULLBACKS DURING DOWNTRENDS THEN USE THE EMA FILTER TO TURN OFF THE PULLBACKS WHEN PRICE IS BELOW THE MOVING AVERAGE!!!
//Rally candle (My personal Favourite) (((((WORKS BEST IN DOWNTRENDS AND TOP OF RANGES)))))
This candle is very powerful when used with simple Price Action such as Market Structure//Supply zones and Resistance zones.
//DAILY RALLY(Swing Traders)
snapshot
//4H RALLY(Swing Traders)
snapshot
- this signal will produce more signals due to the swing high filter on the 4H
!!!IF YOU DONT WANT TO USE RALLIES DURING UPTRENDSTHEN USE THE EMA FILTER TO TURN OFF THE RALLIES WHEN PRICE IS ABOVE THE MOVING AVERAGE!!!
//POWERFUL DOJIS (INDECISION)
snapshot
We look for indecision in key areas to see if momentum is shifting. When combined with Pullbacks or Rallys - this will enhance the odds of a probably area.
//HAMMERS
snapshot
//MOVING AVERAGES
snapshot
Short EMA = 50
Long EMA = 200
This filter can be used when the market is trending - look out for rejections off the moving averages
Also you can chance the Short And Long EMA to choose which MA cross you want to use
snapshot
ALSO ALL THE CANDLES HAVE A ALERT CONDITIONS WHICH YOU CAN ACCESS - THIS WILL ALERT ANY CANDLE YOU CHOOSE
Please leave a like/comment on this post as this is much appreciated....
Rally HTF Candle (Candlestick Analysis) Guaranteed WinnersRally Candle will signal when price is at the end of a Rally to the upside and thus entering a balance phase in the market (works on all markets)
This candle works very efficient when the market is either trending downwards or in range markets where price is at resistance. (i would avoid in uptrends but depends on the trader)
Also we can expect this candle to form when price is overextended as the theory of this script is when there is a turning point in momentum - this candle will appear and we can look long from this signal.
This candle will only work in Swing High areas and appear when below an moving average which can be changed in the settings.
This candle will work only work pn the HTF as it provides very good rexpectancy whereas the LTF has a slightly less expectancy (i will be publishing an intraday Rally candle)
This candle can be alerted to signal the Rally Candle when the bar is confirmed and not during.
The way i trade this candle is
1) Candle signal must be in probably area to increase efficiency.
2) Enter on the second candle after candle IS CONFIRMED
3) Set stop loss below Rally Candle or use ATR value
4) Trade with the trend ie only Bearish price action
5) This candle can catch extreme points in the market ie this candle projected when ETH hit aths $4841
6) Trading with a confluence along with the Rally is better than solely trading this candle
Please leave a comment.
If we get to 100 likes i will publish the script.
Pullback Candles (Candlestick Analysis) Guaranteed Winners!!!!Pullback Candle will signal when price is at the end of a pullback and entering a balance phase in the market (works on all markets)
Also we can expect a Pullback Candle during flash crashes as the theory of this script is when there is a turning point in momentum - this candle will appear and we can look long from this signal.
This candle will only work in Swing Low areas and appear when below an moving average which can be changed in the settings.
This candle will work on all timeframes - HTF provided very good rexpectancy whereas the LTF has a slightly less expectancy.
This candle can be alerted to signal the Pullback Candle when the bar is confirmed and not during.
The way i trade this candle is
1) Candle signal must be in probably area to increase efficiency.
2) Enter on the second candle after candle IS CONFIRMED
3) Set stop loss below Pullback Candle or use ATR value
4) Trade with the trend ie only bullish price action
5) This candle can catch falling knifes - we had one on LUNA before the rally to $7.50
6) Trading with a confluence along with the Pullback is better than solely trading this candle
Please leave a comment.
If we get to 100 likes i will publish the script.
Have a good weekend :)
Williams Fractals with BreaksThis is a Bill Williams fractal indicator with breaks.
I was turned onto fractals and the importance of their breaks by ChaosTrader63.
I know several version of this indicator have been done.
I chose this as a first project because of it's simplicity , but also because of the poor code quality of some other versions I looked at.
This is the first draft that successfully met my three criteria:
* Must identify all fractals, including simultaneous up/down fractals.
* Must identify fractal breaks with a clear indicator.
* Must provide information on how many fractals
For the first bullet, I wanted to provide a more concise modern version than the boolean logic composition I was seeing in other examples.
The later two required tracking the past which was not present in the other versions I looked at.
Code here can be improved for more uses and better integration, but it is functional and elegant enough to use.
Thanks for checking it out.
Jolly Wizard
Smaller Fractals (+ Transparency)Smaller Fractals (+ Transparency)
I find that fractals are super useful, but can visually clutter up the chart pretty quickly. Their opaqueness and just overall bigness can become a bit much.
As such, these are just like regular fractals, only smaller (pine script's`size.tiny` instead of the default `size.small`).
Also, you can set a transparency level to these little guys (default is 50%).
Simple, more polite, and hopefully more useful fractals for those wnting a cleaner looking chart. 😁
BTC WaveTrend R:R=1:1.5In this strategy, I used Wavetrend indicator (Lazy Bear).
It is very simple and easy to understanding: Long when Wavetrend1 crossover Wavetrend2 and they are less than a limit value (not buy when price overbought). Stoploss at lowest 3 bar previous. R:R = 1:1,5.
About other shortterm strategies for crypto market, you can view my published strategies.
Rally Candle (End Game ) 26/04/2022 Few Months ago I started wanted to code a candle which alerts me when a Rally may be over in Bearish Conditions and today I have created a candle which is 1. subjective but more importantly appears in areas where buying pressure is at either a climax or in the process of a decline and this is where the Rally Candle signals. This shows momentum may be shifting and these can provide some good entries.
They will only working when price is below the 200ema and in overextended markets - VERY IMPORTANT!!!
Works on all timeframe with HTF providing more price percentage than LTF
They aren’t a specific candle size however they will repaint when we see 4 higher close candles followed by a candle which has closed lower than the previous 4th.
//Candle Conditions
This candle has to be in a swing high area to be valid and on 1H and 6H but the 1H will repaint a lot of candles so when we have a point system of +20 we can assume this setup is a good setup.
//Candle Operators
You can change the color of the bar to your liking
There is a ema filter so if you want to candle to not show candles of the 50ema this operator will do the command.
Please post requests and any potential implementations I could port to pine script.
Hope you Enjoy :)
Super OrderBlock / FVG / BoS Tools by makuchaku & eFeThis super indicator is a Swiss army knife for Smart Money traders for OrderBlocks / FVG / BoS
It provides many options for drawing (non-repainting) boxes for OrderBlocks, Fair Value Gaps (FVG) and Break of Structures. The boxes are extended into the future, until the first retest/mitigation.
Some of the additional options (not explained in the diagrams above)
PPDD OB : An order block which is formed after interacting with Liquidity (old low/high, fractal low/high, etc). Since these OB's are in the most premium or most discount, they are Premium Premium Discount Discount OB's (PPDD OB)
HVB Bars : When the volume of any bar is higher than the average volume of last N bars, it could mean something important (in the right context). Hence, the indicator allows for coloring them differently.
This indicator was built as a collaboration between @makuchaku & eFe
Pro tip : This indicator is a simply a tool to visualize trading concepts on the candle stick chart. It is the job of the trader to sequence these effectively into a profitable trade.
If you come across any bug or have a question on how to effectively use the indicator, please don't hesitate to ask questions.
Good luck & good trading!
Williams Fractals with alerts ABCAll the original Williams Fractals algorithm but with a useful way to set up alerts.
Ichimoku Cloud MasterIchimoku Cloud Master aims to provide the ichimoku trader with easy alert functionality to not miss out on valuable trade setups. The key purpose of this script is to better visualise crucial moments in Ichimoku trading. These alerts should not be used for botting in my opinion as they always need a human to confirm the ichimoku market structure. For example, is the Kijun-Sen flat and too far away from price? A good ichimoku trader will not enter at such a point in time.
Explanation of script:
Chikou(lagging span): pink line, this is price plotted 26 bars ago. People ignore the power of this it is crucial to see how chikou behaves towards past price action as seen in the chart below where we got an entry at red arrow because chikou bounced from past fractal bottom.
Kijun-Sen(base line): Black line or color coded line. This is the equilibrium of last 26 candles. To me this is the most important line in the system as it attracts price.
Kijun = (Highest high of 26 periods + Lowest low of 26 periods) ÷ 2
Tenkan-Sen(conversion line): Blue line. This is the equilibrium of last 9 candles. In a strong uptrend price stays above this line.
Tenkan = (Highest high of 9 periods + Lowest low of 9 periods) ÷ 2
Senkou A (Leading span A)= Pink cloud line, this is the average of the 2 components projected 26 bars in the future.
Senkou A = (Tenkan + Kijun) ÷ 2
Senkou B (Leading span B) = Green cloud line, this is the 52 day equilibrium projected 26 bars in the future.
Senkou B = (Highest high of prior 52 periods + Lowest low of prior 52 periods) ÷ 2
Notice how the distance between Chikou and the cloud is also 52 bars. This is all part of Hosoda's numbers which I am not going to explain here.
Fractals: These are the black triangles you find at key turning point. If you want to know how they work reseach williams fractals. I've used fractals with a period of 9 as it is an ichimoku number. These fractals are useful when working with ichimoku wave theory. Again I will not explain that here but in further education
Fractal Support: Ability to extend lines from the fractals which can be used as an entry/exit mechanism in your trading. For example wait for tenkan to cross kijun and then enter on fractal breakout.
Signals:
Crossing of Chikou (lagging span) with past Kijun-Sen: this will color code the Bars / Kijun-Sen (you can turn this off in options)
The script also has a signal for this, this will be the green and purple diamonds. Where green is bullish and purple is bearish.
wy is this important?
When current price plotted 26 candles back (chikou) crosses over the past equilibrium (kijun-sen) this usualy means price has moved past resistance levels where sellers come in. This indicates a switch in market structure and price is bullish from this point, this is the same in the other direction.
Kumo Twist: when the kumo cloud (future) has a crossover from for example green to red (bull to bear). The script plots these using the colored cross symbols as seen in the picture above. A chikou cross + a Kumo twist at same bar of next to eachother below the cloud can be a great entry sign: this would be an entry after cross in the chart above.
Kijun Bounce: when in an uptrend the price retraces back to Kijun-Sen and starts to go back up. These are marked by the yellow circles as seen in chart below:
low below Kijun-Sen and close above it
Strong Trend: when Tenkan is above Kijun, price above cloud, future cloud green, chikou above close, chikou above Kijun we establish a strong bullish trend. For bearish the exact opposite. The script has a function to send an alert at the start of such trends and to plot them with small colored circles above the bars.
Customisation:
I've added options to disable specific aspects of the indicator for those traders who do not want to use all aspects of the indicator. In the customisation tab I've given each part a clear title so you can use your own colors/shapes.
The perfect entry?
Further info:
Look into my education pane, I will be adding education in the future. The chance of me making a more advanced version of the script including line forecasting etc is rather high so watch out for that.
For those who want to master this system I recommend reading the book:
How to make money with the ichimoku system by Balkrishna M. Sadekar
Or the originals books by Hosoda the inventor of Ichimoku if you can get your hands on them and can read Japanese.
Almost all info about the ichimoku system you find on the internet will lose you money because they reduce the system to simple signals that do not generate money.
I will be providing educational material on tradingview using this indicator.
Makuchaku's trading tools - Liquidity visualizerThis indicator plots those pivots/fractals which have not been taken out by price, whereby showing where are the clusters of highs/lows where stop orders (or liquidity) could be hiding.
This is a fantastic tool for taking reversal trades.
Entanglement Penscript name: Entanglement Pen
For left traders, how to accurately find the bottom and top is very important, and there are various methods. I have shared the bottom type script composed of three bars before, but this type of bottom type is effective in a small range. So, this script is sharing " Entanglement Pen ", which can help us determine bottoms and tops on a global scale.
However, this script uses an approximate reduction method rather than the orthodox solution of entanglement.
After roughly finding the bottom and top, how to determine that these are the bottom and top that meet the definition of entanglement theory?
The main 2 methods of "approximate reduction" are:
(1) The price difference between the top and the bottom is large enough, that is: the lowest price at the top > the highest price at the bottom.
(2) The stock price before the top has continued to rise, that is: both the highest point and the lowest point are rising. In the same way, the stock price before the bottom has a continuous decline, that is: both the high and the low point are falling.
A big disadvantage of this script is that it needs to use future data. This is because:
When multiple bars meet the top definition in a short period of time, only the last bar is used, which is defined as a big top. So, when you see a top appear, you don't know it's not a real top, because it might be followed by a bar that also matches the definition of the top.
When displayed on the graph, bars that meet the top definition have a gray label, which is the small top. Each small top is a big top (with a blue label) at the beginning, and when another small top appears after it, it becomes a gray small top.
Regarding the limit on the number of bars by TradingView:
The logic of calculating the small top and the small bottom is relatively simple, it does not need to use future data, and the amount of calculation is small, so it is the default TradingView limit. (The limit is 2000 in the script, but in practice TradingView won't let us use such many bars)
The calculation logic of the big top and the big bottom is more complicated, and it needs to use future data. The calculation amount is very large, and only the most recent 150 bars can be calculated. The user can try to enter a larger value, but TradingView may report an error. If an error occurs, please enter a lower value. When loading for the first time, it takes a long time, which is indeed not common in general TradingView scripts, but please be patient.
The next version may add the alert function, that is: when the top and bottom appear, the alert function is called. But this only applies to small tops and bottoms, because when the alert is sent,, none of us know what data will be in the future.
Introduction in Chinese:
脚本名称:缠论笔
对于左侧交易者来说,如何准确地找到底部和顶部是非常重要的,方法也是多样的,之前已经分享了三根bar组成的底分型脚本,但这种底分型生效的范围较小,缺乏全局视野。所以,这次的脚本分享的是“缠论笔”,它能帮我们在全局尺度内确定底部和顶部。
不过,此脚本使用的是近似还原的方法,而非缠论的正统解法。
粗略找到底和顶之后,如何确定这就是符合缠论定义的底和顶呢?
“近似还原”的主要2个方法是:
(1)顶部与底部的价差足够大,即:顶部的最低价>底部的最高价。
(2)顶部之前的股价有持续的上涨,即:最高点和最低点都在上涨。同理,底部之前的股价有持续的下跌,即:最高点和最低点都在下跌。
这个脚本的一大缺点是:需要使用将来的数据。这是因为:
当短期内有多个bar都符合顶部定义时,只使用最后一个bar,定义为大顶。所以,当你看到一个顶部出现时,你不知道这不是真的顶部,因为它之后可能还会出现符合顶部定义的bar。
在图上显示时,符合顶部定义的bar有灰色的label,这是小顶。每一个小顶,刚开始时都是大顶(有蓝色的label),直到它之后又有小顶出现时,它就变成了灰色的小顶。
关于TradingView对bar数的限制:
计算小顶和小底的逻辑比较简单,不需要使用将来的数据,计算量较小,所以是默认的TradingView限制。(脚本中限制为2000,但实际上TradingView不会让我们使用那么多bar)
大顶和大底的计算逻辑比较复杂,需要使用将来的数据,计算量非常大,大约只能计算最近150根bar。用户可以尝试输入更大的数值,但TradingView可能会报错。若遇报错,则请输入更低的数值。初次加载时,需要等待较长时间,这确实在一般的TradingView脚本中并不常见,但还是请多些耐心。
下一版可能会增加alert功能,即:当顶部和底部出现时,调用alert函数。但这只适用于小顶和小底,因为警报发出时,我们谁也不知道将来的数据。
Renko Candles OverlayHello All,
For long time I got many request for Renko Candles and now here it's, Renko Candles Overlay . I tried to make almost everything optional, so you can play with the options as you want.
Let see the options:
Method: the option for brick scaling method: ATR, ATR/2, ATR/4, Percent, Traditional
- ATR Period: period for Average True Range and it's valid if the method is ATR
- ATR/2 Period: period for Average True Range and it's valid if the method is ATR/2
- ATR/4 Period: period for Average True Range and it's valid if the method is ATR/4
- Traditional: User-defined brick size, it's valid if the method is Traditional
- Percent: Percent of Close price, it's valid if the method is Percent
if the method is not Traditional (fixed brick size) then Brick size is calculated/updated when new bricks added. so The box sizes may be different because of the calculation is dynamic.
Levels & Lines for new Bricks: if you enable this option then the script shows the levels for new brick
Change Bar Color: optionally the script changes the bar color by using direction of the bricks
and some other options for coloring.
The script shows the bricks for visible area, which is approximately 280 candles. so if you change the width and number of the bricks then number of bricks that is shown is adjusted automatically to fit the screen. you can see the examples below:
The script shows the levels to new brick as a line and label:
Because of real-time bar is not confirmed until the candle close, the script shows the bricks as Unconfirmed , and unconfirmed bricks shown in different color:
You can change the width of the bricks (width is 10 in following example):
Optionally candle colors are changde by the direction of the bricks:
If you have any recommendation then please drop a comment under the script ;)
Enjoy!
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!
RSX FracticalityA little project I was working on to avoid studying for finals. Using LazyBear's RSX code for a smoother RSI, then taking the RSX of fib number lengths. Take the average of that, then the JMA of that from the same fib numbers. The average of that is then treated as the trend, take the average of the trend values from the main time frames, the script calls pretty far back so adding a W or M TF I think would throw the calculations off. Then I smoothed that value using the jma's to create the overall trend. I got the idea from Ehler's Empirical Mode Decomposition about identifying peaks and valleys and creating an average of that to create a range. The idea is that if the trend is above the Average Peak then it is a bull trend, less than the average valley it's a bear trend, in between it's ranging. It looks like it turned out alright, I'll be working on this idea of fractals a lot this summer to see if I can improve it or build something better off of the idea.
[RS]Fractal Auto Gann LinesEXPERIMENTAL:
GANN lines projection based on zigzag tops/bottoms, use at your own risk.
Fractal Quad Components8 Fractal Resonance Component indicators on a chart eats up LOTS of vertical space, so we're providing this Fractal Quad Components script to group 4 components a bit more compactly (eliminating the margin whitespace between indicator rows).
To view 8 components you'll need to add a second instance of this script to your chart and set its Base Timescale Multiplier to 16. Then grab the dividers to stretch both instances to a good viewing height.
One disadvantage of this grouping method is that to read off the x2, x4, and x8 lead and lag line values, you'll need to mentally add 200, 400 or 600 respectively.
We also replaced the "Extreme" > +-100% black crosses (+) with more subtle purple circle outlines. These extreme crosses are often (but not always) too early to be a major reversal so it's best not to overemphasize them.
Significant crosses (> +-75%) are still highlighted with black circle outlines, and are the most likely to be major reversals for buy/sell.
Note how the 30-minute oscillator (2nd row) showed the cleanest (black-outlined) reversals on the S&P for the last week of 2016, with just a bit more profit-eating lag than the 15-minute oscillator above.
Fractal Resonance BarLazyBear's WaveTrend port has been praised for highlighting trend reversals with precision and punctuality (minimal lag). But strong "3rd Wave" trends can "embed" or saturate any oscillator flashing several premature crosses while stuck overbought/oversold. This happens when the trend stretches over a longer timescale than the oscillator's averaging window or filter time constant. Our solution: monitor many timescales. With Fractal Resonance Bar's rich color codings, strong wavefronts form across timescales and jump out like an approaching line of thunderclouds!
Fractal Resonance Bar color-codes the status of eight underlying stochastic oscillators, with each row averaging over twice the time of the row above.
Fractal Resonance Bar shifts its timescales along with your choice of main chart timescale:
1 minute chart: 1 minute through 128 minute (~2 hour) oscillators.
15 minute chart: 15 minute through 1920 minute (~32 hour) oscillators.
1 hour chart: 1 hour through 128 hour (~2 week) oscillators.
Daily chart: 1 day through 128 day (~4 month) oscillators.
The color map is configured as follows:
Hot Pink: Extreme Overbought (> 100%) rolled over to sell, but oscillators probably embedded with more upside (revert to Dark Green) possible after a pause.
Deep Red: Overbought (> 75%) crossover ripe for selling (validated when red spreads to timescales below).
Brown: Minor (< 75%) crossover sell from which could bounce back green or start a plunge toward gray/black.
Gray/Black: Mature (< -75%) sells turning full black in a plunge before the dawn.
Lime Green: Extreme Oversold (< -100%) and bouncing, though may yet bottom even lower.
Green: Oversold (< -75%) crossover ripe for buy. Green spreading to all timescales below will validate bottom is in.
Dark Green/Teal: Mature buy in overbought (> 75%) range, waiting for sell crossover to Hot Pink for a pause or correction.
White Stripes are Impulsive Trend Warning
Fractal Resonance Bar warns of oscillator embedding by showing white stripes when it detects strong, early surges in the timescale rows below.The white stripes usually accompany Hot Pink warning it's too early to go short, or Lime Green warning it's too early to go long.
Heeding these warnings will probably miss the exact top or bottom, but you're less likely to get overrun in a momentum move.
Usually the market gives us a second opportunity to short very close to the top or buy very close to the bottom after the warning white stripes have subsided.
NOTE: Recently rolled over Futures contracts may not have enough history for all oscillator calculations, in which case no bar colors will appear.
Tweakable Attributes
The default Channel Length, Stochastic Ratio Length and Lag Length work reasonably well on all timescales in our experience. Minor tweaks don't hurt but this may just overfit to a particular chart history.
We don't recommend changing the 75% Overbought and 100% Extreme Overbought default levels as these are ideal numbers relative to the underlying oscillator statistic calculations. But these settings can shift the color transition levels.
Embedded attribute controls the sensitivity/conservativeness of the white strip embedding detectors. Closer to 75 increases the warning sensitivity while closer to 100 decreases the aggressiveness of blocking white stripes.
Embed Separation also affects the white stripe sensitivity.
Row width increases each row's thickness to fill the available screen height you've afforded the bar.
Fractal Resonance ComponentLazyBear's WaveTrend port has been praised for highlighting trend reversals with precision and punctuality (minimal lag). But strong "3rd Wave" trends can "embed" or saturate any oscillator flashing several premature crosses while stuck overbought/oversold. This happens when the trend stretches over a longer timescale than the oscillator's averaging window or filter time constant. Our solution: simultaneously monitor many oscillator timescales. Watch for fresh crossovers in "dominant" timescales alternating most smoothly between the overbought (red shade) and oversold (green shade) range.
Fractal Resonance Component facilitates simultaneous viewing of eight timescales that are power of 2 multiples of the chart timescale. Each timescale shows lead line, lag line, lead-lag difference, and crossover marks. Add 4 to 8 copies to your chart for a good multi-fractal read. Format * the "Timescale Multiplier" attribute of each row to be twice that of the row above for a sequence like 1, 2, 4, 8, 16, 32, 64, 128...
Fractal Resonance Component shifts its timescales along with your choice of main chart timescale:
1 minute chart: 1 minute through 128 minute (~2 hour) oscillators.
1 hour chart: 1 hour through 128 hour (~2 week) oscillators.
Daily chart: 1 day through 128 day (~4 month) oscillators.
Crossovers in different oscillator ranges tend to have different meanings:
Minor (< 75%) crossovers: small green/red dot
usually noise
Overbought/Sold crossovers (shaded 75 to 100%): black outlined dot (o)
reliable reversal indicators (when they appear alone)
Extreme Overbought (> 100%) crossovers: black outlined plus (+).
Can be a major reversal in fast markets, but usually portend the end of Elliot 3rd waves with just a small corrective (4th wave) retrace before the larger impulsive (5-wave) sequence resumes in original direction.
The final 5th-wave terminus should appear later as a lone non-extreme (black outlined circle) crossover on a slower timescale coincident with weaker (non-extreme) dot crosses on this timescale.
Careful examination of historical charts leads to many useful observations such as:
Dominant crossovers punctuating true reversals are usually in the green/red shaded ranges with black outlined dots (o) rather than minor or Extreme (+) ranges.
Due to market's fractal nature, two well-separated timescales like 1 minute and 1 hour can show dominant crosses simultaneously in opposite directions, e.g. the 1 minute showing a very short term high and the 1 hour a medium term low nearby.
Staying Nimble
Watch out for embedding on your supposedly dominant timescale -- a second cross while stuck in the overbought/oversold region suggests a stronger, longer trend than expected. Drop your eyes to a slower timescale below for the real dominant whose crossover will validate main trend reversal.
Embedding can often be predicted even at the first cross mark by checking whether the green lead line of the next slower timescale (one row below) has already hit the Overbought or especially the Extreme Overbought range but isn't close to rolling over. Fractal Resonance Bar (to be published) uses this principle to mark embedded timescales with white stripes, warning of a powerful trend wave on longer timescales you shouldn't fight until the white stripes subside.
Overnight gaps surge all timescales in ways that obscure the dominant timescale, so for shorter than daily charts, these methods work best on Futures contracts that only suffer weekend gaps.