JJX:=SUM(V*C,0)/SUM(V,0);
{First, we specified an average price line}
Time sharing: =CROSS(C, jjx);
Time sharing: =CROSS(JJX, c);
{Define time-sharing upper wear and lower wear}
DRAWICON (time-sharing, JJX,1);
DRAWICON (time-sharing, JJX, 2);
{Draw the icon 1 when threading, and draw the icon 2 when threading. The first simple task is completed, and then the second item is output to line 5, using the reference function. }
Five-day line:' Horse. Ma 1 # day', COLORBLUE
{We quoted the MA 1 moving average in the MA indicator, and the period was a day, which means we quoted the price of the 5th day, output the 5th day and drew it in blue. }