VAR1:=REF(CLOSE,2); 趨勢線:SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,LINETHICK2,COLORLIBLUE;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;
逢高派發(fā):STICKLINE(趨勢線>85,78,85,1.2,0), COLORYELLOW;
極高風(fēng)險:STICKLINE(趨勢線>90,78,85,1.8,0), COLORRED;
DRAWICON(趨勢線>95 ,100,2);
吸:=IF(趨勢線<12,23,12),COLORWHITE,LINETHICK2;
強(qiáng)買:=IF(VAR3<12,30,12),COLORMAGENTA,LINETHICK2;
{輕倉大底}
長期線:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100,COLOR9900FF,LINETHICK3;
短期線:=-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6))+100,COLORRED;
中期線:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORYELLOW,LINETHICK2;
STICKLINE(中期線<12,23,12,2,0), COLORYELLOW;
STICKLINE(長期線<12,23,12,2,0), COLORRED;
上趨勢:=MA(LOW,20)*1.2,COLOR0080FF,LINETHICK2;
次上趨勢:=MA(LOW,20)*1.1,COLORYELLOW;
次下趨勢:=MA(HIGH,20)*0.9,COLORWHITE;
下趨勢:=MA(HIGH,20)*0.8,COLORGREEN,LINETHICK1;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趨勢強(qiáng)度:=IF(C>次上趨勢,IF(C>上趨勢,4,3),IF(C>次下趨勢 AND C<次上趨勢,2,IF(C<下趨勢,0,1))),NODRAW;
底距:=(C-下趨勢)/下趨勢*100,NODRAW;
MA多:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100,COLORFFB5FF,LINETHICK2;
多方:EMA(MA多,5),COLORYELLOW,LINETHICK2;
XX:=IF(多方<45,多方,DRAWNULL),COLORGREEN,LINETHICK3;
三成:=IF(多方<25 AND 多方>=20,50,25),COLORWHITE,LINETHICK2;
六成:=IF(多方<20 AND 多方>=15,35,25),COLORLIRED,LINETHICK3;
全倉:IF(多方<15,37,25),COLORRED,LINETHICK5;
STICKLINE(多方>75,68,60,1.2,0), COLORYELLOW;
STICKLINE(多方>80,68,60,1.2,0), COLORRED;
DRAWICON(多方>85 ,55,2);
趨線:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORAABBDD,NODRAW;
AA:=((REF(趨線,1)<REF(趨線,2) AND 趨線<-30) AND 趨線>=REF(趨線,1)) OR (REF(CROSS(-30,趨線),1) AND CROSS(趨線,-30)) OR 趨線=-30;
賣田:=IF(AA,65,12),COLORYELLOW,LINETHICK2;
BB:=((REF(趨線,1)<REF(趨線,2) AND 趨線<-20 AND 趨線>-25) AND 趨線>=REF(趨線,1)) OR (REF(CROSS(-20,趨線),1) AND CROSS(趨線,-20));
見底:=IF(BB,58,12),COLORRED,LINETHICK2;
CC:=((REF(趨線,1)<REF(趨線,2) AND 趨線<-25 AND 趨線>-30) AND 趨線>=REF(趨線,1)) OR (REF(CROSS(-25,趨線),1) AND CROSS(趨線,-25));
淺底:IF(趨線<-20,60,12),LINETHICK3,COLORF0F000;
DRAWTEXT(CROSS(-20,趨線),80,淺底),COLORF0F000;
IF(趨線<-25,80,12),LINETHICK2,COLORF00FF0;
DRAWTEXT(CROSS(-25,趨線),90,深底),COLORF00FF0;
IF(趨線<-30,35,12),LINETHICK4,COLORWHITE;
DRAWTEXT(CROSS(-30,趨線),55,砸鍋),COLORGRAY;
M:=88;
N1:=6;
VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);
MA13:=(MA(VAR0A,13)*0.99),LINETHICK2;
KK:=(MA(VAR0A,13)*0.999);
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));
生命:=(HHV(VAR1A,12)),LINETHICK4,COLOR0080FF;
VARX1:=EMA(AMOUNT/VOL/100,3);
控盤成本:=EMA(VARX1,M),LINETHICK2;
低吸伏擊:=EMA(VARX1,M)*0.85,LINETHICK2,COLORFFFF00;
走勢鐵底:=低吸伏擊*0.87,LINETHICK3,COLORFF00FF;
距底:=(C-低吸伏擊)/低吸伏擊*100,NODRAW;
機(jī)會:IF(趨勢強(qiáng)度<=1 AND 中期線<12 AND 距底>0 AND 距底<5,55,25),COLORGREEN,LINETHICK2;
低吸:IF(C<低吸伏擊 AND 中期線<12 AND 趨勢強(qiáng)度=1,58,25),COLORYELLOW,LINETHICK3;
伏擊:IF(L<走勢鐵底,66,25),COLORLIRED,LINETHICK3;
VARZ1:=1;
VARZ2:=REF(LOW,1)*VARZ1;
VARZ3:=SMA(ABS(LOW-VARZ2),3,1)/SMA(MAX(LOW-VARZ2,0),3,1)*100*VARZ1;
VARZ4:=(2*C+H+L)/4;
VARZ5:=LLV(LOW,60);
VARZ6:=(2*CLOSE+HIGH+LOW)/4;
VARZ8:=LLV(LOW,34);
VARZ11:=HHV(HIGH,34);
VARZ12:=EMA((VARZ6-VARZ8)/(VARZ11-VARZ8)*100,13);
VARZ13:=EMA(0.667*REF(VARZ12,1)+0.333*VARZ12,2);
VARZ0:=HHV(HIGH,60);
AAA:=EMA((VARZ4-VARZ5)/(VARZ0-VARZ5)*100,5);
BBB:=EMA(AAA,5);
上線:=IF(AAA>=BBB,100,100),COLOR00FF00,LINETHICK3;
下線:=IF(AAA<BBB,0,0),COLOR00FFCC,LINETHICK3;
中線:=IF(AAA<BBB,50,50),LINETHICK1,COLOR0033FF;
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
趨勢:=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);
DDK:=DRAWICON(趨勢<=3 AND 趨勢強(qiáng)度<=1,63,1);
C1:=((MA(C,30)-L)/MA(C,60))*200;
臨界點(diǎn):=IF(C1>30,68,45),LINETHICK3,COLORRED;
VR2:=REF(LOW,1);
VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;
VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);
VR5:=LLV(LOW,30);
VR6:=HHV(VR4,30);
VR7:=IF(MA(CLOSE,58),1,0);
主力:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7,COLORMAGENTA,NODRAW;
VR9:=IF(主力>100,100,主力);
主力進(jìn)場:=STICKLINE(VR9>0,0,VR9,3,0),COLORMAGENTA;
洗:=STICKLINE(主力<REF(主力,1),0,VR9,3,0),COLORGREEN;
盤:=STICKLINE(VR9<REF(VR9,1),0,VR9,3,0),COLORGREEN;
短底:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+
(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3,NODRAW;
炒短:=IF(短底<-10 AND 主力>REF(主力,1),60,12),COLORLIRED,LINETHICK2;
VBR1:=IF(DATE>=10201201,0,1);
VBR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
VBR3:=EMA(CLOSE,3);
VBR4:=(2*CLOSE+LOW+HIGH)/4*VBR1;
VBR5:=VBR2-VBR3;
風(fēng)險線:=EMA(VBR4,45)*1.15;
必賣線:=EMA(VBR4,55)*1.3,COLORRED;
底線:=EMA(VBR4,40)*0.85,COLORWHITE,LINETHICK2;
鐵底線:=EMA(VBR4,88)*0.7,COLORRED;
成本線:=EMA(VBR4,55),COLORGREEN,LINETHICK2;
價值中樞:=(成本線+底線)/2,COLORFFFF00;
鐵底:IF(C<鐵底線 AND 炒短,73,25),COLORBLUE,LINETHICK3;
大底天:BARSLAST(CROSS(12,長期線)),NODRAW;
85,POINTDOT;
70,POINTDOT;
75,COLORGREEN;
中樞:45,COLORRED,LINETHICK2;
25,COLORGREEN,LINETHICK2;
30,COLORLIRED; |
|
來自: 魏源wy > 《指標(biāo)公式》