Page 4 of 4

Re: Support Resistance

PostPosted: Wed Aug 19, 2020 3:36 am
by Apprentice
Tolerance defines how many candles are allowed within the S / R zone.

Re: Support Resistance

PostPosted: Sun Aug 30, 2020 3:45 pm
by speakinmymind
Can you make an option for the zone to be the wick of the candle instead of a number of pips?

Re: Support Resistance

PostPosted: Mon Aug 31, 2020 8:03 am
by Apprentice
You mean "Tolerance"?

Re: Support Resistance

PostPosted: Tue Sep 01, 2020 1:31 am
by speakinmymind
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

PostPosted: Tue Sep 01, 2020 2:27 am
by Apprentice
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

PostPosted: Wed Sep 02, 2020 9:52 pm
by speakinmymind
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

PostPosted: Tue Sep 15, 2020 5:45 pm
by speakinmymind
Please help. I put that code on that line in the indicator but it won't work.

Re: Support Resistance

PostPosted: Wed Sep 16, 2020 10:57 am
by Apprentice
The problem is, I don't understand you,
and how to implement it.
Can you provide a chart example?

Re: Support Resistance

PostPosted: Mon Sep 21, 2020 1:38 pm
by speakinmymind
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

PostPosted: Tue Sep 22, 2020 5:21 am
by Apprentice
Advanced Support Resistance 2.lua
(15.29 KiB) Downloaded 477 times

Try this version.