OPEN-SOURCE SCRIPT

AMDX/XAMD indicator

Обновлено
The AMDX/XAMD indicator is designed to highlight specific trading sessions on the chart using distinct colors and optional vertical lines. Users can choose between two session types, AMDX or XAMD, and customize the visual appearance of the sessions. This tool is particularly useful for traders who want to analyze market behavior during different trading periods.

Meaning of AMDX:
A: Accumulation
M: Manipulation
D: Distribution
X: Continuation Or Reversal

Features:

  1. Session Highlighting:
  2. AMDX Sessions: Split into four segments - A, M, D, X.
  3. XAMD Sessions: Split into four segments - X, A, M, D.
  4. Customizable Colors:
  5. Choose individual colors for each session (A, M, D, X).
  6. Adjust the transparency of the session boxes for better visual integration with the chart.
  7. Drawing Styles:
  8. Box Style: Draws colored boxes around the session ranges.
  9. Line Style: Draws vertical lines at session start and end times.
  10. Vertical Lines:
  11. Option to enable or disable vertical lines at session boundaries.
  12. Customizable line style: Solid, Dotted, or Dashed.
  13. Session Labels:
  14. Automatically labels each session for easy identification.


Customization Options:
  1. Session Type: Select between AMDX and XAMD session types.
  2. Colors: Set custom colors for each session and vertical lines.
  3. Border Width: Adjust the width of the session box borders.
  4. Transparency: Control the transparency level of the session boxes.
  5. Drawing Style: Choose between Box and Line styles for session representation.
  6. Vertical Lines: Enable or disable vertical lines and select the line style.


How It Works:
The indicator calculates the start and end times for each session based on the selected session type (AMDX or XAMD). It then draws either boxes or lines to highlight these sessions on the chart. The indicator also includes options to draw vertical lines at the session boundaries and labels each session with a corresponding letter (A, M, D, X).

Use Cases:
Market Session Analysis: Easily identify and analyze market behavior during different trading sessions.

Intraday Trading: Helps intraday traders to focus on specific time segments of the trading day.

Visual Segmentation: Provides a clear visual segmentation of the trading day, aiding in better decision-making.


Times for AMDX/XAMD session:

A Session: 18:00 (previous day) to 03:00 (current day)
M Session: 03:00 to 09:00
D Session: 09:00 to 12:00
X Session: 12:00 to 18:00

Time for the XAMD session :

X Session: 18:00 (previous day) to 00:00 (current day)
A Session: 00:00 to 09:00
M Session: 09:00 to 12:00
D Session: 12:00 to 18:00
Информация о релизе
Vertical Lines and Labels: Option to enable or disable vertical lines for session start and end times, with customizable line styles (Solid, Dotted, Dashed).

Vertical Time Labels: Adds labels to the vertical lines showing the session start and end times, with colors matching the session colors for improved visual alignment.
amdxCyclesPO3

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности