某软件睛雨线指标
MA5:=MA(CLOSE,5);
MA13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA34:=MA(CLOSE,34);
BOLL0:=MA(CLOSE,26);
BOLL1:=BOLL0 + SFSTD(BOLL0,CLOSE,26);
BOLL2:=BOLL0 - SFSTD(BOLL0,CLOSE,26);
MACD1:=EMA(CLOSE,6) - EMA(CLOSE,13);
MACD2:=EMA(MACD1,5);
A:=SFQYX(MA5,MA13,MA21,MA34,BOLL0,BOLL1,BOLL2,MACD1,MACD2);
T1:STICKLINE(A=1 AND H>L,H,L,0,1),NOTDRAWTEXT,COLORRED;
T2:STICKLINE(A=-1 AND H>L,H,L,0,1),NOTDRAWTEXT,RGB(0,255,255);
T:STICKLINE(HIGH>LOW,CLOSE,OPEN,-1,0),COLORBLACK;
B5:STICKLINE(A=1 AND C>O,C,O,-1,1),NOTDRAWTEXT,COLORRED;
B6:STICKLINE(A=1 AND C<=O,O,C,-1,0),NOTDRAWTEXT,COLORRED;
B7:STICKLINE(A=-1 AND C>O,C,O,-1,1),NOTDRAWTEXT,RGB(0,255,255);
B8:STICKLINE(A=-1 AND C<=O,O,C,-1,0),NOTDRAWTEXT,RGB(0,255,255);
SHOW:=IF(A=1,IF(REF(A,1)=-1,1,0),IF(REF(A,1)=1,-1,0));
B2:DRAWTEXTEX(SHOW=1,L,'买入',21),NOTDRAWTEXT,COLORRED;
B10:DRAWTEXTEX(SHOW=-1,H,'卖出',12),NOTDRAWTEXT,RGB(0,255,255);
d1:DRAWICONEX(SHOW=1,L,143,0);
d2:DRAWICONEX(SHOW=-1,H,142,1
1);