Editors' picksOPEN-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:
snapshot

Taking/closing positions:
snapshot

Example alert messages:
snapshot

Bounce off:
snapshot

Colors:
snapshot

Colors:
snapshot

Colors:
snapshot

Non-colored background:
snapshot


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

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer