notjoebidness

MTF Custom Moving Averages

notjoebidness Mis à jour   
This user-friendly indicator allows up to 8 moving averages ( EMA or SMA ) from any timeframe, on any time frame. There are plenty of other MTF MA indicators, each with their own pros and cons. I wanted to make one without the cons:

- Independently set each MA to Exponential or Simple
- No preset lengths
- No preset timeframes
- Optional labels to help keep track of the period/length/type of each plot
- Clean, intuitive input layout
- More than enough MAs available to use one indicator for several use cases... just check/uncheck the ones that are relevant to each chart

Watch for death crosses on the 4hr while monitoring the "Bull Market Support band" (Weekly 21 EMA and 20 SMA ) and checking the Monthly 10 EMA for major support or resistance. Toggle between half of the available MAs for long term BTC trends and use the others for your alts. Use this one indicator to support multiple strategies.

Please leave a comment if you find it useful or have suggestions!

Inspired by the first MTF indicator I found: Weekly Moving Average by TommyTompsen.
Notes de version:
Added multi-condition alerts. Set an alert to trigger when price moves above or below some or all of your customized MTFmoving averages.

Instructions: Right click any MTF Custom MA on your chart and choose "Add alert on MTF Custom MAs." The alert condition will default to "MTF Custom MAs." In the next drop-down you choose the trigger. For example, "Close above MA1-MA5" will trigger an alert only when price closes above your custom settings for M1 (10M EMA), M2 (21W EMA), M3 (21D EMA), M4 (20D SMA), & M5 (4hr 200 SMA). The frequency of alerts can be refined by selecting your desired timeframe before setting the alert and setting the alert to "Once per bar close."

To set alerts based on price crossing a single MA, change the alert condition to the ticker (example: BTCUSDT), then choose "Crossing," then choose the specific MA you want to track (example: MA3).
Notes de version:
v.04:
- Added optional fill between any two sequential MTF moving averages (finally!)
- Fill color follows the color of the dominant MA at crossovers
- Set fill transparency in settings
- Increased available MAs from 8 to 10
- Label color now follows the color of the MA
- Changed syntax to length-period-type (200 H EMA) to make the labels and status bar more readable
Notes de version:
Added optional timeframe override. See tooltip in Input Options menu under "Temporary Timeframe Override."
Added new logic for compound alerts based on multiple criteria. See tooltip in Input Options menu under "Compound Alerts" group and related comments on this page.
Notes de version:
03/11/2023 Corrected "above" to "below" in alert messages for three conditions: Close < MA1:MA8, Close < MA1:MA9, Close < MA1:MA10.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

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.

Vous voulez utiliser ce script sur un graphique ?