改文化谢谢 [文华财经]
-
咨询内容:
MX:=EMA(C,2);
MXA:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
COLOR600020;
STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
COLOR404050;
DRAWKLINE(H,O,L,C);
AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
趋势线:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED;
CC:=(CLOSE/趋势线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-趋势线)/趋势线)/3;
TMP:=MA1-MAAA*MA1;
JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;
XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBLUE;
建仓:CROSS(MX,MXA),NODRAW;
SEL:=CROSS(MXA,MX);
DRAWICON(建仓,L-0.1,1);
DRAWICON(SEL,H+0.1,2);
DRAWTEXT(建仓,L-0.68,'建仓持股'COLORMAGENTA;
DRAWTEXT(SEL,H+0.38,'清仓持币',COLORBLUE;
STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;
STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBLUE;
CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;
JD:=MA(CLOSE,18),COLORMAGENTA;
DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1);
DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'加仓',COLORYELLOW;
BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
DRAWTEXT(FILTER(BL,3),H+0.2,'倍量柱'COLORYELLOW;
STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW;
XG:=SUMBARS(FILTER(BL,3),1);
STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;来源:程序化99
-
文华技术人员:
参考:
MX:=EMA(C,2); MXA:=EMA(SLOPE(C,21)*20+C,42); STICKLINE1(MX>=MXA,REFX1(HHV(H,130),10000),REFX1(LLV(L,130),10000),5,0),COLOR600020; STICKLINE1(MX<MXA,REFX1(HHV(H,130),10000),REFX1(LLV(L,130),10000),5,0),COLOR404050; DRAWKLINE1(H,O,L,C); AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30); 趋势线:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED; CC:=(CLOSE/趋势线); MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3); MAAA:=((MA1-趋势线)/趋势线)/3; TMP:=MA1-MAAA*MA1; JJ:IF(TMP<=趋势线,趋势线,NULL),LINETHICK3,COLORGREEN; XJ:IF(TMP<=趋势线,TMP,NULL),LINETHICK2,COLORBLUE; 建仓:CROSS(MX,MXA),NODRAW; SEL:=CROSS(MXA,MX); DRAWICON(建仓,L-0.1,1); DRAWICON(SEL,H+0.1,2); DRAWTEXT(建仓,L-0.68,'建仓持股',COLORMAGENTA; DRAWTEXT(SEL,H+0.38,'清仓持币',COLORBLUE; STICKLINE1(MX>=MXA,LOW,HIGH,0.0,1),COLORRED; STICKLINE1(MX>=MXA,CLOSE,OPEN,3,1),COLORRED; STICKLINE1(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN; STICKLINE1(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN; STICKLINE1(建仓,OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE1(SEL,OPEN,CLOSE,2,0),COLORBLUE; CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1; JD:=MA(CLOSE,18),COLORMAGENTA; DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1); DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'加仓',COLORYELLOW; BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01; DRAWTEXT(FILTER(BL,3),H+0.2,'倍量柱',COLORYELLOW; STICKLINE1(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW; XG:=SUMBARS(FILTER(BL,3),1); STICKLINE1(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容