编辑精选OPEN-SOURCE SCRIPT

Ichimoku Oscillator

Hello All,

This is Ichimoku Oscillator that creates different oscillator layers, calculates the trend and possible entry/exit levels by using Ichimoku Cloud features.

There are four layer:
First layer is the distance between closing price and cloud (min or max, depending on the main trend)
Second layer is the distance between Lagging and Cloud X bars ago (X: the displacement)
Third layer is the distance between Conversion and Base lines
Fourth layer is the distance between both Leadlines
If all layers are visible maning that positive according to the main trend, you can take long/short position and when main trend changed then you should close the position. so it doesn't mean you can take position when main trend changed, you need to wait for all other conditions met (all layers(
there is take profit partially option. if Conversion and base lines cross then you can take profit partially. Optionally you can take profit partially when EMA line crosses Fourth layer.

Optionally ATR (average true range) is used for Conversion and baseline for protection from whipsaws. you can use it to stay on the trend longer time.

I added options to enable/disable the alert and customize alert messages. You can change alert messages as you wish. if you use 'close' in the alert message then you can get closing price in the alert message when the alert was triggered.

There is an option Bounce Off Support/Resistance, if there is trend and if the price bounce off Support/Resistance zone then a tiny triangle is shown.

There are many other options for coloring, alerts etc.

Some screenshots:

Main trend:
快照

Taking/closing positions:
快照

Example alert messages:
快照

Bounce off:
快照

Colors:
快照

Colors:
快照

Colors:
快照

Non-colored background:
快照


P.S. For a few months I haven't published any new script because of some health issues. hope to be healthy and create new scripts in 2024 :)


Enjoy!
ATRcoloredIchimoku CloudlonesometheblueoscillaltorOscillatorssentimentstrendfollowertrendfollowingWave Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明