0% found this document useful (0 votes)
43 views1 page

Ezalgo

This document contains source code for the 'EzAlgo Oscillator' indicator, which is designed for use in trading analysis. It includes parameters for channel length, average length, and overbought/oversold levels, and utilizes exponential moving averages and other calculations to plot the oscillator's values. The code also features visual elements such as plots and fills to enhance the indicator's usability.

Uploaded by

Hardik Goti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views1 page

Ezalgo

This document contains source code for the 'EzAlgo Oscillator' indicator, which is designed for use in trading analysis. It includes parameters for channel length, average length, and overbought/oversold levels, and utilizes exponential moving averages and other calculations to plot the oscillator's values. The code also features visual elements such as plots and fills to enhance the indicator's usability.

Uploaded by

Hardik Goti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

// This source code is subject to the terms of the Mozilla Public License 2.

0 at
https://mozilla.org/MPL/2.0/// grandkolla
//@version=5////////indicator(title='EzAlgo Oscillator')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 = hlc3esa = ta.ema(ap, n1)d =
ta.ema(math.abs(ap - esa), n1)ci = (ap - esa) / (0.015 * d)tci = ta.ema(ci, n2)wt1
= tciwt2 = ta.sma(wt1, 4)plot(0, color=color.new(color.gray, 0))ob1 =
plot(obLevel1, color=color.new(color.maroon, 90))os1 = plot(osLevel1,
color=color.new(color.aqua, 90))ob2 = plot(obLevel2, color=color.new(color.maroon,
90))os2 = plot(osLevel2, color=color.new(color.aqua, 90)) p1 = plot(wt1,
color=color.new(color.aqua, 0))p2 = plot(wt2, color=color.new(color.maroon,
0))plot(wt1 - wt2, color=wt2 - wt1 > 0 ? color.new(color.maroon, 50) :
color.new(color.aqua, 50), style=plot.style_histogram)plot(ta.cross(wt1, wt2) ? wt2
: na, color=color.new(color.black, 0), style=plot.style_circles,
linewidth=3)plot(ta.cross(wt1, wt2) ? wt2 : na, color=wt2 - wt1 > 0 ?
color.maroon : color.aqua, style=plot.style_circles, linewidth=2)fill(p1,p2,color =
wt2 - wt1 > 0 ? color.new(color.red, 50) :
color.new(color.aqua,50))fill(ob1,ob2,color = color.new(color.maroon,
20))fill(os1,os2,color = color.new(color.aqua, 20))

You might also like