今特发一个极品分时资金流指标-----(源码),适用于正版及雨阳数据!!!
主流向
ZLDX累积:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(VOL,0)/capital*100;
主单动向:ZLDX累积,coloryellow;
主单净额:("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(AMOUNT,0)/10000,linethick0,Color0000FF;
FILLRGN(0,ZLDX累积,ZLDX累积>0,RGB(255,0,0),ZLDX累积<0,RGB(0,128,0));
特流向
TDDX累积:=("DDEDATA@BIGORDERSCALE"(1,3)-"DDEDATA@BIGORDERSCALE"(2,3))*SUM(VOL,0)/capital*100;
特单动向:TDDX累积,coloryellow;
特单净额:("DDEDATA@BIGORDERSCALE"(1,3)-"DDEDATA@BIGORDERSCALE"(2,3))*SUM(AMOUNT,0)/10000,linethick0,Color00FF00;
FILLRGN(0,TDDX累积,TDDX累积>0,RGB(255,0,0),TDDX累积<0,RGB(0,128,0)),COLOR3D;
大流向
DDDX1:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(1,3))*SUM(VOL,0)/capital*100;
DDDX2:=("DDEDATA@BIGORDERSCALE"(2,2)-"DDEDATA@BIGORDERSCALE"(2,3))*SUM(VOL,0)/capital*100;
DDDX累积:=DDDX1-DDDX2;
大单动向:DDDX累积,coloryellow;
DBBD1:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(1,3))*SUM(AMOUNT,0)/10000;
DBBD2:=("DDEDATA@BIGORDERSCALE"(2,2)-"DDEDATA@BIGORDERSCALE"(2,3))*SUM(AMOUNT,0)/10000;
大单净额:DBBD1-DBBD2,linethick0,ColorF5FF02;
FILLRGN(0,DDDX累积,DDDX累积>0,RGB(255,0,0),DDDX累积<0,RGB(0,128,0)),COLOR3D;
中流向
ZDDX1:=("DDEDATA@BIGORDERSCALE"(1,1)-"DDEDATA@BIGORDERSCALE"(1,2))*SUM(VOL,0)/capital*100;
ZDDX2:=("DDEDATA@BIGORDERSCALE"(2,1)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(VOL,0)/capital*100;
ZDDX累积:=ZDDX1-ZDDX2;
中单动向:ZDDX累积,coloryellow;
ZBBD1:=("DDEDATA@BIGORDERSCALE"(1,1)-"DDEDATA@BIGORDERSCALE"(1,2))*SUM(AMOUNT,0)/10000;
ZBBD2:=("DDEDATA@BIGORDERSCALE"(2,1)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(AMOUNT,0)/10000;
中单净额:ZBBD1-ZBBD2,linethick0,Color00FFFF;
FILLRGN(0,ZDDX累积,ZDDX累积>0,RGB(255,0,0),ZDDX累积<0,RGB(0,128,0)),COLOR3D;
小流向
ZLDX累积:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(VOL,0)/capital*100;
主单动向:ZLDX累积,coloryellow;
主单净额:("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(AMOUNT,0)/10000,linethick0,Color0000FF;
FILLRGN(0,ZLDX累积,ZLDX累积>0,RGB(255,0,0),ZLDX累积<0,RGB(0,128,0));
本文仅仅发布源码,参照下面公式编辑录像可以自己编辑一下
|