VAR1:=SMA(AMOUNT,10,1)/1000000;
VAR2:=REF(VAR1,1);
VAR3:=MA(REF(CLOSE,1),5);
йуел:VAR1*CLOSE/VAR3*1/10,COLOR009900,LINETHICK0,POINTDOT;
©╙ел:VAR1*OPEN/VAR3*1/10,POINTDOT,COLOR009900,LINETHICK0;
вН╦ъ:VAR1*HIGH/VAR3*1/10,POINTDOT,COLOR009900,LINETHICK0;
вН╣м:VAR1*LOW/VAR3*1/10,POINTDOT,COLOR009900,LINETHICK0;
иЗцЭоъ:EMA(йуел,12),COLORWHITE;
вРйуел:=REF(йуел,1),POINTDOT,COLOR009900,LINETHICK0;
уг╣Ь:=(йуел-REF(йуел,1))/REF(йуел,1)*100,POINTDOT,COLOR009900,LINETHICK0;
STICKLINE(йуел ©╙ел,йуел,©╙ел,5,0),COLORRED;
STICKLINE(йуел ©╙ел,вН╦ъ,MAX(йуел,©╙ел),0,1),COLORRED;
STICKLINE(йуел ©╙ел,MIN(йуел,©╙ел),вН╣м,0,1),COLORRED;
STICKLINE(йуел ©╙ел,йуел,©╙ел,5,0),COLORGREEN;
STICKLINE(йуел ©╙ел,вН╦ъ,MAX(йуел,©╙ел),0,1),COLORGREEN;
STICKLINE(йуел ©╙ел,MIN(йуел,©╙ел),вН╣м,0,1),COLORGREEN;
A:=(VOL * CLOSE);
B:=(SUM(A,1) / SUM(VOL,1));
B1:=EMA(B,17);
вй╫П:=(((B - B1) * 100) / B);
вй╫П╥е╢С:=(вй╫П * 8.5);
MAвй╫П:=MA(вй╫П╥е╢С,15);
MAвй╫П2:=MA(вй╫П╥е╢С,5);
бТЁЖ:CROSS(MAвй╫П2,вй╫П╥е╢С) AND (REF(вй╫П,1) 4.5);