notjoebidness

MTF Custom Moving Averages

notjoebidness 已更新   
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.
版本注释:
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).
版本注释:
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
版本注释:
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.
版本注释:
03/11/2023 Corrected "above" to "below" in alert messages for three conditions: Close < MA1:MA8, Close < MA1:MA9, Close < MA1:MA10.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?