[求助]请老师修改 [文华财经]
-
咨询内容:
NA:=BARSLAST(DATE<>REF(DATE,1))+1;HHH:=HHV(HIGH,NA);LLL:=LLV(LOW,NA);CC1:=VALUEWHEN(DATE<>REF(DATE,1),REF(CLOSE,1));AA1:=VALUEWHEN(DATE<>REF(DATE,1),REF(HHH,1));BB1:=VALUEWHEN(DATE<>REF(DATE,1),REF(LLL,1));PT:= AA1-BB1;CDP:(AA1 + BB1 +CC1)/3,COLORCYAN;AH:CDP + PT,COLORRED;//(高价突破点)AL:CDP - PT,COLORGREEN;//(低价突破点)NH:2*CDP-BB1,COLORRED;//(卖点)NL:2*CDP-AA1,COLORGREEN;//(买点)DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,CDP),VALUEWHEN(ISLASTBAR,CDP),0,COLORCYAN);DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,AH),VALUEWHEN(ISLASTBAR,AH),0,COLORRED);DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,NH),VALUEWHEN(ISLASTBAR,NH),0,COLORRED);DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,AL),VALUEWHEN(ISLASTBAR,AL),0,COLORGREEN);DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,NL),VALUEWHEN(ISLASTBAR,NL),0,COLORGREEN);
请教老师,怎么除去指标中的曲线,只保留K线和数字
来源:程序化99
-
文华技术人员:
参考:
NA:=BARSLAST(DATE<>REF(DATE,1))+1; HHH:=HHV(HIGH,NA); LLL:=LLV(LOW,NA); CC1:=VALUEWHEN(DATE<>REF(DATE,1),REF(CLOSE,1)); AA1:=VALUEWHEN(DATE<>REF(DATE,1),REF(HHH,1)); BB1:=VALUEWHEN(DATE<>REF(DATE,1),REF(LLL,1)); PT:= AA1-BB1; CDP:(AA1 + BB1 +CC1)/3,NODRAW; AH:CDP + PT,NODRAW;//(高价突破点) AL:CDP - PT,NODRAW;//(低价突破点) NH:2*CDP-BB1,NODRAW;//(卖点) NL:2*CDP-AA1,NODRAW;//(买点) DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,CDP),VALUEWHEN(ISLASTBAR,CDP),0,COLORCYAN); DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,AH),VALUEWHEN(ISLASTBAR,AH),0,COLORRED); DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,NH),VALUEWHEN(ISLASTBAR,NH),0,COLORRED); DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,AL),VALUEWHEN(ISLASTBAR,AL),0,COLORGREEN); DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,NL),VALUEWHEN(ISLASTBAR,NL),0,COLORGREEN);来源: WWW.CXH99.COM
-
文华客服:
好。谢老师。把下面指标去掉曲线
上关:L +(H-L)*1.382;
中关:(H+L)/2;
下关:H -(H-L)*1.382;
-
网友回复:
参考:
上关:L +(H-L)*1.382,NODRAW; 中关:(H+L)/2,NODRAW; 下关:H -(H-L)*1.382,NODRAW;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容