以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  交易策略发布专区  (http://weistock.com/bbs/list.asp?boardid=10)
----  cys股票  (http://weistock.com/bbs/dispbbs.asp?boardid=10&id=25433)

--  作者:lovecwx
--  发布时间:2012/9/12 22:10:41
--  cys股票

cys股票 理想转

input:m1(5,0,13,1),m2(13,12,34,1),n1(34,33,65,1);
重心:AMOUNT/VOL/100,POINTDOT,COLORWHITE;
STICKLINE(1 ,重心 ,重心 ,1 ,1 ),COLORYELLOW;
{成本线}
P0:=152;
P1:=m1;
P2:=m2;
P3:=n1;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 OR DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) AND JJJ>(DYNAINFO(6)-0.01)));
CYC5:IF(JJJT,0.01*EMA(AMOUNT,P1)/EMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1));
CYC13:IF(JJJT,0.01*EMA(AMOUNT,P2)/EMA(VOL,P2),EMA((HIGH+LOW+CLOSE)/3,P2));
//CYC34:IF(JJJT,0.01*EMA(AMOUNT,P3)/EMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3));
//CYC生命:IF(JJJT,0.01*EMA(AMOUNT,P3)/EMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3)),COLORRED,LINETHICK2;
//CYC∞:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120)),COLORGREEN;
//天:COST(99),POINTDOT,COLORWHITE;
//地:COST(1),POINTDOT,COLORYELLOW;
//
//LC:=REF(CLOSE,1);
//RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
//FF:=EMA(CLOSE,3);
//MA15:=EMA(CLOSE,21);
//DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),\'底背离\'),COLOR0000FF;
//DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),\'顶背离\'),COLOR00FFFF;
//
//地价:ABS((地-C)/C*100),NODRAW;{收盘价格对应筹码底部价格的百分比,取绝对值};
//天地差:(天-地)/地*100,NODRAW;
//底背离:CROSS(FF,MA15),NODRAW;


ENTERLONG:CROSS(CYC5,CYC13) ,tfilter;
EXITLONG: CROSS(CYC13,CYC5) ,tfilter;
//ENTERSHORT: CROSS(C34,∞);
//EXITSHORT: CROSS(∞,C34)

 

 


此主题相关图片如下:tcz_yuf)_86x~a_i8y75ir.jpg
按此在新窗口浏览图片
[此贴子已经被作者于2012-9-12 22:12:53编辑过]

--  作者:Q1304230834
--  发布时间:2012/9/21 12:44:43
--  
参考参考
--  作者:zsjwhy
--  发布时间:2012/11/7 22:53:19
--  
学习下