主力轨迹线(通达信)

魅力KDJ(通达信)

{INPUT: N(3,1,10),N2(6,1,10),N3(-23,-50,0),N4(75,50,100),P1(19,1,100),P2(118,1,250),N1(9,1,100); }

VAR2:=(C-REF(C,1))/REF(C,1)*100;

VAR3:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;

VAR4:=SMA(VAR3,9,1);

VAR5:=SMA(VAR4,3,1);

J:3*VAR4-2*VAR5,COLOR00FFFF;

VAR6:=J>1*REF(J,1);

VAR7:=LLVBARS(L,50);

VAR8:=SUM(V,VAR7);

VAR9:=HHVBARS(H,50);

VAR10:=SUM(V,VAR9);

VAR11:=(C-REF(O,VAR9))/REF(O,VAR9)*100;

VAR12:=VAR10/CAPITAL*100;

VAR13:=(C-REF(O,VAR7))/REF(O,VAR7)*100;

VAR14:=VAR8/CAPITAL*100;

VAR15:=MA(WINNER(C),N)*100;

VAR16:=EMA(VAR4,N);

A2:EMA(VAR4,N),COLORFFDDCC;

A3:=EMA(A2,N);

A4:=EMA(A3,N);

A5:=EMA(A4,N);

A6:=EMA(A5,N);

A7:=EMA(A6,N);

VAR17:=EMA(A7,N);

VAR18:=EMA(VAR17,N);

VAR19:=EMA(VAR18,N);

AA:=EMA(A5,N2);

中期大底:LLV(J,AA),LINETHICK2,COLOR0000FF;

上:=IF(MA(H,3)*1.05,30,0)*10-AA;

下:=IF(MA(L,3)*0.96,30,0)*2/中期大底;

中:=IF(MA(H,3)*1.05,30,0);

电:=J;

DRAWTEXT(crOSS(A4,AA) AND VAR11<N3,AA,'●底'),COLORFFFF00;

DRAWTEXT(CROSS(A2,J) AND A2>N4,A2+4.22,'●峰'),COLOR00FFFF;

【碧血洗银枪】骑黑马利器(通达信)