• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 7:01pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:01pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

SuperTrend Hedge V1 13 replies

How to reference Custom Indicator (SuperTrend) 23 replies

Supertrend and MTF supertrend IDEA 11 replies

Help with Supertrend Indicator error 2 replies

Modified Supertrend indicator 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 99
Attachments: Better SuperTrend Indicators
Exit Attachments

Better SuperTrend Indicators

  • Last Post
  •  
  • 1 91011Page 1213 14
  • 1 11Page 1213 14
  •  
  • Post #221
  • Quote
  • Dec 26, 2017 2:11pm Dec 26, 2017 2:11pm
  •  Erebus
  • Joined Jul 2011 | Status: Member | 6,742 Posts
Quoting Botan626
Disliked
Hello to everybody and Merry Christmas! I hope to find people who still using xSuperTrend indicator. What is xSuperTrend Candles supposed to do? Looks like it does nothing while being attached to the chart.
Ignored
Look fine to me, have you worked it out yet?

Attached Image (click to enlarge)
Click to Enlarge

Name: 2017-12-27_5-09-05.png
Size: 29 KB
Don't trade your heart, trade your chart!
4 Daily Signals All Time Return: 14.2%
 
1
  • Post #222
  • Quote
  • Dec 26, 2017 4:02pm Dec 26, 2017 4:02pm
  •  Botan626
  • Joined Sep 2016 | Status: Member | 1,069 Posts
Quoting Erebus
Disliked
{quote} Look fine to me, have you worked it out yet? {image}
Ignored

Yep, turned out the indi doesn't work when "Chart on foreground" is on. Thanks for the tip with the screenshot.
 
1
  • Post #223
  • Quote
  • Dec 26, 2017 6:13pm Dec 26, 2017 6:13pm
  •  ahhamidz
  • | Commercial Member | Joined Nov 2014 | 3,028 Posts
How to fix this bug
Attached Image (click to enlarge)
Click to Enlarge

Name: 1 gbpcad.png
Size: 23 KB
 
 
  • Post #224
  • Quote
  • Dec 27, 2017 5:26am Dec 27, 2017 5:26am
  •  Botan626
  • Joined Sep 2016 | Status: Member | 1,069 Posts
Quoting ahhamidz
Disliked
How to fix this bug {image}
Ignored
https://www.forexfactory.com/showthr...39#post7898139

Quote
Disliked
It should work anyway if you installed all the indicators to the correct folder. Metaquotes changed the file structure so the indicator check does not work. Turn off dll imports for the indicator and you will not get that error msg.
Attached Image (click to enlarge)
Click to Enlarge

Name: xSuperTrend Alert.png
Size: 8 KB
 
2
  • Post #225
  • Quote
  • Apr 18, 2018 3:57am Apr 18, 2018 3:57am
  •  Dilmeshsingh
  • | Joined Feb 2010 | Status: Member | 91 Posts
This is a nice thread. Was looking for more info on supertrend and this thread gave me more than I expected....thanks to all contributors
 
 
  • Post #226
  • Quote
  • May 8, 2018 2:08pm May 8, 2018 2:08pm
  •  John.Doe
  • | Joined Sep 2014 | Status: Member | 125 Posts
Thank you for sharing.
 
 
  • Post #227
  • Quote
  • May 9, 2018 11:50am May 9, 2018 11:50am
  •  toughgetgoin
  • | Joined May 2018 | Status: Junior Member | 1 Post
Thanks @Xaphod. Much appreciated. I was looking for this. Recently learnt about this indicator at a seminar. Lot of users out there depend on your work. great stuff.
 
 
  • Post #228
  • Quote
  • May 11, 2018 12:55pm May 11, 2018 12:55pm
  •  bolobolo
  • | Joined May 2018 | Status: Member | 3 Posts
do you have for mt5 version?
 
 
  • Post #229
  • Quote
  • Jul 1, 2018 2:15pm Jul 1, 2018 2:15pm
  •  ankitrit
  • | Joined Jul 2018 | Status: Junior Member | 1 Post
Thanks @Xaphod Your plugin works great I have used xSuperTrend and it generates signal in timely manner,

Also i was wondering if you can help me in tweaking 1 of the parameter that will be great.

So what i want to do, whenever candle touches supertrend line i.e dUpperLevel or dLowerLevel

can we toggle the signal from buy to sell and vice versa(no need to wait for the bar to close that way we can earn little bit more)

Here is the code i think we need to do some minor tweaking

// Set supertrend levels
if (Close[i]>gadSuperTrend[i+1] && Close[i+1]<=gadSuperTrend[i+1]) {
gadSuperTrend[i]=dLowerLevel;
}
else if (Close[i]<gadSuperTrend[i+1] && Close[i+1]>=gadSuperTrend[i+1]) {
gadSuperTrend[i]=dUpperLevel;
}
else if (gadSuperTrend[i+1]<dLowerLevel)
gadSuperTrend[i]=dLowerLevel;
else if (gadSuperTrend[i+1]>dUpperLevel)
gadSuperTrend[i]=dUpperLevel;
else
gadSuperTrend[i]=gadSuperTrend[i+1];

watermarkclose("Tag",gadSuperTrend[i],22,"Ariel",0,80,20);
// Draw SuperTrend lines
gadUpBuf[i]=EMPTY_VALUE;
gadDnBuf[i]=EMPTY_VALUE;
if (Close[i]>gadSuperTrend[i] || (Close[i]==gadSuperTrend[i] && Close[i+1]>gadSuperTrend[i+1]))
gadUpBuf[i]=gadSuperTrend[i];
else if (Close[i]<gadSuperTrend[i] || (Close[i]==gadSuperTrend[i] && Close[i+1]<gadSuperTrend[i+1]))
gadDnBuf[i]=gadSuperTrend[i];

Thanks in advance
 
 
  • Post #230
  • Quote
  • Jul 11, 2018 6:53pm Jul 11, 2018 6:53pm
  •  At777
  • | Joined Dec 2016 | Status: Member | 32 Posts
Here's a SuperTrend alerter. User can't change line style. Visually, I use Xaphod's xSuperTrend, and change the alerter to no color. Original download souce: https://www.marketcalls.in/metatrade...up-alerts.html
Attached File
File Type: ex4 Supertrend V1.1 Alert - Marketcalls.ex4   6 KB | 1,090 downloads

Also, added (hack 'n' paste) xSuperTrend-Candles scalable.mq4, now candles scale automatically to zoom levels. Tried adding alerts but didn't work on this indictor, however it's only commented out maybe someone shall make it work.
Attached File
File Type: mq4 xSuperTrend-Candles scalable.mq4   18 KB | 1,007 downloads

Same as above, except wicks scale same size as candle bodies, xSuperTrend-Candles scalable wicks.mq4
Attached File
File Type: mq4 xSuperTrend-Candles scalable wicks.mq4   18 KB | 1,061 downloads

Attached Image (click to enlarge)
Click to Enlarge

Name: scalable-wicks.png
Size: 33 KB
 
 
  • Post #231
  • Quote
  • Oct 2, 2018 4:57am Oct 2, 2018 4:57am
  •  Mach26
  • | Joined Mar 2009 | Status: Member | 29 Posts
Dear Xaphod, thank you for the indicators in this thread which I use daily on the M15. I have tried to load the xSupertrend Alert, however, it slows MT4 down to a virtual stop after it's loaded on 3 -4 charts. I'm not sure why this indicator is as consumptive as it is but I use a Developer who generally prefers putting indicators into EA's which may cure the problem (if it isn't something that I'm doing). Has anyone tried to create a full EA for this system? Is anyone else having this problem? Thanks for any help
 
 
  • Post #232
  • Quote
  • Dec 24, 2018 11:37pm Dec 24, 2018 11:37pm
  •  ramzam
  • Joined Nov 2015 | Status: Member | 2,927 Posts
Attached Image
Success is a Journey Not a Destination....... kind regards ramzam
 
 
  • Post #233
  • Quote
  • Apr 9, 2019 8:20am Apr 9, 2019 8:20am
  •  vinetum
  • | Joined Oct 2016 | Status: Member | 81 Posts
Thank you guys for sharing.
 
 
  • Post #234
  • Quote
  • Edited at 11:24am Aug 29, 2019 4:28am | Edited at 11:24am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,725 Posts
This is a repair to the indicator xSuperTrend on the first post that as of - 26-Aug-2019 - was not working.

Repairs - code updated to new code - #property strict - OnCalculate - bugs cleared - out of range fault cleared.

The default setting was 10-1.7 and the below chart illustrates this setting on GU London Breakout

GU - M5: All times London Summer Time - First vertical pink line = 06:00 & second = 08:00.
Attached Image (click to enlarge)
Click to Enlarge

Name: terminal_k0FJQwwdBm.png
Size: 58 KB
The indicator setting on the below GU chart is 10-3.0 and appears to be the more popular default value.
Attached Image (click to enlarge)
Click to Enlarge

Name: terminal_c3e0a1Mb8p.png
Size: 57 KB
Any preferred default settings can easily be hard coded -

Search internet - video - "How to edit MQL4 code" and edit the below code - the value 10 normally remains the same - the 3.0 is normally change to preferred value - any number of hard coded permutations can be saved (and named accordingly) for ease and speed of use.

Tip: All edited code will only become effective if compiled with 0 errors (can get away with warnings but not errors). If after a 0 error compile the code has not become effective while the indicator is on the chart - remove indicator from chart - re-compile with the green (debug) button second to the right of the compile button - a debug test chart should open and the indicator should appear on the chart - click the red stop button - the debug chart will disappear - re-load the indicator on chart for testing, review & use.
Inserted Code
input int    SuperTrendPeriod=10;      // SuperTrend ATR Period
input double SuperTrendMultiplier=3.0; // SuperTrend Multiplier
Other preferred settings for hard code editing
Inserted Code
#property indicator_type1 DRAW_LINE
#property indicator_color1 DarkOrange
#property indicator_width1 1
#property indicator_style1 STYLE_DOT
 
#property indicator_type2 DRAW_LINE
#property indicator_color2 Red
#property indicator_width2 2
#property indicator_style2 STYLE_SOLID
 
#property indicator_type3 DRAW_LINE
#property indicator_color3 Lime
#property indicator_width3 2
#property indicator_style3 STYLE_SOLID
colors - https://docs.mql4.com/constants/obje...ants/webcolors
styles - https://docs.mql4.com/constants/indi...num_line_style
properties - https://docs.mql4.com/basis/preprosessor/compilation

Possible use as filter in a larger system
Trending: 10 x 3.0
Attached Image (click to enlarge)
Click to Enlarge

Name: terminal_6oCi6JQjAo.png
Size: 69 KB
Range-bound: 10 x 2.0
Attached Image (click to enlarge)
Click to Enlarge

Name: terminal_xLg5pAEUVE.png
Size: 85 KB
Attached File
File Type: mq4 x2SuperTrend.mq4   9 KB | 977 downloads
 
5
  • Post #235
  • Quote
  • Aug 29, 2019 6:32pm Aug 29, 2019 6:32pm
  •  mrtools
  • Joined Nov 2006 | Status: Member | 304 Posts
This would be an updated histo version.
Attached Image (click to enlarge)
Click to Enlarge

Name: xst.png
Size: 62 KB
Attached File
File Type: mq4 xSuperTrend histogram.mq4   3 KB | 1,190 downloads
 
5
  • Post #236
  • Quote
  • Nov 16, 2019 6:48pm Nov 16, 2019 6:48pm
  •  TrendLover
  • | Joined Jun 2019 | Status: Member | 151 Posts
Quoting Phylo
Disliked
This is a repair to the indicator xSuperTrend on the first post that as of - 26-Aug-2019 - was not working. Repairs - code updated to new code - #property strict - OnCalculate - bugs cleared - out of range fault cleared. The default setting was 10-1.7 and the below chart illustrates this setting on GU London Breakout GU - M5: All times London Summer Time - First vertical pink line = 06:00 & second = 08:00. {image} The indicator setting on the below GU chart is 10-3.0 and appears to be the more popular default value. {image} Any preferred default...
Ignored

Hi Mr Phylo,

Could you add Multi-Timeframe to this indicator?
Attached File
File Type: mq4 x2SuperTrend.mq4   9 KB | 731 downloads
 
 
  • Post #237
  • Quote
  • Dec 21, 2019 3:50pm Dec 21, 2019 3:50pm
  •  GennaG
  • | Joined Dec 2019 | Status: Member | 2 Posts
HI, can anyone identify this indicator? It seems to be a supertrend of some sort but I have not been able to find or identify it. It can be used on mt4 platform. Apparently it is a very powerful tool.

Attached Image (click to enlarge)
Click to Enlarge

Name: IMG-20191221-WA0007.jpg
Size: 142 KB
 
 
  • Post #238
  • Quote
  • Nov 8, 2020 10:03pm Nov 8, 2020 10:03pm
  •  ASPeyas
  • | Joined Nov 2020 | Status: Junior Member | 1 Post
Alert error Sir. any solution?
Attached Image (click to enlarge)
Click to Enlarge

Name: ae4989f489d0e96e595e1b3bfc804958.png
Size: 71 KB
 
 
  • Post #239
  • Quote
  • Nov 21, 2020 11:05am Nov 21, 2020 11:05am
  •  ngocmai113
  • | Joined Nov 2020 | Status: Junior Member | 1 Post
Quoting qqsamudra
Disliked
I love to watch My template with this super trend indicators.. {image}
Ignored
Please share this teamplate, sir. Thanks very much
 
 
  • Post #240
  • Quote
  • Nov 21, 2020 10:59pm Nov 21, 2020 10:59pm
  •  Erebus
  • Joined Jul 2011 | Status: Member | 6,742 Posts
Quoting ngocmai113
Disliked
{quote} Please share this teamplate, sir. Thanks very much
Ignored
Good luck with that



Attached Image (click to enlarge)
Click to Enlarge

Name: 2020-11-22_13-56-03.jpg
Size: 242 KB
Don't trade your heart, trade your chart!
4 Daily Signals All Time Return: 14.2%
 
 
  • Platform Tech
  • /
  • Better SuperTrend Indicators
  • Reply to Thread
    • 1 91011Page 1213 14
    • 1 11Page 1213 14
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022