OPEN-SOURCE SCRIPT

[VDB]TrendScalp-FractalBox-3EMA

已更新
There are many indicators with William’s Fractal and Alligator. As many use EMA’s it may be useful to define a 3-EMA ribbon and combining Fractal Levels/Box (filling background between top and bottom fractals) for trend scalping. I searched for this kind of indicator in community – some show fractals, some just levels, some with alligator etc. but couldn't find the one needed. Hence thought of this indicator which may be of interest to other users too.

Key Points:
  • EMA ribbon is created using 3 EMA’s 35/70/105. Users can change these as per their preference. This is used for trend identification – 1. Bullish bias if Price > EMA1 > EMA2 > EMA3. 2. Bearish bias if Price < EMA1 < EMA2 < EMA3.
  • Background is marked during crossing of EMA1 and EMA2 to alert possible trend change.
  • 5-bar fractals are used to mark the Fractal levels and background between top and bottom fractals are filled to create a Fractal Box.
  • Fractal levels are marked only when the fractal formation is complete. Given offset is used this is lagging.

How to Use:
  • Sloping EMA ribbon is used for identifying the trend.
  • Fractal box break-out/ break-downs are used to trigger the trade with fractal high/low for entry/SL. Waiting for price contraction towards EMA ribbon resulting in smaller boxes is key to initiate trade. Avoid bigger boxes as SL’s will be big and price may move within. To draw the vertical lines of FractalBox change fractal level0 style to step-line.
  • This indicator combined with the cycle high/low (overbought/oversold) indicators such as CCI/Stochastic/RSI etc. can make it a good trend scalping setup while trading in the direction of momentum in higher timeframe.
  • This setup could be used for any timeframes. Do your back-testing before using it in live market.

This indicator was achieved by combing some fractal ideas from “Fractal and Alligator Alerts by JustUncleL”

DISCLAIMER: This indicator has been created for educational reference only and do not constitute investment advice. This indicator should not be relied upon as a substitute for extensive independent market research before making your actual trading decisions. Market data or any other content is subject to change at any time without notice. Liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of this indicator is accountability of user using it.
版本注释
The following changes are made -
  • Simplified Fractal code and modified Williams 5bar fractal to be flexible to include equal high/ lows.
  • Added 20 ema as Trend Strength measuring tool - slope/ angle of this ema above 30 will indicate good strength.
  • Fractal Line width
版本注释
Added Trend Suite which uses RSI50 with buy above level 55 and sell below level 45.
版本注释
The following updates are made -
  • Latest Fractal level are extended as lines for better visibility
  • EMA 10 added. This will help in deriving Impulsive zone - EMA10 > EMA20 is bullish zone and EMA10< EMA20 is bearish.
版本注释
Update EMA headlines.
3emaExponential Moving Average (EMA)fractalboxtrendroostertrendscalptrendscalpingtrendscalpv3trendstrengthVDBWilliams Fractal

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明