簡單附圖:出牡丹紅柱,白柱,黃柱,即可關注,多出更好。
源碼如下:
價:EMA(MA((((C-REF(C,1))+(H-REF(H,1))+(L-REF(L,1)))/3)/C,5),1)*50;
價5:MA(價,5);
價Q:=C/HHV(H,5);價Q5:MA(價Q,5);
STICKLINE(價>價Q5,價Q5,價,3,0),COLOR32CD32 ;
STICKLINE(價5>價Q5,價Q5,價5,3,0),COLORFF00FF ;
TYP:=(HIGH+LOW+CLOSE)/3;
價均:=EMA(TYP/REF(TYP,1),5);
大盤:=(INDEXH+INDEXL+INDEXC)/3;
大盤均:EMA(大盤/REF(大盤,1),5);
啟穩(wěn):=COUNT(CROSS(價Q,價Q5),價均<大盤均)=1;
買:=COUNT(CROSS(價,價5),價均<大盤均)=1;
DRAWTEXT(啟穩(wěn),價,'啟穩(wěn)'),COLORYELLOW;
DRAWTEXT(買,價,'買'),COLORDBDB70;
AA:=1110730;
SFX:=EMA(2500*(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)),7);
ZJX:=EMA(2500*(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)),2);
散戶線:=IF(DATE<=AA,SFX,0),COLORGREEN,LINETHICK2;
莊家線:=IF(DATE<=AA,ZJX,0),COLORFF00FF,LINETHICK2;
底:=COUNT(莊家線<500 OR 散戶線<500,3)>=1;
換手:=AMOUNT/V/CAPITAL*100;
東方:EMA(MA(C*換手/MA(C*換手,3),5),3);
東方5:MA(東方,5);
J:=(東方-REF(東方,1))/東方*100;
J1:=東方/J>1.2;
價D:=EMA(MA((((C-REF(C,1))+(H-REF(H,1))+(L-REF(L,1)))/3)/C,5),1)*50;
價5D:=MA(價D,5);
發(fā)家:=COUNT(0.00<=價D<=0.02 AND REF(J,1)<0 AND J>0 AND-0.02<=價5D<=0.02,CROSS(價D,價5D))=1 AND 東方>REF(東方,1) AND J1,COLORYELLOW ;
STICKLINE(發(fā)家,價,價5+0.5,1,0),COLORRED;
STICKLINE(發(fā)家 AND 底,價,價5,4,0),COLORMAGENTA;
STICKLINE(COUNT(啟穩(wěn),3)>=1 AND 發(fā)家,價,價5,2,0),COLORWHITE ;
STICKLINE(COUNT(啟穩(wěn),3)>=1 AND 發(fā)家 AND 底,價,價5+0.5,2,0),COLORYELLOW ;
更多通達信股票公式相關知識請關注南方財富網