快线:(((C+L)/2-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100)+20,COLORFFFFFF;
慢线:=(((C+L)/2-LLV(L,68))/(HHV(H,68)-LLV(L,68))*100)+20;
防线:EMA(((2*C+H+L)/4-LLV(L,31))/(HHV((H+C)/2,21)-LLV(L,31))*100,8),COLOR00FFFF;
均线:SMA(防线,4,1),COLOR00FF00;
DRAWBAND(防线,RGB(255,0,0),均线,RGB(0,255,255));
中线预警:STICKLINE(防线>=90,123,125,12,0),COLOR0000FF;
短线预警:STICKLINE(快线>=106,116,120,12,1),COLORFF00FF;
逃跑:STICKLINE(快线>=110,128,130,12,1),COLOR00FF00;
LC := REF(CLOSE,1);
RSI11:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100-70;
RSI22:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100-70;
RSI33:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100-70;
DRAWBAND(RSI11,DRAWNULL,-50,RGB(256,200,20));
IF(C>0,RSI11,RSI11),LINETHICK1,COLORFFFFFF;
IF(C>0,RSI22,RSI22),LINETHICK1,COLOR00FFFF;
IF(C>0,RSI33,RSI33),LINETHICK1,COLORFF00FF;
108,COLOR000044; 70,COLOR000055; 10,COLOR003300; -15,COLOR003300; -50,COLOR003300;
评论(0)