ChingasX

X+ - SMA/EMA Suite with MTF



I often use a mix of EMAs and SMAs in my analysis and turning them on and off and adding and removing them from the chart becomes a bit of a burden.

In this script you'll find the most common EMAs and SMAs that I use on just about every chart I look at.

If the feature ever becomes available to save settings as templates from within the script, then I will do that but for now there are two work-arounds.


https://www.dropbox.com/s/vpvfpefdg42pf1g/TV%20Script%2001.png?dl=0


Work-Around 1: Create the suite that you want recalled by selecting what Moving Averages you want and then SAVE AS AN INDICATOR TEMPLATE. This has a fairly quick recall and you'll be able to access one that says "all EMA's" or "all SMAs" or "SMA/EMA for H4 Chart with MTF". Whatever you want.

That may work for some traders but others don't want the fuss of having their other indicators in the way or being added or removed from their templates, etc.


Work-Around 2: Add two instances or even three, whatever. I personally use two because the select on and select off can be a hassle when dealing with so many options.

I essentially use one that I have selected when I am looking at Daily or Higher Charts and then I hide that one an unhide the other one that is already setup for lower timeframe charts, from the M1 to the H4.

This allows me to run two full suites. I was looking for a way to save settings like we can with the Fibonacci tool but I simply could not find a solution. So, this will have to do.



The MTF - Multi-Time-Frame

I have it coded to display the 20 SMA from the M30, H1 and H4 Charts - no matter what timeframe you are currently viewing.

I also have the 200 EMA from the same charts (M30, H1, H4)

The Settings can be changed but the readout on the scales will stay 20 and 200.


www.dropbox.com...V Script 02.png?dl=0


You can change the SMA and the EMA to whatever you want as well as the Source, an offset if desired and the timeframe from which it will display from.





Above is a screenshot of an H4 Chart with only the MTFs. So you will see the 20 SMA from the M30 as well as the H1 and H4. They have a checkered style to them that can be customized in the settings. Those are White and Black.

The Green and Black are the 200 EMAs from the M30 and the H1 and H4.

https://www.dropbox.com/s/2u8y8nngomtk26k/TV%20Script%2003.png?dl=0



If you want to be able to see the Label on the scale, you can head to Settings/Scales and Tick on "Indicator Name Label"

https://www.dropbox.com/s/w7rp4jb20dcppa5/TV%20Script%2004.png?dl=0


https://www.dropbox.com/s/6ups94vatul5mmx/TV%20Script%2005.png?dl=0



I have a pretty specific color format that I follow but I do a lot of teaching. For me, it's far easier to have the readout of what line is what right on the chart:

7 EMA is the 7 EMA and not just "EMA" or something even longer that takes up a good portion of your screen when you turn on the indicator name label option.



Anyway, I hope somebody finds a use for this and if so, Awesome.







Above are just some ideas of how I use it.



Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
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 đồ?