牛股线:77,COLORFF8800;
X:13,POINTDOT,COLOR0000FF;
Y:55,POINTDOT,COLOR00FF00;
DRAWICON(CROSS((100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8))),99),70,1);100-100*(HHV
(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV
(LOW,5*8)),COLOR00FFFF;DRAWTEXT(CROSS((100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8))),90),70,'留意'),COLORFF00FF;
N:=5;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
快:=SMA(RSV,3,1),COLORGREEN;
慢:=SMA(快,3,1);
强势:=IF(快>慢,快,DRAWNULL),LINETHICK2,COLORRED;
快慢比:=快/慢,NODRAW;
介入:IF(快<慢,30,0),COLORLIRED;
N1:=1;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(VAR3*10,3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(BARSCOUNT(CLOSE) >34,1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:VAR9,LINETHICK0,COLOREE00EE;
STICKLINE(VAR9>-120,0,VAR9,1,1);
STICKLINE(VAR9>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),0,VAR9,1,0),COLORRED;
STICKLINE(VAR9>0.1 AND VAR9<1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",1),0,VAR9,2,0),COLOR00FFFF;
公鸡:VAR9>N1/10 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2);
DRAWTEXT(公鸡,LOW*0.970,'★起'),LINETHICK1,COLORYELLOW;
P:=15;M:=5;
K:=AMOUNT/V/100;
TR:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(K,1))),ABS(LOW-REF(K,1))),P);
HD:= HIGH-REF(HIGH,1);
LD:= REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),P);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),P);
PDI:=(DMP*233/TR),COLORYELLOW;
MDI:=EMA(DMM*123/TR,3),COLORMAGENTA;
ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI),M);
ADXR:=(ADX+REF(ADX,M))/2;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
B:=SMA(VAR1,N,1);
VAR02:=SMA(B,M,1);
股海航标:IF(CROSS(B,VAR02) AND B<40,50,0),COLORWHITE;
AAA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AAA,0),5,1)/SMA(ABS(CLOSE-AAA),5,1)*200;
HHH:=BBB-LLV(BBB,10);
SSS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SSS>13,MA(SSS,2),SSS); |