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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?