AA:=(CLOSE-LLV(LOW, 50))/(HHV(HIGH, 50)-LLV(LOW, 50))*100;
BB:=SMA(AA, 4, 1);
CC:=SMA(BB, 3, 1);
启动线:3*BB-2*CC,COLORWHITE,LINETHICK2;
阻力线:EMA(BB, 3),COLORRED,LINETHICK1;
金叉:= CROSS(启动线,阻力线);
DRAWTEXT(金叉,阻力线,'★'),COLORRED;
BB1:=SMA(AA, 83, 1);
CC1:=SMA(BB1, 3, 1);
启动线1:3*BB1-2*CC1;