老师帮我改一下 [文华财经]
-
咨询内容:
M1:MA(C,N);DRAWCOLORLINE(C>M1,M1,COLORRED,COLORGREEN),LINETHICK3;
HPB:=REF(HHV(H,N),1);LPB:=REF(LLV(L,T),1);{多头交易}
BUYIN:=H>HPB AND C>M1;BUYEXIT:=L<LPB;
SINGAL: =IF(BUYIN,1,IF(BUYEXIT,-1,0));
CURRSIGN: =REF(SINGAL ,BARSLAST(SINGAL));UPTREND:=CURRSIGN= 1;DWTREND:=CURRSIGN=-1;{跟踪止损}
空平:IF(DWTREND,HPB,NULL),COLORBLUE,LINETHICK2;多止:IF(UPTREND,LPB,NULL),COLORRED,LINETHICK2;
信 号 持续:IF(DWTREND,BARSLAST(UPTREND),BARSLAST(DWTREND)),NODRAW,COL ORMAGENTA;
DRAWICON(BARSL AST(DWTREND)=1,多止,1); DRAWICON(BARSL AST(UPTREND)=1,空平,2); DRAWKLINE1(HIGH,OPEN,LOW,CLOSE);、哭开空,笑开多来源:程序化99
-
文华技术人员:
参考:
M1:MA(C,N); DRAWCOLORLINE(C>M1,M1,COLORRED,COLORGREEN),LINETHICK3;
HPB:=REF(HHV(H,N),1); LPB:=REF(LLV(L,T),1); {多头交易}
BUYIN:=H>HPB AND C>M1; BUYEXIT:=L<LPB;
SINGAL: =IF(BUYIN,1,IF(BUYEXIT,-1,0));
CURRSIGN: =REF(SINGAL ,BARSLAST(SINGAL)); UPTREND:=CURRSIGN= 1; DWTREND:=CURRSIGN=-1; {跟踪止损}
空平:IF(DWTREND,HPB,NULL),COLORBLUE,LINETHICK2; 多止:IF(UPTREND,LPB,NULL),COLORRED,LINETHICK2;
信 号 持续:IF(DWTREND,BARSLAST(UPTREND),BARSLAST(DWTREND)),NODRAW,COL ORMAGENTA;
DRAWICON(BARSL AST(DWTREND)=1,多止,1); BARSLAST(DWTREND)=1,BPK; BARSLAST(UPTREND)=1,SPK; AUTOFILTER;
DRAWICON(BARSL AST(UPTREND)=1,空平,2); DRAWKLINE1(HIGH,OPEN,LOW,CLOSE);
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容