Attachments forums

List of attachments posted on this forum.


All files on forums: 135859

Re: Already Converted TradingView Indicators to MT4 Indicators

RodrigoRT7, Fri Mar 08, 2024 4:00 pm

mrtools wrote: Mon Feb 26, 2024 4:45 am Follow The Line with Regularized MA's + All Averages (Filters)

All the averages updated with Regularized Moving Averages too.

PS: For more information on this code, please see: Follow The Line + Angle Of Attack indicators.

Hi Mr Tools, how are you? Here I am again with suggestions.

I know we already have a plethora of excellent averages added to your kit and Kvak's kit.

However, I was remembering this specific one, I was just curious to test it with Step RMA (both your version and Kvak's) + Follow the Lines Avgs.

Could you convert this specific average please?

//
// @author LazyBear
//
// If you use this code in its original/modified form, do drop me a note.
//
study(title="WaveTrend [LazyBear]", shorttitle="WT_LB")
n1 = input(10, "Channel Length")
n2 = input(21, "Average Length")
obLevel1 = input(60, "Over Bought Level 1")
obLevel2 = input(53, "Over Bought Level 2")
osLevel1 = input(-60, "Over Sold Level 1")
osLevel2 = input(-53, "Over Sold Level 2")

ap = hlc3
esa = ema(ap, n1)
d = ema(abs(ap - esa), n1)
ci = (ap - esa) / (0.015 * d)
tci = ema(ci, n2)

wt1 = tci
wt2 = sma(wt1,4)

plot(0, color=gray)
plot(obLevel1, color=red)
plot(osLevel1, color=green)
plot(obLevel2, color=red, style=3)
plot(osLevel2, color=green, style=3)

plot(wt1, color=green)
plot(wt2, color=red, style=3)
plot(wt1-wt2, color=blue, style=area, transp=80)



If anyone is interested, follow the template + indicators.

Thank you very much again for all your help as always, Mr Tools :D
All files in topic