RodrigoKazuma

RK's 04 - Lots of MA Types Ribbon

RodrigoKazuma Cập nhật   
Hello again,

I made this script to test what is the better Moving Average type to predict the market direction, so I put a function with All the MA I know.

To go beyond, this script have an option to increase the MA length as a Fibonacci Number or any other simple number to step.

If the drawing is too slow, just reduce the amount of MA lines in the input option ("Number of MA to Plot:") to 10 or less and it will be faster.

Hope you like, and if you know other Moving Average type, just tell me how can I get the formula and (if its good, not copyrighted and I have time) I can add here and update for all of us.


Obs: To avoid errors, the Maximum Nth Fibonacci Term to use in MA Length is 19 (4181)
Phát hành các Ghi chú:
► Put an option to change colors when a slow MA crossover the right next fast MA line;
► Change the labels to one Info Panel or just simple symbols with the content in tooltip;
► Put a list of Fibonacci Sequence Terms in Inputs to help.
Phát hành các Ghi chú:
After some update in TradingView's Pine Code, the old script stop to works.

So, I rewrite some part of the code to fix the new problem;
And in addition, I put 4 new Moving Average kind to the script.

In any case, thanks @omo-omo to report the bug.

Feel free to share your success with me: 🤑👍
BTC - bc1qq23w655arvclce7u8zkt4lag08fnctgccs9s9s
ETH - 0xf6cf166Ea5EC550372e179dB1AF579a29Cb91dDf
USDT - 0x8DbC0E889Afb3bec7241eD0E42429A612aa30015 - (ERC20)
Mã nguồn mở

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

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

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

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