OPEN-SOURCE SCRIPT

Milan Oscillator

Telah dikemas kini
Bill Williams Breakout Setup

I have referred to the man multiple times whether tweeting about him or writing a blog post. Now I want to relearn how breakout trading works, again. A while ago, my friend invited a bunch of us into a Zoom conference sharing us how his setup works for him. He reintroduced me to Bill Williams' indicators which looked like below.

syot kilat

The rules are simple:

  • Prices are moving away from Alligator, open and closed above the first time.
  • AC is twice consecutively at par with the direction.
  • AO is twice consecutively at par with the direction.
  • Entry on the third candle to be sure, or the second if you're willing to risk it.


The chart above is an example from the 4 hourly time-frame. Before going into any entry, to get a macro perspective, should check on these time-frames first:

  • Weekly
  • 3 Days
  • Daily


Bonus points if monthly time-frame is also at par with the bias. Here are the charts for the larger time-frame.

syot kilat

syot kilat

syot kilat

syot kilat

It's been profitable trading with the above setup but then I have an itch to scratch. I wanted to have just a single oscillator instead of two to look at. It will enable me to make decisions faster and can use my brain juice to think about something else.

So I combined the two to create a new oscillator. I call it the `Milan Oscillator` in honor of my friend Patris who reintroduced me to Bill Williams yet again. Patris' favorite team is AC Milan, here's to you bro 🍺

Here are the same charts above with Milan Oscillator.

syot kilat

syot kilat

syot kilat

syot kilat

syot kilat

The rules are a bit different than the rules above:

  • No entry when the oscillator is gray, this means AC and AO are disagreeing.
  • Prices are moving away from Alligator, open and closed above the first time.
  • Oscillator is twice consecutively at par with the direction.
  • Entry on the third candle to be sure, or the second if you're willing to risk it.


On lower volume moves, prices will retest alligator, can be an entry if the retest fails.

Feedbacks are appreciated.
Nota Keluaran
Fixed typo when presenting oscillator's color for red bars. Thank you to nufl2 for pointing out the mistake. Cheers!
Bill Williams IndicatorsOscillatorsVolatility

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian