通达信主图指标(飞龙在天)
杩欎釜鎸囨爣瑕佷箞鏀惰垂锛岃涔堟槸PDF鐗堬紝鎶辩潃涓瀹氳鎼炴巶鐨勫績鎬侊紝鏄ㄦ櫄鑺变簡宸笉澶氫竴涓皬鏃跺紕浜嗗嚭鏉ャ
鍏紡婧愮爜锛堟棤鏈潵锛
锘縈A5:MA(CLOSE,5);
鐭秼鍔跨嚎:MA(CLOSE,13),COLORRED,LINETHICK2;MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
MAP:=MA(CLOSE,8);
AA5:=MA(CLOSE,21);
AA10:=MA(CLOSE,8),COLORFF0000;
AA12:=MA(CLOSE,12),COLORFF0000;BB10:=((ATAN((AA10-REF(AA10,1)))*
3.1416)*10);
BB12:=((ATAN((AA12-REF(AA12,1)))*3.1416)*10);
VAR01:=((((OPEN+LOW)+HIGH)+CLOSE)/4);
涓湡澶у簳:=LLV(LOW,30),COLORCDFFBB;
鐭簳:=EMA(VAR01,5);
鏀拺:=HHV(鐭簳,60);
鍘嬪姏1:=HHV(LOW,20),COLORFAABEC;
涓嚎:=MA(CLOSE,3);
DRAWTEXT(FILTER(((((HIGH>鏀拺)AND(CLOSE<鏀拺))AND((CLOSE/OPEN)>(0-1.06)))AND(CLOSE<OPEN)),5),(HIGH+0.02),'閫'),COLORFFFF00;
澶:=(MA(LOW,15)*0.985);
浜:=(MA(LOW,15)*0.96);
鍦:=(((HIGH+LOW)+CLOSE)/3);
B1:=HHV(鍦,(4*15));
B6:=LLV(鍦,(4*15));
B7:=(B1-B6);
B8:=(MA(((鍦-B6)/B7),2)*80);
VAR1:=(((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)))*200);
椋為緳椤跺簳绾1:=SMA(VAR1,3,1);
VAR2:=SMA(椋為緳椤跺簳绾1,3,1);
VAR3:=((3*椋為緳椤跺簳绾1)-(2*VAR2));
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,5);
VAR6:=(EMA((((CLOSE-VAR4)/(VAR5-VAR4))*100),4)*2);
VAR7:=EMA(((0.667*REF(VAR6,1))+(0.333*VAR6)),2);
VAR8:=((3*VAR6)-(2*VAR7));
VAR9:=(POW(MA(CLOSE,5),2)+MA(CLOSE,5));
VARA:=(POW(MA(LOW,5),2)+
MA(LOW,5));VARB:=(POW(MA(HIGH,5),2)+MA(HIGH,5));
VARC:=(((((VAR9-LLV(VARA,64))/(HHV(VARB,64)-LLV(VARA,64)))*150)+65)-10);
VARD:=((SMA(VARC,3,1)*1.5)-100);
VARE:=SMA(VARD,3,1);
VARF:=((3*VARD)-(2*VARE));
VAR10:=(((HIGH+LOW)+(CLOSE*2))/4);
VAR11:=EMA(VAR10,13);
VAR12:=STD(VAR10,13);
VAR13:=(((VAR10-VAR11)*100)/VAR12);VAR14:=EMA(VAR13,5);
VAR15:=EMA(VAR14,13);
VAR16:=((EMA(VAR14,13)+200)-100);
VAR17:=EMA(VAR16,10);
VAR18:=((3*VAR16)-(2*VAR17));
VAR19:=(((椋為緳椤跺簳绾1+VAR6)+VARD)+VAR16);
VAR1A:=(((VAR2+VAR7)+VARE)+VAR17);
VAR1B:=(((VAR3+VAR8)+VARF)+VAR18);
VAR1C:=(((HIGH+LOW)+CLOSE)/3);VAR1D:=((AMOUNT/VOL)/100);
VAR1E:=((SUM(AMOUNT,5)/SUM(VOL,5))/100);
VAR1F:=((VAR1C-MA(VAR1C,34))/(0.015*AVEDEV(VAR1C,34)));
VAR21:=((((HIGH+LOW)+CLOSE)+VAR1C)/4);VAR22:=EMA(VAR21,24);
VAR23:=STD(VAR21,24);
VAR24:=(((VAR21-VAR22)/VAR23)*100);
VAR25:=((VAR1C-MA(VAR1C,24))/(0.015*AVEDEV(VAR1C,24)));
VAR26:=EMA(VAR24,5);
VAR27:=((VAR1D-MA(VAR1D,21))/(0.015*AVEDEV(VAR1D,21)));
VAR28:=((VAR1E-MA(VAR1E,90))/(0.015*AVEDEV(VAR1E,90)));
VAR29:=(((((((VAR28+VAR27)+VAR26)+VAR25)+VAR1F)/5)+165)/4);
VAR2A:=(((((VAR19+VAR1A)+(VAR1B*30))/32)/5)-15);
VAR2B:=(((VAR29+VAR2A)/2)/1.1);
VAR2C:=VAR2B;
鐭嚎:=MA(VAR2C,26);
MID:=(鐭嚎+(2*STD(VAR2C,26)));
UPPER:=(鐭嚎-(2*STD(VAR2C,26)));
LOWER:=IF((VAR2C>鐭嚎),鐭嚎,VAR2C);
XY:=MA(CLOSE,5);
M80:=MA(CLOSE,80);
鐭湡搴曢儴:=(LLV(HIGH,30)*0.93),COLOR0000FF;
MA80:=LLV(HIGH,30);
鐭湡搴曢儴2:=SMA(CLOSE,2,1);
瓒嬪娍:=(MA(LOW,10)*0.96);
瓒:=(EMA(OPEN,107)*0.897);
瓒呰穼浣2:=MA(CLOSE,15);
GF:=MA(CLOSE,10);
MAN:=(SMA(HIGH,21,2)*1.05);
涓1:=(HHV(鐭簳,60)*0.92);
鍘嬪姏2:=(SMA(HIGH,21,2)*1.035);
闃绘尅绾:=(SMA(LOW,21,2)*0.96);
涓嬫。绾:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100);
RSV:=SMA(涓嬫。绾,3,1);
K:=SMA(RSV,3,1);
D:=((3*RSV)-(2*K));
J:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);
VAR2P:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);
VAR3P:=(((CLOSE-MA(CLOSE,24))/MA(CLOSE,24))*100);
VAR4P:=(((J+(2*VAR2P))+(3*VAR3P))/6);
VAR5P:=MA(VAR4P,3);
VAR6P:=(((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*100);
RSV12:=SMA(VAR6P,3,1);
K12:=SMA(RSV12,3,1);
D12:=((3*RSV12)-(2*K12));
J12:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100);
RSV24:=SMA(J12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3*RSV24)-(2*K24));
J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));
鍘嬪姏浣:=IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D)))),COLORFFFFFF;
鏀拺浣:=IF((CLOSE>=MA(CLOSE,20)),80,50);
U2L:=IF((CLOSE>=MA(CLOSE,20)),50,20);
L2L:=IF(((D<鏀拺浣)AND(REF(D,1)>=鏀拺浣)),HHV(REF(HIGH,1),(BARSLAST(((D>=鏀拺浣)AND(REF(D,1)<鏀拺浣)))-1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D>=鏀拺浣) AND (REF(D,1)<鏀拺浣)))-1)),BARSLAST(((D<鏀拺浣) AND REF(D,1)))));
RH1:=IF((HIGH>L2L),LOW,REF(LOW,BARSLAST((HIGH>L2L))));
RH4:=IF((HIGH>L2L),D,REF(D,BARSLAST((HIGH>L2L))));
RH42:=IF((((HIGH>RH1)AND(D<RH4))AND(D<D24)),HIGH,REF(HIGH,BARSLAST((((HIGH>RH1)AND(D<RH4))AND(D<D24)))));
RH5:=IF(((D>U2L) AND (REF(D,1)<=U2L)),LLV(REF(LOW,1),(BARSLAST(((D<=U2L) AND (REF(D,1)>U2L)))-1)),REF(LLV(REF(LOW,1),(BARSLAST(((D<=U2L) AND (REF(D,1)>U2L)))-1)),BARSLAST(((D>U2L) AND REF(D,1)))));
RL1:=IF((LOW<RH5),HIGH,REF(HIGH,BARSLAST((LOW<RH5))));
RL4:=IF((LOW<RH5),D,REF(D,BARSLAST((LOW<RH5))));
RL42:=IF((((LOW<RL1) AND (D>RL4)) AND (D>D24)),LOW,REF(LOW,BARSLAST((((LOW<RL1) AND (D>RL4)) AND (D>D24)))));
闀挎湡搴曢儴:=LLV(HIGH,30),COLORFF0000;
DRAWTEXT(FILTER(((((RL42=J24) AND (CLOSE>OPEN)) AND (CLOSE>闀挎湡搴曢儴)) AND (LOW<=J24)),20),(LOW-0.12),'搴曟垚'),COLOR0EABFF;
RL5:=(SMA(HIGH,5,2)*1.05);
涓:=(SMA(LOW,5,2)*0.96);
涓:=SMA(LOW,2,1);
涓:=(((((3*CLOSE)+HIGH)+LOW)+OPEN)/6);
X1:=EMA(涓,10);
X2:=REF(X1,1);
X3:=((REF(HIGH,1)+REF(LOW,1))/2);
X4:=(MA(CLOSE,21)+(2*STD(CLOSE,21)));
X5:=REF(CLOSE,1);
X6:=((SMA(MAX((CLOSE-X5),0),7,1)/SMA(ABS((CLOSE-X5)),7,1))*100);
X7:=CROSS(79,X6);
X8:=FILTER(X7,4);
X9:=MA(CLOSE,115);
VAR001:=EMA(CLOSE,8);
椋為緳椤跺簳绾:=EMA(VAR001,20);
VAR002:=CROSS(VAR001,椋為緳椤跺簳绾);
VAR003:=(VAR001<MA(CLOSE,20));
VAR004:=(((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)))*100);
VAR005:=SMA(VAR004,5,1);
VAR006:=SMA(VAR005,8,1);
VAR007:=(CROSS(VAR005,VAR006)AND(VAR006<5));
VAR008:=((CLOSE>(LLV(CLOSE,60)+(0.3*LLV(CLOSE,60)))) AND VAR007);
VAR009:=IF((CLOSE>1000),VAR007,VAR008);
VAR00F:=CROSS(X1,X2);
MA115:=VAR00F;
浣庝拱:=(VAR002 AND VAR003);
榛戦┈璧锋:=VAR009;
DRAWTEXT(X8,(HIGH*1.03),'鍑鸿揣'),COLOR9000F5;
DRAWTEXT((榛戦┈璧锋>0),(HIGH*1.04),'閫冨懡'),COLORFF0000;
閫冮亖:=(SMA(HIGH,21,2)*1.05);
闃绘尅:=(SMA(LOW,21,2)*0.94);
DRAWTEXT(FILTER(((((((((CLOSE/OPEN)>1.03) AND ((瓒呰穼浣2-REF(瓒呰穼浣2,1))>0)) AND ((CLOSE-REF(CLOSE,1))>0)) AND (HIGH<鍘嬪姏1)) AND (CLOSE<鍘嬪姏1)) AND ((鍘嬪姏2-REF(鍘嬪姏2,1))>0)) AND (CLOSE<MAN)),3),LOW,'鍑哄嚮'),COLORYELLOW;
DRAWTEXT((((((浣庝拱>0)AND((X1-REF(X1,1))>0))AND(HIGH<鍘嬪姏浣))AND(HIGH<X9))AND((X2-REF(X2,1))>0)),LOW,'榛戦┈'),COLORRED;
DRAWTEXT((((((CROSS(VAR2C,鐭嚎)AND((CLOSE-REF(HIGH,1))>0))AND((涓嚎-REF(涓嚎,1))>0))AND(HIGH<=鍘嬪姏1))AND(CLOSE<MA20))AND(LOW<=涓嚎)),(LOW-0.06),'鍏虫敞'),COLOR00FF00;
DRAWTEXT((((CROSS(VAR2C,UPPER)AND(HIGH<鍘嬪姏1))AND((XY-REF(XY,1))>0))AND(HIGH<鏀拺)),LOW,'涔'),COLORFFFFFF;
DRAWTEXT(FILTER(((((((LOW<=澶)AND(CLOSE>=MA20))AND(HIGH<鍘嬪姏1))AND((澶-REF(澶,1))>0))AND(CLOSE<鍘嬪姏1))AND((MA20-REF(MA20,1))>0)),6),(LOW-0.12),'鍏ㄤ粨'),COLOR00FFFF;
DRAWTEXT(FILTER((((((MA115 AND (CLOSE<鍘嬪姏浣))AND((浜-REF(浜,1))>0))AND((X1-REF(X1,1))>0))AND(HIGH<涓1))AND((CLOSE/OPEN)>1.03)),5),LOW,'?涔'),COLOR93EE7D;
DRAWTEXT(((((LOW<=涓)AND(HIGH>=鐭湡搴曢儴))AND(CLOSE>=闀挎湡搴曢儴)) AND ((CLOSE/OPEN)>1.03)),(LOW-0.08),'?鎶勫簳'),COLOR0000FF;
DRAWTEXT(FILTER((((((B8<=1)AND(LOW<=闃绘尅))AND(CLOSE>OPEN))AND (LOW<=涓湡澶у簳))AND(CLOSE>=闀挎湡搴曢儴)),3),(LOW-0.08),'鐭妱E'),COLORA100FF;
DRAWTEXT((((CROSS(D,0)AND(HIGH<鍘嬪姏浣))AND(VAR5P<=(0-7)))AND(CLOSE<XY)),(LOW-0.11),'鍗婁粨'),COLORFFFF00;
DRAWTEXT(FILTER((((CROSS(瓒嬪娍,瓒)AND(HIGH<M80))AND(HIGH<鍘嬪姏1))AND LLV(LOW,0)),10),LOW,'鏋滄柇涔'),COLOR668800;
DRAWTEXT(FILTER(((CROSS(涓嚎,浜)AND(LOW<=浜))AND(CLOSE>=浜)),4),(LOW-0.06),'涔'),COLOR00FF00;
DRAWTEXT(((CROSS(闃绘尅,闀挎湡搴曢儴)AND(BB10>1))AND(HIGH<鏀拺)),LOW,'鍑哄嚮'),COLORRED;
DRAWTEXT(FILTER((((((((MA20-REF(MA20,1))>0) AND (HIGH<鏀拺)) AND ((AA10-REF(AA10,1))>0)) AND (HIGH<鍘嬪姏1))AND(VOL>=REF(VOL,1))) AND CROSS(CLOSE,MA20)),57),LOW,'绐佺牬鐢熷懡绾'),COLOR0000FF;
DRAWTEXT(FILTER(((((LOW<=MA80)AND(CLOSE>MA80))AND (CLOSE>OPEN)) AND (鐭湡搴曢儴2<=MA80)),8),LOW,'搴'),COLORFFFF00;
DRAWTEXT(((CROSS(MA20,鍘嬪姏浣)AND(LOW<=MA20))AND((MA20-REF(MA20,1))>0.02)),(LOW-0.03),'?缁濅匠涔扮偣'),COLORAFA0AF;
DRAWTEXT((((((((CROSS(CLOSE,MA20)AND(HIGH<鍘嬪姏浣))AND(OPEN<MA20))AND(HIGH<鏀拺))AND((MAN-REF(MAN,1))>0))AND((X1-REF(X1,1))>0))AND(D<63))AND((MA20-REF(MA20,1))>0)),(LOW-0.05),'?澶х墰娴按'),COLORBLUE;
STICKLINE(CROSS(MA(CLOSE,13),C) AND MA(CLOSE,13)>REF(MA(CLOSE,13),1) AND V<REF(V,1)AND MA(CLOSE,13)>MA(CLOSE,55),L,L*0.98,3,0),COLORYELLOW;
DRAWTEXT(CROSS(MA(CLOSE,13),C)AND INDEXC>MA(INDEXC,13)AND MA(CLOSE,13)>REF(MA(CLOSE,13),1)AND V<REF(V,1)AND MA(CLOSE,13)>MA(CLOSE,55),L*0.9,'涔'),COLORRED,LINETHICK2;
STICKLINE(CROSS(CLOSE,(((C-REF(MA(CLOSE,20),1))/20+MA(CLOSE,13))*1.20))AND MA(CLOSE,13)>REF(MA(CLOSE,13),1),H,H*1.02,3,0),COLORYELLOW,LINETHICK2;
VAR011:=((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;
VAR012:=HHV(VAR011>20,10);
DRAWTEXT(FILTER(VAR011<-9 AND VAR011>REF(VAR011,1),18),L*0.9,'鍙嶅脊'),COLORRED,LINETHICK2;
DRAWTEXT(VAR011<-20 AND INDEXC<MA(INDEXC,13)AND FILTER(VAR011>REF(VAR011,1),5),L*0.93,'鎶勫簳'),COLORYELLOW,LINETHICK2;
DRAWTEXT(VAR012 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),H*1.1,'鍗遍櫓'),COLORYELLOW;
VAR013:=IF(MA(CLOSE,13)>REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL);
DRAWTEXT((IF(CLOSE>MA(CLOSE,13)AND OPEN<CLOSE,-0.1,0))AND((C-REF(C,1))/(REF(C,1))>0.061)AND (MA(CLOSE,13)=VAR013)AND(MA(CLOSE,1),MA(CLOSE,13))AND (VOL>REF(HHV(VOL,3),1)*2),L*0.9,'涓诲姏浠嬪叆'),COLORMAGENTA;
N:=5;
B36:=MA(CLOSE,3)-MA(CLOSE,6);
B612:=MA(CLOSE,6)-MA(CLOSE,12);
W:=((B36)/(CLOSE))*(10);
J1:=((B612)/(CLOSE))*(10);
DRAWTEXT((W<(-0.2)) AND (J1<(-0.2)) AND CROSS(W,J1),(LOW)*0.93,'搴'),COLORRED;
搴勫:=(W<(-0.2))AND(J1<(-0.2))AND CROSS(W,J1);
M1:=SUM((EMA((CLOSE+LOW)/(2),2))/(2.98),3),POINTDOT,COLORFFFFFF;
M2:=EMA(M1,21),COLORFF00FF;
VARP1:=(2)*(MA((LLV((CLOSE+LOW)/(2),8))*(1.1),13))-EMA((CLOSE+LOW)/(2),3)-((CLOSE+LOW)/(2))*(0.1);VARP2:=IF(((EMA((CLOSE+LOW)/(2),3)-VARP1)*(5)>0),(POW((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5),2)))/(10));VARP3:=IF((VARP2>0),VARP2-0,(-1));宸ヤ綔绾:=MA(CLOSE,1);
M3:=MA(CLOSE,3);
M13:=MA(CLOSE,13);
EMA13:=EMA(C,13);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
EMA120:=EMA(C,120);
AR1:=EMA55>EMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);
AR3:=EMA13>=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
AR6:=AR5 AND FILTER(AR5,10);
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
DRAWTEXT(CROSS(V1,V2),L-0.09,'璧'),COLOR00FF00;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.04),'鍙'),COLORFFFFFF;
TT2:=DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
RSVP:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KP:=SMA(RSVP,3,1);
DP:=SMA(KP,3,1);
JP:=3*K-2*DP;
EMA1:=EMA(C,1);
LOCK:=1;
M8:=EMA(CLOSE,8);
VARP21:=EMA(M13,62);
VARP22:=(CLOSE+HIGH+LOW)/3;
VARP23:=EMA(VARP22,10)*LOCK;
VARP24:=REF(VAR23,1)*LOCK;
DRAWTEXT(AR6,L-0.25,'鏉'),COLOR00CCFF;
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5),5)=5;
BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;
BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3)OR REF(C,4)<REF(EMA55,4)OR REF(C,5)<REF(EMA55,5));
BR4:=BR1 AND BR2 AND BR3;
DRAWTEXT(BR4 AND FILTER(BR4,10),H*1.08,'铓'),COLOR00C5FF;
DRAWTEXT(CROSS(EMA34,EMA55),L-0.5,'閲'),COLORYELLOW;
DRAWTEXT(CROSS(88,RSI),(HIGH*1.02),'椤'),COLOR1880FF;
VARP11:=IF(C>=O,H,0);
VARP12:=IF(C<=O,REF(H,1),VARP11);
VARP13:=IF(C>=O,V,0);
VARP14:=IF(C<=O,REF(V,1),VAR3);
VARP15:=COUNT(VARP12>REF(VARP12,1)AND VARP14<REF(VARP14,1),3)>=2 AND C>O;
閲忎环鑳岀:=VAR15*40,STICK,COLORF5CCEB,LINETHICK2;
DRAWTEXT(閲忎环鑳岀,HIGH*1.02,'绂'),COLORYELLOW;
VAREP:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARFP:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR60:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR61:=VARF<REF(VAR60,1)AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
澶ц祫閲:=(VAR61 AND COUNT(VAR61,30)=1);
DRAWTEXT(澶ц祫閲,LOW*0.9,'?');
DRAWTEXT(澶ц祫閲,LOW*0.8,'澶ц祫閲');
RSV11:=(C-LLV(LOW,27))/(HHV(HIGH,3)-LLV(LOW,27))*100;
F:=SMA(RSV11,3,1);
K11:=SMA(F,3,1);
D11:=SMA(K11,3,1);
WAV:=3*K11-2*D11;
A41:=IF(1,C,IF(C<REF(O,1)AND L<REF(L,1),L,C));
A42:=IF(C<REF(L,1),L,A41);
A43:=IF(H<REF(O,1),L,A42);
A44:=IF(O<=REF(C,1)AND C<REF(O,1),L,A43);
A:=IF(C<O AND O<REF(O,1) AND L<REF(L,1),L,A44);
AJ1:=ATAN((A/REF(A,1)-1)*100)*180/3.1416;
LJIAO:=ATAN((VOL/REF(VOL,1)-1)*100)*180/3.1416;
DSLJ:=LJIAO>0 AND ABS(LJIAO-AJ1)<30;
JIA5:=WAV-REF(WAV,4)>50;
DSALE:=DSLJ AND (JIA5 OR WAV>90);
DILJ:=LJIAO<0 AND ABS(LJIAO-AJ1)<30;
JIA6:=WAV-REF(WAV,4)<-50;
DBUY:=DILJ AND (JIA6 OR WAV<10);
PLX:=((C-MA(C,10))/MA(C,10)+(C-MA(C,5))/MA(C,5))*100;
DING1:=PLX>25;
DI1:=PLX<-25;
璺屽箙:=(C-HHV(C,10))/HHV(C,10)*100;
DI2:=璺屽箙<-20;
娑ㄥ箙:=(C-LLV(C,10))/LLV(C,10)*100;
DING2:=娑ㄥ箙>20;
DING:=DSALE OR DING2;
DI:=DBUY OR DI1 OR DI2;
QSA:=(MA(C,60)-REF(MA(C,60),10))/REF(MA(C,60),10)*100;
QS:=SMA(QSA,10,1);
DS:=QS<-3 OR MA(C,60)<REF(MA(C,60),1);
QC:=DS AND DING AND DING!=REF(DING,1);
DRAWTEXT(QC,H*1.05,'?'),COLORRED;
DRAWTEXT(QC,H*1.15,'鍋氱┖'),COLORRED;
VARAP:=LLV(LOW,36);
VARBP:=HHV(HIGH,30);
VARCP:=EMA((CLOSE-VARAP)/(VARBP-VARAP)*4,4)*25;
VAR71:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR72:=8;
CC3:=CROSS(VAR71,VAR72);
DRAWTEXT(CC3,L*0.98,'涔帮綖'),COLOR0099FF;
TT:=240/FROMOPEN;
姣:=TT;
JP12:=(HIGH-((HIGH-LOW)/3));
J23:=(LOW+((HIGH-LOW)/3));
AAA:=CONST(HHV(H,90));
BBB:=CONST(LLV(L,100));
DRAWKLINE(H,O,L,C);
澶х洏:=EMA(INDEXC,500)/EMA(C,500);
澶х洏绾:=INDEXC/澶х洏,LINETHICK1,COLOR0066FF;
澶х洏绾1:=MA((INDEXC/澶х洏),5),COLORGREEN;
T1{鏃╂櫒涔嬫槦}:=CONST(IF((澶х洏绾>=REF(澶х洏绾,1) AND CROSS(澶х洏绾,澶х洏绾1)),1,0));
T3{闀垮崄瀛梷:=CONST(IF((澶х洏绾<=REF(澶х洏绾,1) AND CROSS(澶х洏绾1,澶х洏绾)),1,0));
TS1:=IF(T1=1,0+0.03,0);
TS3:=IF(T3=1,TS1+0.03,TS1);DRAWTEXT(T1=1 AND CURRBARSCOUNT=38,AAA-(AAA*TS1),'澶х洏澶氬ご鏀诲嚮,鏈轰細鍑虹幇,涔拌偂'),COLORFF00FF;
DRAWTEXT(T3=1 AND CURRBARSCOUNT=38,AAA-(AAA*TS3),'澶х洏绌哄ご鏀诲嚮,鏃犳満浼,鍑哄眬'),COLOR00FFFF;
濂戒笉濂界敤锛岃浠佽鏅 鎴戜釜浜哄枩娆㈢畝鍗曠殑銆