OPEN-SOURCE SCRIPT

20 Day Fade

Telah dikemas kini
20 Day Fade from MarketGeeks, I like the idea!.

This indicator only looks at daily bars, regardless of what timeframe you are using.

We look for a new 20 day low that closes within the 25th percentile of it's daily range.
We also want our security to be in an uptrend.
Finally we are looking for the next day closing price (or current price) to be atleast 2% above the previous days (20 day low) high.

Once all these conditions are satisfied it produces the text bubble letting you know that it is prime to buy.

The next version I will update with short options as well.
One day I may convert this into a strategy, but probably not. If you want to, please feel free to. All I ask is that you give credit for the base code, as I have done for the idea behind this indicator.
Nota Keluaran
Added an input to allow you to change the length of SMA used to determine trend. Default is 90.
fadetradeswingtrading

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?

Penafian