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.
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.
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.
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.
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.