hello
I attach another image, thi time with the indicator you gave me yesterday.
As you can see the supertrend still change according to close price, instead of heiken ashi close (with the same parameters: 14/3)
I've tried all the options, heiken ashi close, low, typical, median, etc. etc.
unfortunately I'm not able to code with mq language therefore I can't understand the problem.
Re: Supertrend indicators for MT4
412SuperTrend with Heiken Ashi APB (Average Price Bars) + Smoothing Optionsermete wrote: Thu Oct 12, 2023 3:38 am thanks for the indicator.
I attach 2 photos of Dax index with supertrend, taken now on 1 h timeframe, one with heiken ashi close, one with normal close.
As you can see the heiken ahi close has much less "noise", or false signals.
the idea (to reduce even more false signals) is to close 2/3 of position (like 2 contracts) when heiken ashi changes color, and leave the other 1/3 open until the next supertrend signal.
I tried with your indicator but without success.
kind regards
I dont know if is this what you want, but you may try this version with onbuild HA candles (APB HA). With lots of options like smoothing, menu section for selecting prices for close, high, low....
- These users thanked the author kvak for the post (total 19):
- Chickenspicy, yoki, Jedidiah, thomdel, Krunal Gajjar, Jimmy, boytoy, chris006, 太虚一毫, Skyold, talaate, ParallelNative, MayaxatL, excellence, Mundu19, maroka, RodrigoRT7, VespaTrader, michaelB
Re: Supertrend indicators for MT4
413Wow this special What I love about our indicators Kvak is every time you post I just know it will be something that already has a tonne of easy to use options and everything we need out of the box. Seriously its very rare that anyone needs to do a followup request or ask for a correction with your codes and I love every code you have made man your content is just so neat dude.kvak wrote: Mon Oct 16, 2023 7:07 am SuperTrend with Heiken Ashi APB (Average Price Bars) + Smoothing Options
I dont know if is this what you want, but you may try this version with onbuild HA candles (APB HA). With lots of options like smoothing, menu section for selecting prices for close, high, low....
- These users thanked the author boytoy for the post (total 2):
- kvak, RodrigoRT7
Re: Supertrend indicators for MT4
414Thank you for your kindly words....boytoy wrote: Mon Oct 16, 2023 6:16 pm Wow this special What I love about our indicators Kvak is every time you post I just know it will be something that already has a tonne of easy to use options and everything we need out of the box. Seriously its very rare that anyone needs to do a followup request or ask for a correction with your codes and I love every code you have made man your content is just so neat dude.
Re: Supertrend indicators for MT4
415Has anybody ever tested a single indicator
(or any system with buy and sell signals) in
a simple S&R (stop and reverse) system for various TFs?
Supertrend, gann hi-lo, and similar indicators
would be interesting to be tested.
(or any system with buy and sell signals) in
a simple S&R (stop and reverse) system for various TFs?
Supertrend, gann hi-lo, and similar indicators
would be interesting to be tested.
Re: Supertrend indicators for MT4
416thank you.kvak wrote: Mon Oct 16, 2023 7:07 am
I dont know if is this what you want, but you may try this version with onbuild HA candles (APB HA). With lots of options like smoothing, menu section for selecting prices for close, high, low....
I attach an image from Trading view, taken now on Dax index (1h), and one with your indicator, with the same broker and same parameters (14,3):
Re: Supertrend indicators for MT4
417Can you give us the author of that version or maybe post the code of the Trading view version, would need to see the code to compare.ermete wrote: Wed Oct 18, 2023 12:11 am thank you.
I attach an image from Trading view, taken now on Dax index (1h), and one with your indicator, with the same broker and same parameters (14,3):
- These users thanked the author mrtools for the post (total 2):
- Chickenspicy, stond
Re: Supertrend indicators for MT4
418it's the "default" one:
Code: Select all
//@version=5
indicator("Supertrend", overlay = true, timeframe = "", timeframe_gaps = true)
atrPeriod = input.int(10, "ATR Length", minval = 1)
factor = input.float(3.0, "Factor", minval = 0.01, step = 0.01)
[supertrend, direction] = ta.supertrend(factor, atrPeriod)
supertrend := barstate.isfirst ? na : supertrend
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, display = display.none)
upTrend = plot(direction < 0 ? supertrend : na, "Up Trend", color = color.green, style = plot.style_linebr)
downTrend = plot(direction < 0 ? na : supertrend, "Down Trend", color = color.red, style = plot.style_linebr)
fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps = false)
fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps = false)
Re: Supertrend indicators for MT4
419I always wondered why it was different
- These users thanked the author Chickenspicy for the post:
- ermete
0 + 0 = 0
Infinite / Infinite = 1
1 way to Heaven & it matters
Infinite / Infinite = 1
1 way to Heaven & it matters
Re: Supertrend indicators for MT4
420Dont sure what you mean with settings (14,3) what you tested, but I add 14- mid price and 3 - multiplier and from picture, is pretty close to your TV picture.ermete wrote: Wed Oct 18, 2023 12:11 am thank you.
I attach an image from Trading view, taken now on Dax index (1h), and one with your indicator, with the same broker and same parameters (14,3):
- These users thanked the author kvak for the post (total 4):
- Chickenspicy, mrtools, ermete, Cazz223