Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=59367
Forum: 17 · Topic 59367 · 45 post(s)
Apprentice · Fri Aug 30, 2013 1:40 pm


With many performance & presentation improvements, introduce audio alert. User can define zones X pips Up / Down around support / resistance lines.
Advanced Support Resistance.lua
Indicator based strategy. viewtopic.php?f=31&t=68704
speakinmymind · Fri Sep 06, 2013 12:33 pm
Wow, I’m glad this indicator was developed!!!
Can you create a strategy off this?
Apprentice · Sun Sep 08, 2013 1:21 am
And Rules For such a strategy would be?
speakinmymind · Sun Sep 08, 2013 8:56 am
Entry order to sell at bottom of upper resistance (optional amount of deviation for the entry, i.e. within 5 pips of target)
Entry order to buy at top of lower support (optional amount of deviation for the entry, i.e. within 5 pips of target)
Think these basic rules will work well in larger time frames.
Thanks!
Apprentice · Mon Sep 09, 2013 2:04 am
Your request is added to the development list.
Apprentice · Thu Oct 16, 2014 1:34 am
Advanced Support Resistance Added.
Jowzy27 · Mon Oct 27, 2014 4:33 am
Apprentice wrote:
Support Resistance.png
Support Resistance.lua
Advanced Support Resistance.png
With many performance & presentation improvements, introduce audio alert. User can define zones X pips Up / Down around support / resistance lines.
Advanced Support Resistance.lua
For Audio Alerts you have to install & activate _ALERT Helper for this specific currency pair.
_Alert.lua
Hello Apprentice or Alexander (or anyone who can!) Can I have a MT4 version of the Advanced Support - Resistance Indicator? Thanks
Apprentice · Mon Oct 27, 2014 6:15 am
Your request is added to the development list.
Jowzy27 · Mon Oct 27, 2014 6:28 am
Apprentice wrote: Your request is added to the development list.
Thank you. How much would you charge for this work, if then it would be quicker. I know you have a lot of requests on the table.
Apprentice · Tue Oct 28, 2014 6:52 am
Answered privately.
Apprentice · Mon Feb 16, 2015 3:45 am
Advanced Support Resistance.lua Update
habedoo · Fri Apr 03, 2015 5:40 am
Hello, is this indicator for mt4 already to download? If yes, please tell me where i can find it. Thanks!
habedoo · Thu Apr 09, 2015 5:04 am
Hello, can somebody please programming this indicator for mt4? thanks.
habedoo · Sat Apr 11, 2015 6:06 am
Please admin, can you speak something about that indicator? It is possible programm it for MT4 or no? Thanks.
Apprentice · Sun Apr 12, 2015 9:26 am
It is possible. We have to find someone to code it.
jenniferFX888 · Sun Apr 19, 2015 12:55 pm
Check out mt4 Supdem.MQL4
habedoo · Tue Apr 21, 2015 10:28 am
Thanks Jenniferfx888 but where i can check that?
zl068565 · Thu Sep 17, 2015 12:16 pm
Hey Apprentice,
Can you add sound + box alert for the first version of the support resistance indicator (not the advanced)?
It would be for:
1) when support appears 2) when resistance appears 3) when support gets taken out 4) when resistance gets taken out
This would be a great addition. Thanks!
Apprentice · Fri Sep 18, 2015 2:26 am
Your request is added to the development list.
paololuigi · Thu Nov 05, 2015 6:27 am
habedoo wrote: Thanks Jenniferfx888 but where i can check that?
paololuigi · Thu Nov 05, 2015 6:37 am
Apprentice wrote:
Support Resistance.png
Support Resistance.lua
Advanced Support Resistance.png
With many performance & presentation improvements, introduce audio alert. User can define zones X pips Up / Down around support / resistance lines.
Advanced Support Resistance.lua
For Audio Alerts you have to install & activate _ALERT Helper for this specific currency pair.
_Alert.lua
Sorry Apprentice in the FBSR Strategy.lua you’ve used FBSR.R and FBSR.S value to test the core.corossesover and the core.crossesunder point… which value of advanced support and resistance indicator i’ve to use for do the same thing in a strategy based on Advsuppres indicator?
Apprentice · Fri Dec 11, 2015 7:36 am
Compatibility issue fixed. _Alert Helper is not longer needed.
Apprentice · Mon Feb 05, 2018 10:18 am
The indicator was revised and updated.
enotikos · Mon Jul 22, 2019 9:24 am
Hi, Can you make a strategy with the advanced support resistance? Sell: when the price touches the resistance Buy: when the price touches the support
use the advanced support resistance indicator in H4 (or higher) and trading timeframe 5 min or 1 min
Use break even
Thank you
Apprentice · Tue Jul 23, 2019 8:32 am
Your request is added to the development list under Id Number 4800
Apprentice · Wed Jul 24, 2019 4:15 am
Try this version. viewtopic.php?f=31&t=68704
speakinmymind · Mon Aug 17, 2020 11:51 am
Could you please make a modified version that will filter by candle color?
For example, I would like to see support with red candles only and resistance with blue candles only.
Thank you, much appreciated!
Apprentice · Tue Aug 18, 2020 4:57 am
Your request is added to the development list. Development reference 1900.
Apprentice · Tue Aug 18, 2020 6:54 am
Option added to Advanced Support Resistance.lua
speakinmymind · Tue Aug 18, 2020 7:22 am
Could you please allow the “tolerance” to include the entire wick instead of the high or low?
I’m hoping the support and resistance will dissappear once any level on the wick has be touched, with the option to tolerate multiple touches. Thanks again.
Apprentice · Wed Aug 19, 2020 3:36 am
Tolerance defines how many candles are allowed within the S / R zone.
speakinmymind · Sun Aug 30, 2020 3:45 pm
Can you make an option for the zone to be the wick of the candle instead of a number of pips?
Apprentice · Mon Aug 31, 2020 8:03 am
You mean “Tolerance”?
speakinmymind · Tue Sep 01, 2020 1:31 am
Well both, right now the indicator is designed to make the zone a certain number of pips above and below the High or Low. Then tolerance makes them go away on a number of touches.
I would like the same feature, but the zone would just be the wick of the candle and tolerance would still make them go away on a number of touches.
Thanks
Apprentice · Tue Sep 01, 2020 2:27 am
Line 138 Value=math.max(source.close[up[i]], source.open[up[i]]); For resistance, zone is defiend by max of two, close and open.
speakinmymind · Wed Sep 02, 2020 9:52 pm
Apprentice wrote: Line 138 Value=math.max(source.close[up[i]], source.open[up[i]]); For resistance, zone is defiend by max of two, close and open.
I honestly don’t know what to do with this line of code. I’m lost
speakinmymind · Tue Sep 15, 2020 5:45 pm
Please help. I put that code on that line in the indicator but it won’t work.
Apprentice · Wed Sep 16, 2020 10:57 am
The problem is, I don’t understand you, and how to implement it. Can you provide a chart example?
speakinmymind · Mon Sep 21, 2020 1:38 pm
It is the original support resistance indicator. It used any candle wick as a support or resistance “zone”. The entire wick is the “zone”.
When the advanced version of this indicator was created, it uses pips to define a “zone”.
I was hoping to have the functionality of the advanced version (tolerance, filters, alerts,) but using the original concepts for zones (any wick that price hasn’t closed above or below) (see pic).
Alternatively if you could add these to the original support resistance indicator it would accomplish the same thing:
“touch tolerance”, “up/down candle filter” “support/resistence filter”
Apprentice · Tue Sep 22, 2020 5:21 am
Advanced Support Resistance 2.lua
Try this version.
Abiasthana · Thu May 23, 2024 2:57 am
Hey Apprentice,
Does this indicator repaints on chart?
Thanks
Apprentice · Tue May 28, 2024 5:23 am
As far as I remember, no.
Abiasthana · Sat Jun 01, 2024 2:00 am
Thanks
shaloiulabcde · Fri Feb 07, 2025 10:47 am
How can I integrate this indicator into an existing strategy? I keep getting this error: attempt to index upvalue ‘indicators’ (a nil value) - Failed to create the custom indicator. Check that the indicator file is in the correct location and that its name exactly matches ‘Support and Resistance Levels with Breaks’.”
Can you suggest a way to fix this?
Apprentice · Mon Feb 10, 2025 7:16 am
Can you provide the Strategy?