赶牛(副)X:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),4,1);
赶牛:((5 / X) - 5),COLORSTICK,COLOR00FF00;
STICKLINE((赶牛 >10),0,赶牛,0.5,0),COLOR00FF00;
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORRED;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
VAR1A:=C-REF(C,1);
VAR2A:=O-REF(O,1);
VAR3A:=H-REF(H,1);
VAR4A:=L-REF(L,1);
VAR5A:=(VAR1A+VAR2A+VAR3A+VAR4A)/4;
增量资金:MA(VAR5A*VOL,14)/1000 ,LINETHICK0;
STICKLINE(增量资金>0,0-增量资金,0,10,0),COLORWHITE;
庄家进场:(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*1000,COLORYELLOW;
STICKLINE(庄家进场>0,0-庄家进场,0,1,0),COLORFF00FF;
DRAWICON(增量资金>0 AND 庄家进场>0,L-100,1);
MA3:=MA(C,3);
MM:=ATAN((MA3/REF(MA3,1)-1)*3)*180/3.14159,COLORSTICK;
MA5:=MA(C,13);
KK:ATAN((MA5/REF(MA5,1)-1)*3)*180/3.14159,COLORSTICK;
小心:((MM+KK)>=100)*-10,POINTDOT,COLORRED,LINETHICK3;
DRAWTEXT((MM+KK)>=1,-5,'★'),COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=5*K-2*D;
ZJ:=EMA("KDJ.J#WEEK"(9,3,3) ,5);
YJ:=EMA("KDJ.J#WEEK"(9,3,3) ,20);
STICKLINE(J>=80,0,15,2,0),COLORRED;
STICKLINE(ZJ<60,0,-20,2,0),COLOR00FF00;
STICKLINE(ZJ>=80,10,20,2,0),COLORYELLOW;
STICKLINE(YJ>=80,0,30,2,0),COLORYELLOW; Y:=CLOSE/REF(CLOSE,3)>1.05;
A1:=Y AND X;
攻击涨停:IF(A1,200,0),COLORFF3399;
tdx 源码
X:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),4,1);
赶牛:((5 / X) - 5),COLORSTICK,COLOR00FF00;
STICKLINE((赶牛 >10),0,赶牛,0.5,0),COLOR00FF00;
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORRED;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
VAR1A:=C-REF(C,1);
VAR2A:=O-REF(O,1);
VAR3A:=H-REF(H,1);
VAR4A:=L-REF(L,1);
VAR5A:=(VAR1A+VAR2A+VAR3A+VAR4A)/4;
增量资金:MA(VAR5A*VOL,14)/1000 ,LINETHICK0;
STICKLINE(增量资金>0,0-增量资金,0,10,0),COLORWHITE;
庄家进场:(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*1000,COLORYELLOW;
STICKLINE(庄家进场>0,0-庄家进场,0,1,0),COLORFF00FF;
DRAWICON(增量资金>0 AND 庄家进场>0,L-100,1);
MA3:=MA(C,3);
MM:=ATAN((MA3/REF(MA3,1)-1)*3)*180/3.14159,COLORSTICK;
MA5:=MA(C,13);
KK:ATAN((MA5/REF(MA5,1)-1)*3)*180/3.14159,COLORSTICK;
小心:((MM+KK)>=100)*-10,POINTDOT,COLORRED,LINETHICK3;
DRAWTEXT((MM+KK)>=1,-5,'★'),COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=5*K-2*D;
ZJ:=EMA("KDJ.J#WEEK"(9,3,3) ,5);
YJ:=EMA("KDJ.J#WEEK"(9,3,3) ,20);
STICKLINE(J>=80,0,15,2,0),COLORRED;
STICKLINE(ZJ<60,0,-20,2,0),COLOR00FF00;
STICKLINE(ZJ>=80,10,20,2,0),COLORYELLOW;
STICKLINE(YJ>=80,0,30,2,0),COLORYELLOW; Y:=CLOSE/REF(CLOSE,3)>1.05;
A1:=Y AND X;
攻击涨停:IF(A1,200,0),COLORFF3399;
|