編輯精選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精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明