Re: MT4 Indicator requests and ideas

14312
pin12 wrote: Wed Nov 17, 2021 9:32 am Hello !

The indicator named TrendWave appears to have a shift to the left.
Could the indicator signal be synchronized with the last candle on the charts please?
That would be like a "Zero Lag" TrendWave indicator
Thanks !
You have a decompiled version. Here is the normal of this forum.
And pay attention to the version of Mr. tools :razz:
viewtopic.php?p=1295375698#p1295375698
These users thanked the author andrei-1 for the post (total 2):
pin12, Hercs78

Re: MT4 Indicator requests and ideas

14314
mrtools.....could this concept of an RSI Support and Demand Level (from Trading View) converted into an MT4 Indicator....
Draws supply and demand zones based on the RSI indicator. For example if RSI is under 30 a supply zone is drawn on the chart and extended for as long as there isn't a new crossunder 30. Same goes for above 70.

https://www.tradingview.com/script/m6dD ... nd-Demand/

//@version=3
study(title="Supply/Demand", shorttitle="SD",overlay=true)
src = close, len = input(14, minval=1, title="Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
tresh = input(30,minval=1,title="Treshold eg. 100 - 30 = 70")
uppertreshold = 100 - tresh
lowertreshold = 0 + tresh

count = input(3,title="Confirmation Bars")

rsu = 0
rsd = 0
rsx = 0
incrementer_up = rsi > uppertreshold ? 1 : 0
incrementer_down = rsi < lowertreshold ? 1 : 0
incrementer_both = rsi > uppertreshold or rsi < lowertreshold ? 1 : 0

if incrementer_both
rsx := nz(rsx[1],0) + incrementer_both
else
rsx = 0

rxH = if (rsx >= count)
x = high
rxL = if (rsx >= count)
y = low

rH = fixnan(rxH)
rL = fixnan(rxL)


if incrementer_up
rsu := nz(rsu[1],0) + incrementer_up
else
rsu = 0

rssH = if (rsu >= count)
x = high

rssL = if (rsu >= count)
y = low

if incrementer_down
rsd := nz(rsd[1],0) + incrementer_down
else
rsd = 0

rsrH = if (rsd >= count)
x = high

rsrL = if (rsd >= count)
y = low

rsh = fixnan(rssH)
rsl = fixnan(rssL)
rrh = fixnan(rsrH)
rrl = fixnan(rsrL)
p1 = plot(rsh,style=cross,title="Resistance Zone High",transp=100)
p2 = plot(rsl,style=cross,title="Resistance Zone High",transp=100)
p3 = plot(rrh,style=cross,title="Support Zone High",transp=100)
p4 = plot(rrl,style=cross,title="Support Zone Low",transp=100)
p5 = plot(rH,style=cross,title="Demand Below / Supply Above | High")
p6 = plot(rL,style=cross,title="Demand Below / Supply Above | Low")
fill(p1,p2,color=green,transp=100)
fill(p3,p4,color=green,transp=100)
fill(p5,p6,color=blue)
These users thanked the author RplusT for the post (total 3):
Tradehunter, 太虚一毫, Hercs78

Re: MT4 Indicator requests and ideas

14315
RplusT wrote: Wed Nov 17, 2021 11:45 am mrtools.....could this concept of an RSI Support and Demand Level (from Trading View) converted into an MT4 Indicator....
Draws supply and demand zones based on the RSI indicator. For example if RSI is under 30 a supply zone is drawn on the chart and extended for as long as there isn't a new crossunder 30. Same goes for above 70.

https://www.tradingview.com/script/m6dD ... nd-Demand/

Image



//@version=3
study(title="Supply/Demand", shorttitle="SD",overlay=true)
src = close, len = input(14, minval=1, title="Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
tresh = input(30,minval=1,title="Treshold eg. 100 - 30 = 70")
uppertreshold = 100 - tresh
lowertreshold = 0 + tresh

count = input(3,title="Confirmation Bars")

rsu = 0
rsd = 0
rsx = 0
incrementer_up = rsi > uppertreshold ? 1 : 0
incrementer_down = rsi < lowertreshold ? 1 : 0
incrementer_both = rsi > uppertreshold or rsi < lowertreshold ? 1 : 0

if incrementer_both
rsx := nz(rsx[1],0) + incrementer_both
else
rsx = 0

rxH = if (rsx >= count)
x = high
rxL = if (rsx >= count)
y = low

rH = fixnan(rxH)
rL = fixnan(rxL)


if incrementer_up
rsu := nz(rsu[1],0) + incrementer_up
else
rsu = 0

rssH = if (rsu >= count)
x = high

rssL = if (rsu >= count)
y = low

if incrementer_down
rsd := nz(rsd[1],0) + incrementer_down
else
rsd = 0

rsrH = if (rsd >= count)
x = high

rsrL = if (rsd >= count)
y = low

rsh = fixnan(rssH)
rsl = fixnan(rssL)
rrh = fixnan(rsrH)
rrl = fixnan(rsrL)
p1 = plot(rsh,style=cross,title="Resistance Zone High",transp=100)
p2 = plot(rsl,style=cross,title="Resistance Zone High",transp=100)
p3 = plot(rrh,style=cross,title="Support Zone High",transp=100)
p4 = plot(rrl,style=cross,title="Support Zone Low",transp=100)
p5 = plot(rH,style=cross,title="Demand Below / Supply Above | High")
p6 = plot(rL,style=cross,title="Demand Below / Supply Above | Low")
fill(p1,p2,color=green,transp=100)
fill(p3,p4,color=green,transp=100)
fill(p5,p6,color=blue)
had a similar thought for the Trend - scalp (mtf + arrows + alerts + sr).ex4
make the levels adjustable to OB/OS, not just the zeroline cross
good idea
These users thanked the author Tradehunter for the post:
太虚一毫


Re: MT4 Indicator requests and ideas

14317
RplusT wrote: Wed Nov 17, 2021 11:45 am mrtools.....could this concept of an RSI Support and Demand Level (from Trading View) converted into an MT4 Indicator....
Draws supply and demand zones based on the RSI indicator. For example if RSI is under 30 a supply zone is drawn on the chart and extended for as long as there isn't a new crossunder 30. Same goes for above 70.

https://www.tradingview.com/script/m6dD ... nd-Demand/

Image



//@version=3
study(title="Supply/Demand", shorttitle="SD",overlay=true)
src = close, len = input(14, minval=1, title="Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
tresh = input(30,minval=1,title="Treshold eg. 100 - 30 = 70")
uppertreshold = 100 - tresh
lowertreshold = 0 + tresh

count = input(3,title="Confirmation Bars")

rsu = 0
rsd = 0
rsx = 0
incrementer_up = rsi > uppertreshold ? 1 : 0
incrementer_down = rsi < lowertreshold ? 1 : 0
incrementer_both = rsi > uppertreshold or rsi < lowertreshold ? 1 : 0

if incrementer_both
rsx := nz(rsx[1],0) + incrementer_both
else
rsx = 0

rxH = if (rsx >= count)
x = high
rxL = if (rsx >= count)
y = low

rH = fixnan(rxH)
rL = fixnan(rxL)


if incrementer_up
rsu := nz(rsu[1],0) + incrementer_up
else
rsu = 0

rssH = if (rsu >= count)
x = high

rssL = if (rsu >= count)
y = low

if incrementer_down
rsd := nz(rsd[1],0) + incrementer_down
else
rsd = 0

rsrH = if (rsd >= count)
x = high

rsrL = if (rsd >= count)
y = low

rsh = fixnan(rssH)
rsl = fixnan(rssL)
rrh = fixnan(rsrH)
rrl = fixnan(rsrL)
p1 = plot(rsh,style=cross,title="Resistance Zone High",transp=100)
p2 = plot(rsl,style=cross,title="Resistance Zone High",transp=100)
p3 = plot(rrh,style=cross,title="Support Zone High",transp=100)
p4 = plot(rrl,style=cross,title="Support Zone Low",transp=100)
p5 = plot(rH,style=cross,title="Demand Below / Supply Above | High")
p6 = plot(rL,style=cross,title="Demand Below / Supply Above | Low")
fill(p1,p2,color=green,transp=100)
fill(p3,p4,color=green,transp=100)
fill(p5,p6,color=blue)

Interesting idea, not sure if I can do it,but will give it a try.
These users thanked the author mrtools for the post (total 5):
RplusT, 太虚一毫, BeatlemaniaSA, Hercs78, Chickenspicy

Re: MT4 Indicator requests and ideas

14318
mrtools wrote: Wed Nov 17, 2021 12:54 pm Interesting idea, not sure if I can do it,but will give it a try.
This idea is interesting. I also thought about asking the teacher to do this. :thumbup:

For the previous Resistance Support indicators, the Resistance and Support provided by them are generally not reliable, but they only provide traders with some possible hints.

RSI has undergone hundreds of millions of ruthless tests by the market and is relatively reliable.

Re: MT4 Indicator requests and ideas

14320
Hi, mrtools!
Greetings from Bulgaria!
This is a translator, for which I apologize. First of all I want to thank you for your work!
My request is this: from this site I downloaded Mladen's indicator and I would like some additions to it.

1. Add to it 10 EMA.
2. Adding a sound alert when we have a slope change.
3. Adding a sound alert when there is a crossover with the EMA.
4. Add the next higher timeframe.

Thanks again! God bless you!


Who is online

Users browsing this forum: friend4you, kvak, LUCAS123, Narutopips, specialkey, Telegram [Bot] and 82 guests