earnSmartAlgorithm

MA, MATR, ChEx | All in One - 4CR CUP

earnSmartAlgorithm 已更新   
In trade position setup, we always need to determine the market structure and manage the position sizing in a short period of decision time. Indicators such as moving average, initial stop loss and trailing stop loss are always helpful.

This indicator put all these handy tools into a single toolkit, which includes the following price action and risk management indicators:
  • MA - Moving Average
  • MATR - Moving Average less Average True Range
  • ChEx - Chandelier Exit


This script further enhances the setting so that you can easily customize the indicators.

For both the Moving Averages and the Moving Average less Average True Range , you can pick a type of moving average which suits your analysis style from a list of commonly used moving average formulations: namely, EMA , HMA , RMA, SMA and WMA , where EMA is selected as default.

The Moving Average less Average True Range , MATR, is usually applied as a reference to set the initial stop loss whenever opening a new position.

The abbreviation, MATR, is picked, so that this can serve as a handy reminder of a very good trading framework as elaborates as below:
M – Market Structure
A – Area of Value
T – Trigger
R – Risk Management (aka. Exit Strategy)
版本注释:
Adjusted the thinkness of the indicators for clearer visual judgement.
版本注释:
  • This version updates the flexibility in tailoring the ATR period for both Moving Average less ATR, MATR, and Chandelier Exit, ChEx.
    In general, the longer the period for the ATR, the wider the ATR, thus the lower stoploss indicated (for long position).

  • An option to select the price trigger in switching long-short Chandelier Exit is added to fit different trading preference.
    By default, "Close" is selected.

  • An additional moving average for weekly chart, MA Wk, is added.
    When the timeframe of your chart is lower than weekly chart, the weekly moving average, MA Wk, will be shown as a zig zag line, this is recommended to trun it on only when you are reading the weekly chart.
    And by default, its display is set as off.
版本注释:
This version fixes the issue of the zig zag weekly moving average to a smoothen line.
开源脚本

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

免责声明

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

想在图表上使用此脚本?