改文华,谢谢2022177 [文华财经]
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,1);
DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2);
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));
DRAWTEXT((VARC=1),L,'#39),COLOR0000FF;
DRAWTEXT((VARD=1),H,'#39),COLOR00FF00;
V10:=PEAKBARS(3,15,1)<10;
V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
DRAWTEXT(IF(头部>REF(头部,1),H,0),H*1.02,'',COLORWHITE,LINETHICK1;
来源:程序化99
参考:
MA10:MA(CLOSE,10),COLORGREEN,LINETHICK1;
MA21:MA(CLOSE,21),COLORBLUE,LINETHICK1;
MA30:MA(CLOSE,30),COLORYELLOW,LINETHICK2;
MA60:MA(CLOSE,60),COLORRED,LINETHICK3;
MA120:MA(CLOSE,120),COLOR990099,LINETHICK2;
MA250:MA(CLOSE,250),COLOR777700,LINETHICK2;
MA500:MA(CLOSE,500),COLORBLUE,LINETHICK2;
买线:=ZIGZAG(C,10,1);
卖线:=MA(买线,2);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,L*0.99,'#39),LINETHICK2,COLOR00FFFF;
DRAWTEXT(SEL,H*1.0,'#39),LINETHICK1,COLOR00FF00;
STICKLINE1(买线>=卖线,LOW,HIGH,0.1,0),COLOR0000CC;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE1(买线<卖线,LOW,HIGH,0.1,0),COLORCCCC00;
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),COLOR00AAFF;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),COLOR00DD00;
DRAWICON((ZIGZAG(C,5,1)>REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)<=REF(ZIGZAG(C,5,1),2)) AND
(REF(ZIGZAG(C,5,1),2)<=REF(ZIGZAG(C,5,1),3)),LOW*0.99,1);
DRAWICON((ZIGZAG(C,5,1)=REF(ZIGZAG(C,5,1),2)) AND
(REF(ZIGZAG(C,5,1),2)>=REF(ZIGZAG(C,5,1),3)),H,2);
VARC:=(ZIGZAG(C,5,1)>REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)<=REF(ZIGZAG(C,5,1),2)) AND
(REF(ZIGZAG(C,5,1),2)<=REF(ZIGZAG(C,5,1),3));
VARD:=(ZIGZAG(C,5,1)=REF(ZIGZAG(C,5,1),2)) AND
(REF(ZIGZAG(C,5,1),2)>=REF(ZIGZAG(C,5,1),3));
DRAWTEXT((VARC=1),L,'#39),COLOR0000FF;
DRAWTEXT((VARD=1),H,'#39),COLOR00FF00;
V10:=PEAKBARS(C,15,1,1)<10;
V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
DRAWTEXT(IF(头部>REF(头部,1),H,0),H*1.02,'',COLORWHITE,LINETHICK1;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容