moomoo CA Help Center-Desktop version indicator management
English
Back
Log in to access Online Inquiry
Back to the Top

Desktop version indicator management

1. Overview

1.1 Path

Click "Quotes" tab  --> Click "1D candlestick chart" --> Click "Indicator Management"


1.2 Functions Overview

Functions: My Indicators list, Indicators, Function, Code compiling area, Formula attribute, Note, and Parameter settings

● Indicators: All the system and customized indicators are presented.

● Functions: All the system functions are presented.

● Indicators list: You can add indicators to the "My indicators list" by selecting indicators from the "Indicators" tab. All the indicators are shown on the "Indicators" tab; you can easily add or hide indicators by clicking the "- (hide)" or "+ (add)" button. 

● Code compiling area: you can edit your scripts or compile functions in this area. 

● Formula attribute: The abbreviation, full name, object, and coordinate position of an indicator are presented.

● Note: Relative descriptions of an indicator are presented.

● Parameter settings: You can set the parameter name, default value, maximum, and minimum. 


1.3 Instruction

To add new indicators, delete indicators, import/export indicators, search indictors/function, and edit indicator script.

● Add a new indicator: Click the "+" add button on the top, input scripts, attributes, and parameter settings in the blank compilation page, and then click the "Test" and "Application" buttons to compile your indicator. If the script passes the system's test, your new indicator is added successfully. 

● Add/Remove an indicator: Click the red icon to delete an indicator, and click the green icon to add an indicator.

● Export indicators: ICON -- Export indicator

● Import indicators: ICON -- Import indicator


2. Indicator Script

2.1 Color

● Variable: Orange (you can draw line or dot in the k-chart);  Light Blue (you cannot draw line or dot in the k-chart)

● Function: Red (function that is not defined)

● Parameter: Blue (you need to set values in "parameter settings")

● Color Function: Purple

● Constant: Green


2.2 Customized Indicator Demo

Process: New page -- Input indicator information -- Input code -- Test and Application --Use indicator

● MA (Moving Average) -- Object: Draw lines in main chart.

MA1: MA(CLOSE,P1),COLORFF8D1E;

MA2: MA(CLOSE,P2),COLOR0CAEE6;

MA3: MA(CLOSE,P3),COLORE970DC;

MA4: MA(CLOSE,P4),COLOR0080FF;

MA5: MA(CLOSE,P5),COLOR22C57E;

MA6: MA(CLOSE,P6),COLORFF6060;

MA7: MA(CLOSE,P7),COLOR13FFFF;

MA8: MA(CLOSE,P8),COLORFBCD2D;

MA9: MA(CLOSE,P9),COLOR954FFF;

MA10: MA(CLOSE,P10),COLOR808080;


● Deduction price -- Object: Draw lines and dots in chart.

MA20:MA(C,20),DOTLINE,COLORRED;

MA60:MA(C,60),DOTLINE,COLORBLUE;

MA120:MA(C,120),DOTLINE,COLORBLACK;

EMA20:EMA(C,20),COLORRED;

EMA60:EMA(C,60),COLORBLUE;

EMA120:EMA(C,120),COLORBLACK;

DRAWICON(CURRBARSCOUNT=21,H,41);

DRAWICON(CURRBARSCOUNT=61,H,41);

DRAWICON(CURRBARSCOUNT=121,H,41);

● BIAS (Bias Ratio) -- Object: Draw lines, histogram, and coordinate line in sub chart.

MAN1: =EMA(CLOSE,20);

MAN2: =EMA(CLOSE,60);

MAN3: =EMA(CLOSE,120);

BIAS1: (CLOSE-MAN1)/MAN1*100,LINETHICK2,COLORBLACK;

BIAS2: (MAN1-MAN2)/MAN2*100,LINETHICK2,COLORRED;

BIAS3: (MAN2-MAN3)/MAN3*100,STICK,COLORBLUE;


2.3 Indicator Annotation

Write down your annotation within curly brackets "{ }".


3. FAQs

3.1 Common Reasons for Compilation Failure

  3.1.1 No parameters

  3.1.2 Abnormal parameter

   ● senario 1: The default value is not between the maximum and minimum.

    ● senario 2: The maximum is smaller than the minimum.

    ● senario 3: no parameter name

  3.1.3 Drawing line function is added to an undrawable line indicator formula

  3.1.4 Empty full name of the indicator

  3.1.5 Abbreviation error (English only)

  3.1.6 Functions that are currently not available 

  At present, there are many types of indicators used by technical investors. Some functions such as Tower, Anchored VWAP, Force index, and TTM squeeze are not yet available. We are now conducting a preliminary research on the function algorithm. If you need to add new functions, you can contact us through the customer service email or telephone.

This presentation is for informational and educational use only and is not a recommendation or endorsement of any particular investment or investment strategy. Investment information provided in this content is general in nature, strictly for illustrative purposes, and may not be appropriate for all investors.  It is provided without respect to individual investors’ financial sophistication, financial situation, investment objectives, investing time horizon, or risk tolerance. You should consider the appropriateness of this information having regard to your relevant personal circumstances before making any investment decisions. Past investment performance does not indicate or guarantee future success. Returns will vary, and all investments carry risks, including loss of principal. Moomoo makes no representation or warranty as to its adequacy, completeness, accuracy or timeliness for any particular purpose of the above content.