(JS) Tip-and-Dip Oscillator 2.0

I am going to start taking requests to open source my indicators and this is the first one I decided to do. They will also be updated to Version 4 of Pinescript.

I went through and added notes on what each area of the code is, and in this particular case I added color schemes as a way to improve upon the original code.

Link to original:
Original Description:

"Let me start by saying I know that the name is goofy lol

This is an oscillator that that looks at price action vs. standard deviation in order to illustrate the trend. This thing looks like an Awesome Oscillator but the math behind this and the Awesome Oscillator are totally different (which is pretty interesting, given they look a lot alike). I included the Awesome Oscillator on the chart here so you can look at them and see where they are different.

So the Tip-and Dip Oscillator is meant to help you pinpoint tops and bottoms. I even added arrows where the top and bottom signals are given.

The oscillator itself has 3 colors, an up, down, and neutral color that come as green, red, and yellow. Since the readings given by the oscillator can greatly vary depending on the chart resolution, I included an option to edit the range to fit your chart.

Also - I have 4 different smoothing options that you can use depending on what your preference is. The default setting is the most sensitive so it will identify tops and bottoms more frequently, but it is the most accurate when pinpointing the correct reversal candle. As you smooth it out, the arrows will appear less, but my be slightly delayed and give a later reading. I personally prefer the default, but going up to the second setting in smoothing works nicely as well.

Oct 18
版本注释: Per request: added alerts and now allowing custom colorization.
从常用的脚本中删除 添加到常用的脚本
After some testing I have noticed that the signals for this indicator are repainting?
Otherwise this indicator would be absolutely amazing. If you can somehow make this non-repainting it would be incredible! :D
@JJosuke, repainting? care to elaborate because I don't understand what you're saying.
JJosuke J-Streak
@J-Streak, I PM'd you, sorry for the late reply, but the signals generate 2 bars later than they appear as far as I can see
Great work! But can you please allow for custom colour schemes xD
Would really like to have some customization and being able to personally see it better :)
@JJosuke, custom colorization added
Can you add alerts??
J-Streak KlassBros
@KlassBros, absolutely, great idea! Give me a little bit and I'll have it done, after I am finished I'll reply again to let you know.
J-Streak KlassBros
@KlassBros, alerts added
thank you kind for your work sir, added your code to my toy and it works excellent
cheers :)
J-Streak scamArtist
@scamArtist, Glad you like it thanks!
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 节目 如何运作 图表功能 价格 网站规则 版主 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 帮助中心 推荐朋友 功能请求 博客 & 新闻 常见问题 维基百科 Twitter
概述 个人资料设置 账号和账单 推荐朋友 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出