炒股指标

显示 收起

通达信区间波段买卖机械操作指标公式

通达信区间波段买卖机械操作指标公式:

QWX1:=HHV(CLOSE,30);
QWX2:=LLV(CLOSE,30);
QWX3:=CONST((QWX1+QWX2)/2);
换手率:VOL/CAPITAL*100,NODRAW,COLORFFFF00;
实际量:VOL/10000,NODRAW;
顶:82*60+QWX3,COLORFFFF00,LINETHICK1;
顶A:92*60+QWX3,COLOR999599,LINETHICK3;
低:-3*60+QWX3,COLOR208FFF,LINETHICK1;
低A:9*60+QWX3,COLORFFF000,LINETHICK1;
低50:50*60+QWX3,COLORFFFF00,LINETHICK1;
DRAWTEXT(ISLASTBAR,顶,'顶'),COLORFFFF00;
DRAWTEXT(ISLASTBAR,低,'底'),COLOR208FFF;
106*60+QWX3,COLORFFFF00;
LOWV:=EMA(LLV(LOW,34),3);
HIGHV:=EMA(HHV(HIGH,34),3);
RSVD:=(EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3))*60+QWX3;
KB:=SMA(RSVD,8,1);
DD:=SMA(KB,6,1);
DRAWBAND(KB,RGB(180,99,110),DD,RGB(0,150,0));
DRAWICON(CROSS(DD,KB),DD,37);
DRAWICON(CROSS(KB,DD),DD,36);
JJ:3*KB-2*DD,COLOR00FFFF,LINETHICK1,DOTLINE;
DRAWTEXT(ISLASTBAR AND JJ>REF(JJ,1),JJ,'▲'),COLOR00FFFF;
DRAWTEXT(ISLASTBAR AND JJ<REF(JJ,1),JJ,'卖'),COLOR00FFFF;
LC := REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100)*60+QWX3;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI20:=((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))*60+QWX3;
A1:=EMA(LLV(LOW,9),3);
A2:=EMA(HHV(HIGH,9),3);
A3:=EMA(C,2);
RSVA:=(EMA((A3-A1)/(A2-A1)*100,3))*60+QWX3;
KA:=SMA(RSVA,3,1);
DA:=SMA(KA,3,1);
JA:3*KA-2*DA,COLORFFAAFF,LINETHICK1;
RSV1:=(EMA(100*(C-LLV(LOW,18))/(HHV(H,18)-LLV(LOW,18)),3))*60+QWX3;
主A:=EMA(RSV1,3);
STICKLINE(JA>90*60+QWX3,106*60+QWX3,104*60+QWX3,1.5,0) ,COLOR0000FF;
STICKLINE(RSI1>76*60+QWX3,104*60+QWX3,101*60+QWX3,1.5,0) ,COLORFFFF00;
STICKLINE(CCI20>=150*60+QWX3,101*60+QWX3,98*60+QWX3,1.5,0) ,COLOR208FFF;
STICKLINE(JA<低50,低50,JA,0,0) ,COLORFFF000;
STICKLINE(JA>低50,低50,JA,0,0) ,COLOR0000FF;
DRAWTEXT(ISLASTBAR AND JA>REF(JA,1),JA,'▲'),COLORFF00FF;
DRAWTEXT(ISLASTBAR AND JA<REF(JA,1),JA,'卖'),COLOR00FF00;

通达信区间波段买卖机械操作指标公式实例图解:

通达信区间波段买卖机械操作指标公式