B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
B7:IF(B6 60,B6-60,0);
持有:STICKLINE(REF(B7,1) B7,B7,REF(B7,1),5,0);
出货:STICKLINE(REF(B7,1) B7,B7,REF(B7,1),5,0); DRAWTEXT(b7 REF(B7,1) and REF(B7,1) =REF(B7,2) and b7 =40,b7+5,'★买入'),colorred,LINETHICK2;
DRAWTEXT(b7 REF(B7,1) and REF(B7,1) REF(B7,2),b7,'▼卖出'),colorwhite;