资金博弈官方源码:
C/C++ Code复制内容到剪贴板
- jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;
- dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol;
- zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol;
- shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;
- tD:=COUNT(BIGORDER(1,0),0);
- myD:=min(tD,60);
- 超级资金:ema(jgV,myD)*myD/capital,COLORMAGENTA;
- 大户资金:ema(dhV,myD)*myD/capital,color3399FF ;
- 中户资金:ema(zhV,myD)*myD/capital,colorcyan;
- 散户资金:ema(shV,myD)*myD/capital,colorgreen;
- 0,color333333,PRECIS0,layer7;
分时资金博弈官方源码:(分时公式)
C/C++ Code复制内容到剪贴板
- sh:=(1-ORDERVOL(1,1))/capital*10000-(1-ORDERVOL(2,1))/capital*10000;
- 散户资金:Sum(sh,0)colorgreen;
- zh:=(ORDERVOL(1,1)/capital*10000-ORDERVOL(1,2)/capital*10000)-(ORDERVOL(2,1)/capital*10000-ORDERVOL(2,2)/capital*10000);
- 中户资金:Sum(zh,0)colorcyan;
- dh:=(ORDERVOL(1,2)/capital*10000-ORDERVOL(1,3)/capital*10000)-(ORDERVOL(2,2)-ORDERVOL(2,3))/capital*10000;
- 大户资金:Sum(dh,0)color3399FF;
- jg:=(ORDERVOL(1,3)-ORDERVOL(2,3))/capital*10000;
- 超级资金:Sum(jg,0)COLORMAGENTA;
资金净流官方源码:(分时公式)
C/C++ Code复制内容到剪贴板
- N(0,999,0,1);
-
- a:=(ORDERAMT(1,2)-ORDERAMT(2,2));
- 累计:SUM(a,N)/100000000;
资金流变官方源码:
C/C++ Code复制内容到剪贴板
- N1(0,999,1,1);
- P1(0,999,5,1);
- P2(0,999,30,1);
-
- a:=(ORDERAMT(1,2)-ORDERAMT(2,2));
- b:=SUM(a,N1)/100000000;
- STICKLINE(b>0,0,b,6,0 ),COLOR0022FF;
- STICKLINE(b>0,0,b,4,0 ),COLORBB22CC;
- STICKLINE(b<0,0,b,6,0 ),COLORFFFF00;
- STICKLINE(b<0,0,b,4,0 ),COLOR00FFFF;
- 当日:b,stick,precis4;
- 5日:MA(b,P1),precis4;
- 30日:MA(b,P2),precis4;
抄盘线(因为里面的CPX函数暂时没人破解所以只能在抄盘手里用)
C/C++ Code复制内容到剪贴板
- Var1:=1061231;
- Var2:=if(date<=Var1,1,100);
- MA1 : MA(CLOSE,P1);
- MA2 : MA(CLOSE,P2);
- MA3 : MA(CLOSE,P3);
- MA4 : MA(CLOSE,P4);
- STICKLINE(c>=o,o,c,8,1),color3333FF;
- STICKLINE(c<o,c,o,8,0),colorblue;
- STICKLINE(c>=o,c,h,1,0),color3333FF;
- STICKLINE(c>=o,o,l,1,0),color3333FF;
- STICKLINE(c<o,o,h,1,0),colorblue;
- STICKLINE(c<o,l,c,1,0),colorblue;
- DRAWTEXT(CROSS(cpx,0) ,l*0.99 , B),coloryellow;
- DRAWTEXT(CROSS(0,cpx) ,h*1.01 , S),colorgreen;
- STICKLINE(CROSS(CPX,0) AND C>MA(C,40) ,O ,C ,8 ,0 ),COLORRED;
- STICKLINE(CPX>0 AND C>MA(C,40) AND C<O ,O ,C ,8 ,0 ),COLORblue;
- STICKLINE(CPX>0 AND C>MA(C,40) AND C<O ,O ,C ,8 ,1 ),COLORRED;
- STICKLINE(CPX>0 AND C>MA(C,40) AND C<O ,O ,H ,1 ,0 ),COLORRED;
- STICKLINE(CPX>0 AND C>MA(C,40) AND C<O ,L ,C ,1 ,0 ),COLORRED;
- STICKLINE(CROSS(CPX,0) AND C<MA(C,40) ,O ,C ,8 ,1 ),COLORWHITE;
- STICKLINE(c>=o AND CPX>0 AND C<MA(C,40),c,h,1,0),COLORWHITE;
- STICKLINE(c>=o AND CPX>0 AND C<MA(C,40),o,l,1,0),COLORWHITE;
- STICKLINE(CPX>0 AND C<MA(C,40) AND C<O ,O ,C ,8 ,0 ),COLORblue;
- STICKLINE(CPX>0 AND C<MA(C,40) AND C>O ,O ,C ,8 ,1 ),COLORWHITE;
- STICKLINE(CPX>0 AND C<MA(C,40) AND C<O ,O ,C ,8 ,1 ),COLORWHITE;
- STICKLINE(CPX>0 AND C<MA(C,40) AND C<O ,O ,H ,1 ,1 ),COLORWHITE;
- STICKLINE(CPX>0 AND C<MA(C,40) AND C<O ,L ,C ,1 ,1),COLORWHITE;
- STICKLINE(CROSS(1,CPX) AND C>MA(C,40) ,O ,C ,8 ,0 ),COLOryellow;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C<O ,O ,C ,8 ,0 ),COLORblue;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C<O ,O ,C ,8 ,1 ),COLORyellow;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C<O ,O ,H ,1 ,0 ),COLORYELLOW;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C<O ,L ,C ,1 ,0 ),COLORYELLOW;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C>O ,O ,C ,8 ,1 ),COLORYELLOW;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C>O ,C ,H ,1 ,0 ),COLORYELLOW;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C>O ,L ,O ,1 ,0),COLORYELLOW;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C=O ,O ,C ,8 ,1 ),COLORYELLOW;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C=O ,C ,H ,1 ,0 ),COLORYELLOW;
- STICKLINE(CPX<1 AND C>MA(C,40) AND C=O ,L ,O ,1 ,0),COLORYELLOW;
-
- STICKLINE(CPX<1 AND C<MA(C,40) AND C>O ,O ,C ,8 ,1),COLORblue;
- STICKLINE(CPX<1 AND C<MA(C,40) AND C>O ,C ,H ,1 ,0),COLORblue;
- STICKLINE(CPX<1 AND C<MA(C,40) AND C>O ,L ,O ,1 ,0),COLORblue;
- STICKLINE(CPX<1 AND C<MA(C,40) AND C=O ,O ,C ,8 ,1),COLORblue;
- STICKLINE(CPX<1 AND C<MA(C,40) AND C=O ,C ,H ,1 ,0),COLORblue;
- STICKLINE(CPX<1 AND C<MA(C,40) AND C=O ,L ,O ,1 ,0),COLORblue;