- UID
- 2
- 积分
- 2874654
- 威望
- 1387356 布
- 龙e币
- 1487298 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
- 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)
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|