AA:MA(CLOSE,55),COLORYELLOW;
BBB:AA+2*STD(CLOSE,120),COLORLIBLUE;
CCC:AA-2*STD(CLOSE,60),COLORRED;
VAR1:=HHV(HIGH,55);
VAR2:=HHV(HIGH,25);
DDD:VAR1*0.90;
EEE:VAR2*0.95;
FFF:=(LLV(HIGH,55)+HHV(LOW,55))/2,COLORLIRED,LINETHICK1;
GGG:=(C*4+L*3+H*2+O)/10,COLORGREEN,LINETHICK1;
STICKLINE(FFF<GGG,FFF,GGG,0,-1),COLORRED,LINETHICK1;
STICKLINE(FFF>GGG,FFF,GGG,0,-1),COLORGREEN,LINETHICK1;
DRAWICON(crOSS(EEE,AA),AA,1);
DRAWICON(CROSS(AA,EEE),AA,2);