您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

能否调取当根k线出信号价 [文华财经]

  • 咨询内容:  老师好,能否调取当根k线第一次出信号的指令价.也就是说选择出信号立即下单,这个价能否调取出来

     

  • 文华技术人员:  请参考以下截图中 三类函数的用法
    函数可在 趋势交易模型编写平台——》插入——》插入函数——》信号记录函数 中查看

    此主题相关图片如下:图像 .png

    另  您的版本不是最新版本  请在 软件帮助 ——》升级 
    或者到文华财经官网下载安装最新版本  注意不要覆盖安装

    http://www.wenhua.com.cn/


     

     

  • 文华客服:  谢谢老师!       请老师帮忙看看,第26行有问题,         顶: 97,COLOR0000FF;趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFFFFFF;底:8;VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=VAR2/VAR1*100-70;VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=SMA(VAR3/VAR1*100,3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF(VAR9>100,VAR9-100,0);VAR11:=HHV(HIGH,34);VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);VAR13,COLOR000000;STICKLINE1(VAR12-VAR13>0,VAR12,VAR13,3,0),COLORRED;STICKLINE1(VAR12-VAR13<0,VAR12,VAR13,3,0),COLOR00FF00;A1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));A4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);A5:=A1 AND A2>0.5 AND A3>0.3 AND A4;A6:=COUNT(A5,20)=1;反弹:IF(A6 AND A5 ,23,0),STICK,LINETHICK4,COLOR0000FF;DRAWTEXT(反弹,35,'反弹'),COLOR0000FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;马池: IF(趋势<11,18,0),COLOR00FFFF,LINETHICK2;小马出击: IF(CROSS(趋势,底),50,0),COLOR0000FF,LINETHICK2;DRAWICON(LONGCROSS(趋势,顶,2),顶*1 ,2),COLORGREEN;    

     

  • 网友回复:  请参考以下编写; 顶: 97,COLOR0000FF;趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFFFFFF;底:8;VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=VAR2/VAR1*100-70;VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=SMA(VAR3/VAR1*100,3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF(VAR9>100,VAR9-100,0);VAR11:=HHV(HIGH,34);VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);VAR13,COLOR000000;STICKLINE1(VAR12-VAR13>0,VAR12,VAR13,3,0),COLORRED;STICKLINE1(VAR12-VAR13<0,VAR12,VAR13,3,0),COLOR00FF00;A1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));A4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);A5:=A1 AND A2>0.5 AND A3>0.3 AND A4;A6:=COUNT(A5,20)=1;反弹:IF(A6 AND A5 ,23,0),COLORSTICK,LINETHICK4,COLOR0000FF;DRAWTEXT(反弹,35,'反弹'),COLOR0000FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;马池: IF(趋势<11,18,0),COLOR00FFFF,LINETHICK2;小马出击: IF(CROSS(趋势,底),50,0),COLOR0000FF,LINETHICK2;DRAWICON(LONGCROSS(趋势,顶,2),顶*1 ,2),COLORGREEN;    

     

  • 网友回复:  老师,上楼源码加截主图被压缩了

    此主题相关图片如下:赢智截图20141222133426.jpg

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容