AA:=IF(DATE<=1190808,1,0);
LC:=REF(CLOSE,1)*AA;
RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
AH:=HHV(RSI1,8)*AA;
AL:=LLV(RSI1,8)*AA;
STO1:=IF(AL=AH,0,100*(RSI1-AL)/(AH-AL))*AA;
Z:EMA(STO1,2)*AA;
P:EMA(Z,1)*AA;
75;
25;
DRAWBAND(Z,RGB(225,0,0),P,RGB(0,225,0))*AA;
VAR1:=SMA(((CLOSE - LLV(LOW,60.1355))/(HHV(HIGH,60.1355) - LLV(LOW,60)))*(80),7,1)*AA;
VAR2:=CROSS(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),(-200)) AND (((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),5))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),5))) > (-100))*AA;
DRAWTEXT(CROSS(EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13),EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),5))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),5))),13)) AND (EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13) > 0),100,'险')*AA,LINETHICK1,COLOR00FF00;
DRAWTEXT((FILTER(VAR2,5) = 1),0,' 1')*AA,LINETHICK1,COLORFF00FF;
STICKLINE(CROSS(EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13),EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),5))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),5))),13)) AND (EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13) > 0),80,100,10,0)*AA,COLORBLUE;
STICKLINE((FILTER(VAR2,5) = 1),0,20,10,0)*AA,COLORYELLOW;
|