指标变成自动化交易 [文华财经]
-
咨询内容:
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波: VAR3;
段: VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
DRAWTEXT(FILTER(VAR6,10)=1,40,'',LINETHICK3 ;
STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),COLORGREEN ;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW ;
DRAWTEXT(FILTER(VAR7,5)=1,70,'',LINETHICK3 ,COLORYELLOW;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
STICKLINE(VAR8,85,100,10,0) ;
//这段代码我想把它变成全自动交易,麻烦老师帮写一下
来源:程序化99
-
文华技术人员:
参考:
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 波: VAR3; 段: VAR4; VAR6:=CROSS(VAR3,VAR4) AND VAR3<20; DRAWTEXT(FILTER(VAR6,10)=1,40,'',LINETHICK3 ; STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),COLORGREEN ; VAR7:=CROSS(VAR4,VAR3) AND VAR3>80; STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW ; DRAWTEXT(FILTER(VAR7,5)=1,70,'',LINETHICK3 ,COLORYELLOW; VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4; STICKLINE(VAR8,85,100,10,0) ; VAR6,BPK; VAR7,SPK;
AUTOFILTER;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容