- UID
- 2
- 积分
- 2893007
- 威望
- 1396535 布
- 龙e币
- 1496472 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
大智慧量柱擒涨停主图指标源码 成交量[大智慧公式]
大智慧量柱擒涨停主图指标源码 成交量源码
主图源码
- C2:=ref(C,1);
- 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
- STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW;
- STICKLINE(涨停,H,L,0,0),COLORYELLOW;
- 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
- STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;
- STICKLINE(跌停,H,L,0,1),COLORBLUE;
- 大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
- STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;
- STICKLINE(大阳线,H,L,0,1),COLORRED;
- 大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);
- STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;
- STICKLINE(大阴线,H,L,0,1),COLORGREEN;
- MA5:MA(CLOSE,5);
- MA10:MA(CLOSE,10);
- MA20:MA(CLOSE,20);
- MA60:MA(CLOSE,60);
- MA120:MA(CLOSE,120);
- TY:=C;
- AA1:=ref(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10); {本文来至CXH99.COM}
- AA2:=ref(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);
- 前期高位:ref(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;
- 前期低位:ref(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;
复制代码
量柱擒涨停 成交量源码:
- VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
- STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
- VOLUME:VOL,VOLSTICK;
- AA:=VOL>=ref(V,1)*1.91 && C>ref(C,1);
- AA1:=VOL<ref(LLV(VOL,21),1);
- AA2:=VOL<ref(LLV(VOL,55),1);
- AA3:=ABS(VOL-ref(VOL,1))/ref(VOL,1)<=0.05;
- STICKLINE(AA,0,V,1,0),COLORYELLOW;
- STICKLINE(AA1,0,V,1,0),COLORGREEN;
- STICKLINE(AA2,0,V,1,0),COLORMAGENTA;
- STICKLINE(AA3,0,V,1,0),COLORWHITE;
- MV1:MA(VOL,5);
- MV2:MA(VOL,10);
- MV3:MA(VOL,20);
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|