бРоъ:EMA(C,8);
бТоъ:EMA(бРоъ,18);
VAR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;
VAR2:=SMA(VAR1,5,1);
VAR3:=SMA(VAR2,8,1);
VAR4:=CROSS(VAR2,VAR3) AND VAR3
VAR5:=C LLV(C,60)*1.13 AND VAR4;
VAR6:=IF(C 200,VAR4,VAR5);
STICKLINE(бРоъ бТоъ,бРоъ,бТоъ,0,1),COLORRED;
STICKLINE(бРоъ бТоъ,бРоъ,бТоъ,0,1),COLORGREEN;
IF(бРоъ REF(бРоъ,1),бРоъ,DRAWNULL),COLORRED,LINETHICK2;
IF(бРоъ REF(бРоъ,1),бРоъ,DRAWNULL),COLORGREEN,LINETHICK2;
IF(бТоъ REF(бТоъ,1),бТоъ,DRAWNULL),COLORRED,LINETHICK2;
IF(бТоъ REF(бТоъ,1),бТоъ,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(C =бТоъ,LOW,HIGH,0,1),COLORRED;
STICKLINE(C =бТоъ,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(C бТоъ,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(C бТоъ,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE(CROSS(бТоъ,C),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE(CROSS(C,бТоъ),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE OPEN) AND (C бТоъ),CLOSE,OPEN,3.2,2)COLORGREEN;
STICKLINE((CLOSE OPEN) AND (C =бТоъ),CLOSE,OPEN,3.2,2)COLORRED;
STICKLINE((CLOSE OPEN) AND (C бТоъ),CLOSE,OPEN,3.2,0)COLORGREEN;
STICKLINE((CLOSE OPEN) AND (C =бТоъ),CLOSE,OPEN,3.2,0)COLORRED;