I think that has to do with the parameter of the indicator...try optimise it and you should see it fits quite well. Try 89 as the average length and you should see the result.so far not showing well on my CL 5 min chart today.
//
// 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)
Alert(signal, "WT Arrow UP", Alert.BAR, Sound.Ring);
Alert(signal2_, "WT Arrow DOWN", Alert.BAR, Sound.Ring);
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
![]() |
L3 Banker Fund Flow Trend Oscillator for ThinkOrSwim | Indicators | 37 | |
C | Bull Bear Power VOID Oscillator For ThinkOrSwim | Indicators | 21 | |
M | SuperTrend Oscillator [LUX] For ThinkOrSwim | Indicators | 7 | |
![]() |
Klinger Volume Oscillator for ThinkorSwim | Indicators | 5 | |
F | Savage Oscillator for ThinkorSwim | Indicators | 143 |
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.