通达信现金为王指标公式
通达信小荷冒尖角选股指标公式
通达信现金为王指标公式:
VAR2:=REF(CLOSE,1)/CLOSE;
VAR3:=(1-MA(LOW,3)/MA((HIGH+LOW+2*CLOSE)/4,20))*100-5;
VAR4:=(1-SMA(VAR2*LOW,3,1)/EMA((HIGH+LOW+2*CLOSE)/4,10))*100-5;
VAR5:=(MA(HIGH,3)/MA((HIGH+LOW+2*CLOSE)/4,20)-1)*100-5;
超跌度:IF(VAR3>0,-VAR3*REF((HIGH+LOW+2*CLOSE)/4,3)/CLOSE,0),COLORGREEN;
超涨度:IF(VAR5>0,VAR5*CLOSE/REF((HIGH+LOW+2*CLOSE)/4,3),0),COLORMAGENTA;
超涨预警选股:IF(超涨度,10,0),stICK,COLORRED,LINETHICK2;
超跌预警选股:IF(超跌度>REF(超跌度,1) AND REF(超跌度,1)<-10,-11,0),STICK,COLOR00FF00,LINETHICK2;
超跌关注:IF(超跌度>REF(超跌度,1) AND REF(超跌度,1)<-10,-11,0),STICK;
超涨关注:IF(超涨度< REF(超涨度,1) AND REF(超涨度,1)>10,11,0),STICK;
DRAWICON(crOSS(-0.01,超跌度),0,2);
DRAWICON(CROSS(超涨度,0.01),0,1);
10,COLOR008000;
-10,COLORRED;
MID:=MA(CLOSE,26);
UPPER:=MID+2*STD(CLOSE,26);
LOWER:=MID-2*STD(CLOSE,26);
布林截距:=(UPPER-LOWER)*5-5;
主升浪:IF(布林截距>0 AND MID>REF(MID,1),布林截距,0),COLORRED;
末跌段:IF(布林截距>0 AND MID< REF(MID,1),-布林截距,0),COLORCYAN; CL10:=EMA(C/L,10);
HC10:=EMA(H/C,10);
CCC5:=EMA(C/REF(C,1),5);
CCC10:=EMA(C/REF(C,1),10);
CL_HC:=CROSS(CL10,HC10);
CCC_HC:=CROSS(CCC10,HC10);
CCC_CCC:=CROSS(CCC5,CCC10);
CCC_CL:=CROSS(CCC10,CL10);
买短线强势股:CCC_HC AND REF(CL_HC,1) AND L<H AND C>=O;
STICKLINE(买短线强势股,0,1,1.5,0),COLORMAGENTA;
通达信马年量价解盘主图指标公式