LikeRe: Trend Indicators for MT4

901
mrtools wrote:Thu Sep 23, 2021 1:34 pm This is a mt4 version, not quite the same, but will update it soon as I learn how to add the objects, one thing i was able to add was the auto arrow(little box) width.

ps) it has the sma smoothing, think if i remember right by default it is set at 20, if you set it to 1 or less then no smoothing.
Thanks again MrTools.


Re: Trend Indicators for MT4

902
mrtools wrote:Thu Sep 16, 2021 5:15 am Posting it again, if you have firefox, or at least when i was using it, it would add (1) or something like that to the name,so check that too.
mrtools, can you plzz check alert in the indicator in your post...
the alert doesn`t work in M5 (sound, message dont work, only arrow appear), but it functions normally (sound, message, arrow work normal) in other TF
i try to compare with my friend that can use this version "Fractal - channel breakout 1.01", he said that the alert work normal in M5

THX

Re: Trend Indicators for MT4

903
Vere wrote:Fri Sep 24, 2021 3:00 pm mrtools, can you plzz check alert in the indicator in your post...
the alert doesn`t work in M5 (sound, message dont work, only arrow appear), but it functions normally (sound, message, arrow work normal) in other TF
i try to compare with my friend that can use this version "Fractal - channel breakout 1.01", he said that the alert work normal in M5

THX
Try now.
These users thanked the author mrtools for the post:
Jedidiah

Re: Trend Indicators for MT4

905
mrtools wrote:Sat Sep 25, 2021 4:53 am Try now.
mr.tools
i have one doubt for the break out rules
Can you advise what is the rules that following the breakout arrow!!
I use HIGHLOW zigzag and fractal period is same "5" but breakout not happened in the marked snap ??
see snap
Attachments
"There is NO GOD higher than TRUTH" - Mahatma Gandhi


Re: Trend Indicators for MT4

906
sal wrote:Mon Sep 27, 2021 1:57 am mr.tools
i have one doubt for the break out rules
Can you advise what is the rules that following the breakout arrow!!
I use HIGHLOW zigzag and fractal period is same "5" but breakout not happened in the marked snap ??
see snap
This is what i have using default settings, except on display am displaying lines,candles, with arrows.
Attachments
These users thanked the author mrtools for the post:
Jedidiah

Re: Trend Indicators for MT4

907
mrtools wrote:Mon Sep 27, 2021 3:55 am This is what i have using default settings, except on display am displaying lines,candles, with arrows.
mr.tools
am not understand , pardon me.
my one idea can possible to update with this indicator!!

rule
after breakout next touch bar on the channel following trend direction of breakout bar.
New arrow close price < breakout bar BREAKOUT price level.

an arrow additional . see snap
Attachments
These users thanked the author sal for the post:
Jedidiah
"There is NO GOD higher than TRUTH" - Mahatma Gandhi

Re: Trend Indicators for MT4

909
This is Trend indicator B-V2 from Dziwne (translated from TradingView)

Code: Select all

//@version=4
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/

//————————————————————————————————————————————————————————————————————————————
//——————————————————————————— Auteur | © Dziwne ——————————————————————————————
//————————————————————————————————————————————————————————————————————————————

study(title="Trend Indicator B-V2 (Momentum mesuring) [Dziwne]", shorttitle="Dziwne Trend Indicator B-V2 [Dziwne]", resolution="")

//————————————————————————————————————————————————————————————————————————————
//—————————————————————————————— I. Paramètres ———————————————————————————————
//————————————————————————————————————————————————————————————————————————————

ema = input(defval=14, minval=1, title="EMA Length")
ema_smooth = input(defval=14, minval=1, title="EMA Length (Smoothing)")

colors = input(title = "Color Scheme", defval="Classic", options=["Classic", "Dziwne Color Scheme"])
show = input(true, "Show Lines & Filling")

//————————————————————————————————————————————————————————————————————————————
//——————————————————————————— II.1. Calcules, EMA ————————————————————————————
//————————————————————————————————————————————————————————————————————————————

o = ema(open, ema)
c = ema(close, ema)
h = ema(high, ema)
l = ema(low, ema)

//————————————————————————————————————————————————————————————————————————————
//————————————————————————— II.2. Calcules, Heikin Ashi ——————————————————————
//————————————————————————————————————————————————————————————————————————————

ha_t = heikinashi(syminfo.tickerid)

ha_o = security(ha_t, timeframe.period, o)
ha_c = security(ha_t, timeframe.period, c)
ha_h = security(ha_t, timeframe.period, h)
ha_l = security(ha_t, timeframe.period, l)

//————————————————————————————————————————————————————————————————————————————
//————————————————— II.3. Calcules, EMA (Réduction du bruit) —————————————————
//————————————————————————————————————————————————————————————————————————————

ha_o_smooth = ema(ha_o, ema_smooth)
ha_c_smooth = ema(ha_c, ema_smooth)
ha_h_smooth = ema(ha_h, ema_smooth)
ha_l_smooth = ema(ha_l, ema_smooth)

//————————————————————————————————————————————————————————————————————————————
//—————————————————— II.4. Calcules, Echelle %, Puissance  ———————————————————
//————————————————————————————————————————————————————————————————————————————

dif_oc = ha_c_smooth - ha_o_smooth
dif_hl = ha_h_smooth - ha_l_smooth

variable_oc_percent = dif_oc * 100 / dif_hl

//————————————————————————————————————————————————————————————————————————————
//————————————————— II.5. Calcules, Définition des couleurs ——————————————————
//————————————————————————————————————————————————————————————————————————————

couleur_positive = colors == "Classic" ? #26A69A : #FFBE3D
couleur_negative = colors == "Classic" ? #EF5350 : #D63031

couleur_positive_2 = colors == "Classic" ? #B2DFDB : #ffd88a
couleur_negative_2 = colors == "Classic" ? #FFCDD2 : #e37071

couleur_uptrend = change(dif_oc) >= 0 ? couleur_positive : couleur_positive_2
couleur_downtrend = change(dif_oc) <= 0 ? couleur_negative : couleur_negative_2

couleur_trend = dif_oc <= 0 ? couleur_downtrend : couleur_uptrend

couleur_show_positive = show ? couleur_positive : na
couleur_show_negative = show ? couleur_negative : na

//————————————————————————————————————————————————————————————————————————————
//———————————————————————————— III. Mise en place ————————————————————————————
//————————————————————————————————————————————————————————————————————————————

plot(variable_oc_percent, style=plot.style_columns, color=couleur_trend, title="Trend Momentum Indicator")

fib_236_positive = plot(23.6, color=na, title="23.6% Fibonacci")
fib_382_positive = plot(38.2, color=na, title="38.2% Fibonacci")
plot(50, color=couleur_show_positive, title="50% Fibonacci")

fib_236_negative = plot(-23.6, color=na, title="-23.6% Fibonacci")
fib_382_negative = plot(-38.2, color=na, title="-38.2% Fibonacci")
plot(-50, color=couleur_show_negative, title="-50% Fibonacci")

fill(fib_236_positive, fib_382_positive, color=couleur_show_positive, title="Positive Momentum Rejection-zone")
fill(fib_236_negative, fib_382_negative, color=couleur_show_negative, title="Negative Momentum Rejection-zone")

//————————————————————————————————————————————————————————————————————————————
//—————————————————————————————————— FIN —————————————————————————————————————
//————————————————————————————————————————————————————————————————————————————

It's using heiken ashi smoothed with Ema in the original, I added the other standard mt4 ma's + an option to use T3.
These users thanked the author mrtools for the post:
太虚一毫

Moving AveragesRe: Trend Indicators for MT4

910
mrtools wrote:Thu Sep 30, 2021 4:09 am This is Trend indicator B-V2 from Dziwne (translated from TradingView)
Man this is neat 😯

Really looking forward to checking it out in the morning bro. Thank you Mrtools, you've even added T3 in the mix 👌
Are you looking for a Forex broker? FBS cuts spreads by up to 58%. Click here to begin your trading journey, today.
No commissions are earned by Forex-station.


Guide to the "All Averages" Filters (ADXvma, Laguerre etc.) 🆕
Use Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions
An easy trick for drawing Support & Resistance


Who is online

Users browsing this forum: Abdi, bbookgenius, Facebook [Crawler], Jimmy, kvak, muhammadFarooq2k20, whiteadrian23 and 108 guests