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

麻烦老师把这个通达信改成文化下,谢谢老师 [文华财经]

  • 咨询内容:  获利比:WINNER(C)*100,NODRAW;锁定因子:MA(LFS,1),COLORWHITE,NODRAW;换手:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2,NODRAW;非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK1,NODRAW;OK:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK2;RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK0;RSI3:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK0;RSI4:=SMA(RSI3,7,1),LINETHICK0,COLOR00CD00;趋势A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF,LINETHICK0;趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD,LINETHICK0;趋势C:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORMAGENTA,DOTLINE;W1:=MA(趋势A,7)*1.372,COLORRED,LINETHICK0;W2:=W1*1.0887;W3:(1.5*(趋势B+RSI4)-(W2+W1))+12,COLORGREEN;VAR1:=COST(89)-COST(11);VAR2:=COST(99.9)-COST(0.1);DRAWTEXT_FIX(1=1,0,0,0,'TTPTCOM',COLORWHITE;单峰:(1-VAR1/VAR2)*100,COLORLIGRAY;低密:=(COST(90)-COST(60))/VAR2*100,COLORYELLOW,POINTDOT,LINETHICK4;高密:=(COST(40)-COST(1))/VAR2*100,COLORRED,POINTDOT,LINETHICK4;赢利:SMA(WINNER(AMOUNT/VOL/99)*100,2,1),COLORYELLOW,NODRAW;DRAWICON(CROSS(赢利,5),5,1);IF(W3>单峰,W3,DRAWNULL),COLORRED,LINETHICK3;W: (SMA(WINNER(CLOSE),3,1) * 100),COLORYELLOW,LINETHICK2;Z:(SMA(WINNER(CLOSE),10,1) * 100),COLORBLUE,LINETHICK2;主力筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW;散户筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;市场总量:=MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;散户警戒:EMA(散户套牢比率,89),NODRAW;主力警戒:EMA(主力控盘比率,89),NODRAW;筹码总量:=IF(市场总量>REF(市场总量,1),市场总量,DRAWNULL),COLOR0066FF,LINETHICK2;DRAWRECTREL(0,60,240,950,RGB(80,00,100));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.10,0, '力筹码估算:',COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.10,0,'%',COLORFFCC99;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.10,0,主力筹码估算),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.20,0, '力控盘比率:',COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.20,0,'%',COLORFFCC99;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.20,0,主力控盘比率),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.30,0, '户套牢比率:',COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.30,0, '',COLORFFCC99;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.30,0,散户套牢比率),COLORRED;DRAWTEXT_FIX(获利比>=0,0.0,1-0.61,0,'获利比:',COLORYELLOW;DRAWNUMBER_FIX(获利比>=0,0.12,1-0.61,0,获利比),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.45,0, '定因子:锁定筹码和解锁筹码',COLORFFCC99;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.50,0, '相对速度,不直接监测锁定筹',COLORFFCC99;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.55,0, '多少,但可监测筹码。',COLORFFCC99;

     

     来源:程序化99

  • 文华技术人员: 不能修改部分已经给您取消,其余参考:
    获利比:WINNER(C)*100,NODRAW; 锁定因子:MA(LFS,1),COLORWHITE,NODRAW; CAPITAL:=GETPRICE('通股本'; 换手:100*VOL/CAPITAL,NODRAW,COLORGREEN; INDEXC:="999300$C"; INDEXH:="999300$H"; INDEXL:="999300$L"; 主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2,NODRAW; 非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK1,NODRAW; OK:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK2; RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,NODRAW; RSI3:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,NODRAW; RSI4:=SMA(RSI3,7,1),NODRAW,COLOR00CD00; 趋势A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF,NODRAW; 趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD,NODRAW; 趋势C:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORMAGENTA,DOT; W1:=MA(趋势A,7)*1.372,COLORRED,NODRAW; W2:=W1*1.0887; W3:(1.5*(趋势B+RSI4)-(W2+W1))+12,COLORGREEN; VAR1:=COST(89)-COST(11); VAR2:=COST(99.9)-COST(0.1); //DRAWTEXT_FIX(1=1,0,0,0,'TTPTCOM',COLORWHITE; 单峰:(1-VAR1/VAR2)*100,COLORGRAY; 低密:=(COST(90)-COST(60))/VAR2*100,COLORYELLOW,POINTDOT,LINETHICK4; 高密:=(COST(40)-COST(1))/VAR2*100,COLORRED,POINTDOT,LINETHICK4; 赢利:SMA(WINNER(AVPRICE/99)*100,2,1),COLORYELLOW,NODRAW; DRAWICON(CROSS(赢利,5),5,1); IF(W3>单峰,W3,NULL),COLORRED,LINETHICK3; W: (SMA(WINNER(CLOSE),3,1) * 100),COLORYELLOW,LINETHICK2; Z:(SMA(WINNER(CLOSE),10,1) * 100),COLORBLUE,LINETHICK2; 主力筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW; 散户筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW; 散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW; 主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW; 市场总量:=MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2; 散户警戒:EMA(散户套牢比率,89),NODRAW; 主力警戒:EMA(主力控盘比率,89),NODRAW; 筹码总量:=IF(市场总量>REF(市场总量,1),市场总量,NULL),COLOR0066FF,LINETHICK2;

     

     来源: WWW.CXH99.COM

  • 文华客服:  老师  不对啊lfs不对

     

  • 网友回复:   
  • 网友回复:LFS应该是个参数,需要您自己定义或者向指标提供者咨询 
  • 网友回复:
     
  • 网友回复: 您再对照看下完整源码

 

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

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!


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

相关文章

    没有相关内容