OPEN-SOURCE SCRIPT

Simplified MA Crossover indicator

Cập nhật
This is my first script, it is really simple logic and you probably saw something similar before. Is a crossover indicator between 2 Moving Average, one fast MA and the second slow MA.
Inputs you can adjust:
- 8 different source of MA's
- lenght of the MA's
- 7 different types of MA's ("EMA", "SMA", "RMA", "WMA", "DEMA", "TEMA", "HMA")
- 3 smoothing level of the fast MA
- plotting fast MA into the chart
- plotting crossover triangle shapes
I really enjoed the creation of this simple concept indicator, maybe not the fastest because of his nature but I liked work on it. I am sure is a good base to improve, study and try new idea.
Phát hành các Ghi chú
v2
- Added import function named "Cinnamon_Bear/Cinnamon_BearIndicatorsMALibrary/2 as cin", this is a library with coded MA functions so you import only the value to keep more clean the indicator code.
- Replaced "DEMA", "TEMA", "HMA" function with the equivalent code from the new library.
- Added 5 new type of MA : "DSMA", "VWEMA", "EHMA", "LSMA", "ZLMA".

Double Exponential Moving Average (DEMA)Moving AveragesSimple Moving Average (SMA)

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm