fxcodebase-backup

Support Resistance

Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=59367
Forum: 17 · Topic 59367 · 45 post(s)


Support Resistance

Apprentice · Fri Aug 30, 2013 1:40 pm

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

Indicator based strategy. viewtopic.php?f=31&t=68704


Re: 2013-II Beta: Support Resistance

speakinmymind · Fri Sep 06, 2013 12:33 pm

Wow, I’m glad this indicator was developed!!!

Can you create a strategy off this?


Re: 2013-II Beta: Support Resistance

Apprentice · Sun Sep 08, 2013 1:21 am

And Rules For such a strategy would be?


Re: 2013-II Beta: Support Resistance

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!


Re: 2013-II Beta: Support Resistance

Apprentice · Mon Sep 09, 2013 2:04 am

Your request is added to the development list.


Re: Support Resistance

Apprentice · Thu Oct 16, 2014 1:34 am

Advanced Support Resistance Added.


Re: Support Resistance

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


Re: Support Resistance

Apprentice · Mon Oct 27, 2014 6:15 am

Your request is added to the development list.


Re: Support Resistance

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.


Re: Support Resistance

Apprentice · Tue Oct 28, 2014 6:52 am

Answered privately.


Re: Support Resistance

Apprentice · Mon Feb 16, 2015 3:45 am

Advanced Support Resistance.lua Update


Re: Support Resistance

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!


Re: Support Resistance

habedoo · Thu Apr 09, 2015 5:04 am

Hello, can somebody please programming this indicator for mt4? thanks.


Re: Support Resistance

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.


Re: Support Resistance

Apprentice · Sun Apr 12, 2015 9:26 am

It is possible. We have to find someone to code it.


Re: Support Resistance

jenniferFX888 · Sun Apr 19, 2015 12:55 pm

Check out mt4 Supdem.MQL4


Re: Support Resistance

habedoo · Tue Apr 21, 2015 10:28 am

Thanks Jenniferfx888 but where i can check that?


Re: Support Resistance

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!


Re: Support Resistance

Apprentice · Fri Sep 18, 2015 2:26 am

Your request is added to the development list.


Re: Support Resistance

paololuigi · Thu Nov 05, 2015 6:27 am

SupDem.mq4

habedoo wrote: Thanks Jenniferfx888 but where i can check that?


Re: Support Resistance

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?


Re: Support Resistance

Apprentice · Fri Dec 11, 2015 7:36 am

Compatibility issue fixed. _Alert Helper is not longer needed.


Re: Support Resistance

Apprentice · Mon Feb 05, 2018 10:18 am

The indicator was revised and updated.


Re: Support Resistance

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


Re: Support Resistance

Apprentice · Tue Jul 23, 2019 8:32 am

Your request is added to the development list under Id Number 4800


Re: Support Resistance

Apprentice · Wed Jul 24, 2019 4:15 am

Try this version. viewtopic.php?f=31&t=68704


Re: Support Resistance

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!


Re: Support Resistance

Apprentice · Tue Aug 18, 2020 4:57 am

Your request is added to the development list. Development reference 1900.


Re: Support Resistance

Apprentice · Tue Aug 18, 2020 6:54 am

Option added to Advanced Support Resistance.lua


Re: Support Resistance

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.


Re: Support Resistance

Apprentice · Wed Aug 19, 2020 3:36 am

Tolerance defines how many candles are allowed within the S / R zone.


Re: Support Resistance

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?


Re: Support Resistance

Apprentice · Mon Aug 31, 2020 8:03 am

You mean “Tolerance”?


Re: Support Resistance

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


Re: Support Resistance

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.


Re: Support Resistance

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


Re: Support Resistance

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.


Re: Support Resistance

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?


Re: Support Resistance

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”


Re: Support Resistance

Apprentice · Tue Sep 22, 2020 5:21 am

Advanced Support Resistance 2.lua

Try this version.


Re: Support Resistance

Abiasthana · Thu May 23, 2024 2:57 am

Hey Apprentice,

Does this indicator repaints on chart?

Thanks


Re: Support Resistance

Apprentice · Tue May 28, 2024 5:23 am

As far as I remember, no.


Re: Support Resistance

Abiasthana · Sat Jun 01, 2024 2:00 am

Thanks


Re: Support Resistance

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?


Re: Support Resistance

Apprentice · Mon Feb 10, 2025 7:16 am

Can you provide the Strategy?