通達信修改謙穗主圖指標公式
2020/6/5 18:43:56
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,3,8),LINETHICK2,COLOR00FFFF;
STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,3,8),LINETHICK2,COLORGREEN;
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背離'),COLOR0000FF;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'頂背離'),COLOR00FFFF;
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(買線,賣線);
SEL:=CROSS(賣線,買線);
STICKLINE(買線>=賣線,LOW,HIGH,1,0),COLORRED;
STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLOR0000AA;
STICKLINE(買線>=賣線,CLOSE,OPEN,2.5,0),COLOR0000CC;
STICKLINE(買線>=賣線,CLOSE,OPEN,2,0),COLOR0000CC;
STICKLINE(買線>=賣線,CLOSE,OPEN,1.8,0),COLOR0000EE;
STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLORAAAA00;
STICKLINE(買線<賣線,CLOSE,OPEN,2.5,0),COLORBBBB00;
STICKLINE(買線<賣線,CLOSE,OPEN,2,0),COLORCCCC00;
STICKLINE(買線<賣線,CLOSE,OPEN,1.8,0),COLOREEEE00;
STICKLINE(買線<賣線,LOW,HIGH,1,0),COLORFFFF00;
STICKLINE(CROSS(買線,賣線) OR CROSS(賣線,買線),OPEN,CLOSE,3,0),COLOR00FFFF;
一發(fā)千鈞指導(dǎo)線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;
謙穗臨界點: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;
{漲跌停K線}
STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,2.8,0),COLORF00FF0;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,2.8,0),COLORWHITE;
DRAWICON(IF(HHV(SUM(IF(C<WMA(C,2),V,0),4)/SUM(IF(C>WMA(C,2),V,0),4),5)>4 AND CROSS(2,SUM(IF(C<WMA(C,2),V,0),4)/SUM(IF(C>WMA(C,2),V,0),4)) AND C>=O,1,0),L*0.98,11);
看股 吧公式 www.kangub a.com
其它股票公式列表