2017-05-27 股票知识网http://zhishi.southmoney.com/
股票选股公式编写教程 飞狐后土指标公式 南方财富网小编为您提供
DRAWGBK(C>0,COLORRGB(260,50,260),COLORRGB(100,0,180),1);
DRAWTEXTEX(1,0,10,0,'K线中部紫红色条纹买进!'),COLOR663377;
DRAWTEXTEX(1,0,10,40,'K线中部粉红色条纹加码!'),COLORff99ff;
DRAWTEXTEX(1,0,10,80,'K线中部大红色条纹上涨!'),COLORred;
DRAWTEXTEX(1,0,10,120,'K线中部浅绿色条纹洗盘!'),COLORGREEN;
DRAWTEXTEX(1,0,10,160,'K线中部深青色条纹下跌!'),COLOR858500;
趋势线:=SMA(FORCAST(CLOSE,13),5,1),LINETHICK1,PRECISION2,colorFFFF00;
E130:=EMA(CLOSE,30);
TYM:=(HHV(HIGH,20) - (0.5 * (HHV(HIGH,20) - LLV(LOW,20))));
PARTLINE(ALL((CLOSE > TYM),3),TYM),LINETHICK2,color122650;
PARTLINE(ALL((CLOSE < TYM),3),TYM),LINETHICK2,colorgreen;
A3:=EMA(SLOPE(CLOSE,21)*20+CLOSE,68);
A4:=EMA(CLOSE,10);
A5:=REF(CLOSE,2);
A6:=(SMA(MAX(CLOSE-A5,0),6,1))/(SMA(ABS(CLOSE-A5),6,1))*100;
A7:=IF(A6<REF(A6,1) AND A6>79,A6,0);
DRAWTEXT(CROSS(A4,A3),LOW,'△'),ALIGN1,PXUP4,colorFFFF;
DRAWTEXT(A7,HIGH,'○'),PXUP6,colorFF00;
A8:=LLV(LOW,21);
A9:=HHV(HIGH,21);
A10:=EMA((CLOSE-A8)/(A9-A8)*100,5);
A11:=EMA((CLOSE-A8)/(A9-A8)*50,13);
A12:=EMA(0.667*REF(A10,1)+0.333*A10,2);
A13:=LLV(LOW,55);
A14:=HHV(HIGH,34);
A15:=EMA((CLOSE-A13)/(A14-A13)*100,3);
A16:=(A11+A15)/2;
A17:=EMA(0.667*REF(A15,1)+0.333*A10,2);
A18:=EMA(A16,5);
A19:=EMA(0.667*REF(A18,1)+0.333*A18,2);
A20:=CROSS(A10,A11);
A21:=CROSS(A10,A19) AND A19<30;
A22:=A21*0.6;
DRAWTEXT(A22=0.6,LOW,'◇'),ALIGN1,colorFFFF;
DRAWTEXT(A20=1,LOW,'◇'),ALIGN1,colorFFFFFF;
VAR51:=CLOSE-OPEN;
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21) * 20 + CLOSE,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线 >= 卖线,LOW,MIN(CLOSE,OPEN),1,0),color66ffff;
STICKLINE(买线 >= 卖线,OPEN,OPEN+VAR51/4,7,0),color66ffff;
STICKLINE(买线 >= 卖线,OPEN+VAR51/4,OPEN+VAR51*2/4,7,0),colorccff;
STICKLINE(买线 >= 卖线,OPEN+VAR51*2/4,OPEN+VAR51*3/4,7,0),color6699ff;
STICKLINE(买线 >= 卖线,OPEN+VAR51*3/4,CLOSE,7,0),color99ff;
STICKLINE(买线 >= 卖线,MAX(CLOSE,OPEN),HIGH,1,0),color99ff;
VAR52:=OPEN-CLOSE;
公众号1:southmoney
公众号2:nczf2016
公众号3:zaiyunli
南方财富网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。