{资金运行线副源码如下}
NN:=(3*CLOSE+OPEN+LOW+HIGH)/6 DOTLINE;
HGW:=(20*NN+19*REF(NN,1)+18*REF(NN,2)+17*REF(NN,3)+16*REF(NN,4)+15*REF(NN,5)+14*REF(NN,6) +13*REF(NN,7)+12*REF(NN,8)+11*REF(NN,9)+10*REF(NN,10)+9*REF(NN,11)+8*REF(NN,12) +7*REF(NN,13)+6*REF(NN,14)+5*REF(NN,15)+4*REF(NN,16)+3*REF(NN,17)+2*REF(NN,18)+ REF(NN,20))/210 COLORYELLOW;
AA:=C>MA(C,HGW);
资金:=100*(CLOSE-REF(CLOSE,9))/REF(CLOSE,9);
MA资金:=MA(资金,5);
主力:=SUM(H,12)/SUM(L,12)-1;
MA主力:=MA(主力,6);
资金线:MA((主力-资金),1)*-1.00,LINETHICK2,COLORRED;
ABC2:=EMA(资金线,6),LINETHICK2,COLORWHITE;
STICKLINE(CROSS(资金线, ABC2) AND AA,资金线,50,2,0),COLORMAGENTA;
DRAWICON(CROSS(资金线, ABC2) AND AA ,50,9);
{资金运行密码源码如下}
MA5:MA(CLOSE,5) DOTLINE;
资金趋势线:MA(CLOSE,34),COLORRED,LINETHICK3;
IF(资金趋势线< REF(资金趋势线,1),资金趋势线,DRAWNULL),COLORGREEN,LINETHICK3;
NN:=(3*CLOSE+OPEN+LOW+HIGH)/6 DOTLINE;
HGW:(20*NN+19*REF(NN,1)+18*REF(NN,2)+17*REF(NN,3)+16*REF(NN,4)+15*REF(NN,5)+14*REF(NN,6) +13*REF(NN,7)+12*REF(NN,8)+11*REF(NN,9)+10*REF(NN,10)+9*REF(NN,11)+8*REF(NN,12) +7*REF(NN,13)+6*REF(NN,14)+5*REF(NN,15)+4*REF(NN,16)+3*REF(NN,17)+2*REF(NN,18)+ REF(NN,20))/210 COLORYELLOW;
CC:=MA(HGW,5);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
多头:=MACD>0;
AA:=C>MA(C,HGW);
DRAWICON(CROSS(NN, HGW) AND 多头,L,23);
资金:=100*(CLOSE-REF(CLOSE,9))/REF(CLOSE,9);
MA资金:=MA(资金,5);
主力:=SUM(H,12)/SUM(L,12)-1;
MA主力:=MA(主力,6);
ABC1:=MA((主力-资金),1)*-1.00,LINETHICK2,COLORRED;
ABC2:=EMA(ABC1,6),LINETHICK2,COLORWHITE;
ABC3:=(CROSS(NN, HGW)) AND 多头;
ABC4:=CROSS(ABC1, ABC2);
STICKLINE(ABC3 AND ABC4 AND AA,C,O,2,0),COLORMAGENTA ;
DRAWICON((CROSS(NN, HGW)) AND 多头 AND (CROSS(ABC1, ABC2)) AND AA,L*1.019,5);