RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;
D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;
J:3*K-2*D,LINETHICK2,COLORRED;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK0,COLOR0099FF;
DEA :EMA(DIF,9),LINETHICK0,COLORD89837;
MACD:2*(DIF-DEA),COLORFF9999,LINETHICK0;
YLZC:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(VOL+0.01)/100);
阻價(jià):=IF(CLOSE=INDEXC,YLZC+INDEXC-INDEXL,YLZC+(CLOSE-LOW));
支價(jià):=IF(CLOSE=INDEXC,INDEXL+INDEXC-YLZC,LOW+(CLOSE-YLZC));
今壓:REF(阻價(jià),1),LINETHICK0,COLORAA11BB;
今撐:REF(支價(jià),1),LINETHICK0,COLOR009900;
明壓:阻價(jià),LINETHICK0;
明撐:支價(jià),LINETHICK0;
RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;
KK:=SMA(RSV1,3,1);
DD:=SMA(KK,3,1);
JJ:=3*KK-2*DD;
買賣:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));
明天買:IF(買賣=100,0-10,0),COLOR00CCCC;
明天賣:IF(買賣=0,90,100),COLOR00FF00;
KX:=250;
KH:=HHV(K,KX);
DH:=HHV(D,KX);
JH:=HHV(J,KX);
KL:=LLV(K,KX);
DL:=LLV(D,KX);
JL:=LLV(J,KX);
HKMAX:=MAX(KH,MAX(DH,JH));
LKMIN:=MIN(KL,MIN(DL,JL));
KHLB:=(HKMAX+LKMIN)/2;
KHLC:=HKMAX-LKMIN;
MHF:=HHV(DIF,KX);
MHD:=HHV(DEA,KX);
MHM:=HHV(MACD,KX);
MLF:=LLV(DIF,KX);
MLD:=LLV(DEA,KX);
MLM:=LLV(MACD,KX);
HMAX:=MAX(MHF,MAX(MHD,MHM));
LMIN:=MIN(MLF,MIN(MLD,MLM));
FHLB:=(HMAX-LMIN)/100;
FHLC:=HMAX-LMIN;
SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;
DIFA:=(DIF-FHLB)*(KHLC/FHLC)+KHLB;
DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;
MACDA:=(MACD-FHLB)*(KHLC/FHLC)+KHLB;
CDA:=MACD<REF(MACD,1) AND MACD>0;
CDB:=MACD>=REF(MACD,1) AND MACD>0;
CDC:=MACD>REF(MACD,1) AND MACD<0;
CDD:=MACD<=REF(MACD,1) AND MACD<0;
STICKLINE(CDA,SH,MACDA,2,0),COLOR00AAFF;{黃色段}
STICKLINE(CDB,SH,MACDA,2,0),COLOR0000AA; {紅色段}
STICKLINE(CDC,SH,MACDA,2,0),COLORAA00BB;{向上粉紅}
TYP:=(HIGH+LOW+CLOSE)/3;
STICKLINE(DIF>REF(DIF,1),20,20,2,0),COLORRED;
STICKLINE(DIF<REF(DIF,1),20,20,2,0),COLORGREEN;
STICKLINE(K>=REF(K,1) OR K>D AND DIF>REF(DIF,1),80,80,2,1),COLORRED;
STICKLINE(K<REF(K,1),80,80,2,1),COLORGREEN;
MACD金叉:=CROSS(MACD,DIF) AND MACD>=(0-0.05) AND MACD<=0.02;
DRAWTEXT(MACD金叉,MACDA*0.82,'▲MACD金叉'),COLOR00FFFF;
XX:=EMA(MA(LOW,3)*0.96,30);
DIF金叉:=IF(CROSS(DIF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIF<=0,1,0);
DRAWTEXT(DIF金叉=1,DIFA*1.08,'DIF金叉'),COLORCDFFBB;
低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;
DRAWTEXT(低位金叉,DEAA*0.99,'▲DIF低位金叉'),COLOR0099DD;
DIFDEA:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(DIFDEA=2,21)=1;
DRAWTEXT(二次金叉,DEAA*0.99-8,'▲DIF 二次金叉'),COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
底背離:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);
DRAWTEXT(底背離,DEAA*0.99-16,'▲DIF底背離'),COLOR0099FF;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
頂背離:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);
DRAWTEXT(FILTER(頂背離,5),DEAA*1.01,'▲DIF頂背離'),COLORDDAAAA;
MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;
MD2:=MA((CLOSE-MD1)/MD1,3);
買點(diǎn)1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);
MA12:=MA(CLOSE,12);
佳點(diǎn):=IF(FILTER(MACD>=REF(MACD,5) AND OPEN<=REF(CLOSE,1) AND XX-REF(XX,1)>0 AND MACD<=0 AND MA12-REF(MA12,1)>=0,3) AND J<80 AND J>REF(J,1) AND D>REF(D,1) AND (DIF>=REF(DIF,1) OR DEA>=REF(DEA,1)),1,0);
DRAWTEXT(佳點(diǎn)=1,MACDA*0.98,'★佳點(diǎn)'),COLOR0099FF;
DX0:=EMA(CLOSE,2)-EMA(OPEN,5);
DX1:=IF(CROSS(DX0,MACD) AND LOW<=XX AND MACD<=(0-0.11) AND (J<20 OR K<20),1,0);
DRAWTEXT(FILTER(DX1,3),0,'★短10%'),COLOR00CC00;{短線}
MA10:=MA(CLOSE,10);
SS:=EMA(MA(HIGH,3)*1.05,30);
LQS:=IF(FILTER(0.7*(CROSS(DIF,DEA) AND CLOSE<SS AND XX-REF(XX,1)>0 AND CROSS(MACD,0) AND MACD>=0 AND DIF>0 AND MA10-REF(MA10,1)>0 AND VOL>REF(VOL,1))>=0.7 AND (CLOSE<SS AND XX-REF(XX,1)>0),5) AND J<80,1,0);
DRAWTEXT(LQS=1,MACDA*0.98,'★量?jī)r(jià)齊上'),COLORCDFFDD;{量?jī)r(jià)齊上}
最佳點(diǎn):=IF(COUNT(MD2>REF(MD2,1),3)=3 AND COUNT(MD2<0,10)=10 AND REF(MD2,3)=LLV(MD2,10) AND J<80 AND J>REF(J,1),1,0);
DRAWTEXT(最佳點(diǎn)=1,J,'★最佳點(diǎn)'),COLORFF00CC;
買點(diǎn)2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)<0.071 AND REF(MD2,2)<REF(MD2,1) AND
NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND J<75 AND J>REF(J,1);
DRAWTEXT(買點(diǎn)1 OR 買點(diǎn)2,D-1,'買'),COLORFF00CC;
{預(yù)漲}
YZ:=(INTPART(SMA(RSV,3,1))+INTPART(SMA(K,3,1)))/2;
預(yù)漲:=CROSS(YZ,50) AND J<95 AND DIF>REF(DIF,1) AND LOW<REF(CLOSE,1);
DRAWTEXT(預(yù)漲,D*0.6,'★預(yù)漲'),COLORA52A2A;
中J55:"KDJ.J"(55,13,3),COLORFFFF00,LINETHICK2;
長(zhǎng)J120:"KDJ.J"(120,30,3),COLORFF00FF,LINETHICK2;
長(zhǎng)J89:"KDJ.J"(89,21,3),COLOR00FF00,LINETHICK2;
VAR200:=REF(LOW,1);
VAR300:=SMA(ABS(LOW-VAR200),3,1)/SMA(MAX(LOW-VAR200,0),3,1)*100;
VAR400:=EMA(IF(CLOSE*1.3,VAR300*10,VAR300/10),3);
VAR500:=LLV(LOW,8);
VAR600:=HHV(VAR400,8);
VAR700:=IF(MA(CLOSE,34),1,0);
VAR800:=EMA(IF(LOW<=VAR500,(VAR400+VAR600*2)/2,0),3)/618*VAR700;
VAR900:=IF(VAR800>100,100,VAR800);
吸籌:VAR900,LINETHICK1;
{STICKLINE(VAR900>-120,0,VAR900,8,1),COLORF00FF0;};
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
IF(J>100,J,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(CROSS(J,99),J,99);
VARB2:=(RSV/2+22)*1;
量:=EMA(VOL,13);
資金:=EMA(AMOUNT,13);
過濾:=((資金 /量) / 100);
提純:=(((CLOSE -過濾) / 過濾) * 100);
黃金:=((提純 < (0)) AND ZXNH),COLORRED;
低買:IF(黃金 AND RSV<VARB2-2,50,0),COLORYELLOW,LINETHICK1;
高賣:IF(黃金 AND RSV>VARB2,80,110),COLORRED,LINETHICK1;
上漲分界:20;
DRAWTEXT(CROSS(低買,上漲分界),上漲分界+REF(C,1),'←次日買');
重心線:(H+L+O+C*3)/6;
NX:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛線:=(20*NX+19*REF(NX,1)+18*REF(NX,2)+17*REF(NX,3)+16*REF(NX,4)
+15*REF(NX,5)+14*REF(NX,6)+13*REF(NX,7)+12*REF(NX,8)+11*REF(NX,9)
+10*REF(NX,10)+9*REF(NX,11)+8*REF(NX,12)+7*REF(NX,13)+6*REF(NX,14)
+5*REF(NX,15)+4*REF(NX,16)+3*REF(NX,17)
+2*REF(NX,18)+REF(NX,20))/210;
牛熊線:MA(牛線,5),COLORGREEN,LINETHICK2;
簡(jiǎn)底:=H>REF(H,1) AND REF(H,1)<REF(H,2) AND L>REF(L,1) AND REF(L,1)<REF(L,2);
簡(jiǎn)頂:=H<REF(H,1) AND REF(H,1)>REF(H,2) AND L<REF(L,1) AND REF(L,1)>REF(L,2);
包含1:=REF(H,1)>=REF(H,2) AND REF(L,1)<=REF(L,2);
包含2:=REF(H,1)<=REF(H,2) AND REF(L,1)>=REF(L,2);
包底1:=H>REF(H,2) AND REF(H,2)<REF(H,3) AND L>REF(L,1) AND REF(L,1)<REF(L,3);
包底2:=H>REF(H,1) AND REF(H,1)<REF(H,3) AND L>REF(L,2) AND REF(L,2)<REF(L,3);
包頂1:=H<REF(H,1) AND REF(H,1)>REF(H,3) AND L<REF(L,2) AND REF(L,2)>REF(L,3);
包頂2:=H<REF(H,2) AND REF(H,2)>REF(H,3) AND L<REF(L,1) AND REF(L,1)>REF(L,3);
復(fù)底:=IF(包含1,包底1,IF(包含2,包底2,簡(jiǎn)底));
復(fù)頂:=IF(包含1,包頂1,IF(包含2,包頂2,簡(jiǎn)頂));
底分型:=IF(BARSLAST(CROSS(牛熊線,重心線))>3,FILTER(BACKSET(FILTER(復(fù)底 AND 重心線<牛熊線,3),2),1),0);
頂分型:=IF(BARSLAST(CROSS(重心線,牛熊線))>3,FILTER(BACKSET(FILTER(復(fù)頂 AND 重心線>牛熊線,3),2),1),0);
STICKLINE(底分型,C,O,8,0),COLORFF00FF,LINETHICK2;
STICKLINE(底分型,C,O,3,0),COLORFF00FF,LINETHICK2;
STICKLINE(底分型,H,L,1,0),COLORFF00FF,LINETHICK2;
STICKLINE(頂分型,C,O,8,0),COLORYELLOW,LINETHICK2;
STICKLINE(頂分型,C,O,3,0),COLORYELLOW,LINETHICK2;
STICKLINE(頂分型,H,L,1,0),COLORYELLOW,LINETHICK2;
DRAWTEXT(底分型,L*0.99,'底型'),COLORYELLOW,LINETHICK1;
DRAWTEXT(頂分型,H*1.02,'頂型'),COLORYELLOW,LINETHICK1;
K13:EXPMA(C,204) ,COLORWHITE;
K14:EXPMA(C,216) ,COLORWHITE;
K15:EXPMA(C,228) ,COLORWHITE;
K16:EXPMA(C,260) ,COLORWHITE;
K1:EXPMA(C,6),COLORRED;
K2:EXPMA(C,14) ,COLORRED;
K3:EXPMA(C,20) ,COLORRED;
K4:EXPMA(C,24) ,COLORLIGREEN;
K5:EXPMA(C,30) ,COLORYELLOW;
K6:EXPMA(C,36) ,COLORYELLOW;
K7:EXPMA(C,42) ,COLORYELLOW;
K8:EXPMA(C,48) ,COLORYELLOW;
K9:EXPMA(C,100) ,COLORBLUE;
K10:EXPMA(C,112) ,COLORBLUE;
K11:EXPMA(C,124) ,COLORBLUE;
K12:EXPMA(C,138) ,COLORBLUE;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(J>50,C,O,2,0),COLORFF0000;
STICKLINE(J>50,H,L,0,0),COLORFF0000;
STICKLINE(J<50,C,O,2,0),COLORFFFF00;
STICKLINE(J<50,H,L,0,0),COLORFFFF00;
STICKLINE(CROSS(50,J),CLOSE,OPEN,2,0),COLORYELLOW;
STICKLINE(CROSS(50,J),H,L,0,0),COLORYELLOW;
STICKLINE(CROSS(J,50),CLOSE,OPEN,2,0),COLORRED;
STICKLINE(CROSS(J,50),H,L,0,0),COLORRED;
nbh
XZ:=1;
MA5:MA(VOL,5)*XZ,LINETHICK2;
MA20:MA(VOL,20)*XZ,LINETHICK2;
MA120:MA(VOL,120)*XZ,LINETHICK3;
MA60:MA(VOL,60)*XZ,LINETHICK1;
虛擬VOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL)*XZ,NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虛擬VOL,0,-1,-1)*XZ,COLOR00C0C0;
VOLUME:VOL*XZ,VOLSTICK;
量能飽和:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100*XZ,NODRAW;
十日換手:SUM(V/CAPITAL*100,10)*XZ;
昨換手率:REF(DYNAINFO(37),1)*XZ,NODRAW COLORGRAY;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*XZ;
主動(dòng)買盤:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*XZ;
主動(dòng)賣盤:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*XZ;
買賣盤比:-(主動(dòng)買盤/主動(dòng)賣盤)*XZ,NODRAW,COLORYELLOW;
STICKLINE(主動(dòng)買盤>0,0,主動(dòng)買盤,1,0),COLORRED;
STICKLINE(主動(dòng)賣盤<0,VOL,主動(dòng)買盤,1,0),COLOR00FF00;
換手:=VOL/CAPITAL*100*XZ,NODRAW;
STICKLINE(換手>0 ,0, 主動(dòng)買盤,0,0),COLORYELLOW;
STICKLINE(換手>0,VOL, 主動(dòng)買盤, 0,0) ,COLORRED;
內(nèi)外比:BUYVOL/SELLVOL*XZ;
成交額增幅:AMOUNT/REF(AMOUNT,1)*XZ,NODRAW;
N1:=5;N2:=10;N3:=600;
LC:=REF(CLOSE,1);
A0:=(2*C+H+L)/4;
A1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*10;
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),0),COLOR00FF00;
BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
N:=10;
DIFF:(EMA(DCLOSE,10)-EMA(DCLOSE,21))*N3,COLORCYAN,LINETHICK2;
DEA:EMA(DIFF,7),COLOR1474FF,LINETHICK3;
TJ1:EMA(DEA,3),COLORWHITE,LINETHICK3;
TJ2:EMA(DEA,5),COLORMAGENTA;
F:=CROSS(DIFF,DEA);
G:=CROSS(DEA,DIFF);
DRAWICON(F,DEA-2.6,13);
DRAWICON(G,DEA+1.1,6);
DIFFA := EMA(OSC,12) - EMA(OSC,25);
DEAA := EMA(DIFFA,8);
MACD := 2*(DIFFA-DEAA);
D1:=EMA(DIFF,3)-EMA(DIFF,8);
D2:=EMA(O,3)-EMA(O,8);
D3:=EMA(H,3)-EMA(H,8);
D4:=EMA(L,3)-EMA(L,8);
STICKLINE(DIFF>=DEA,DIFF,DEA,1,0),COLOR0055AA;
STICKLINE(DIFF<=DEA,DIFF,DEA,0.8,0),COLOR006600;
STICKLINE(DIFF>=DEA,DIFF,DEA,0.6,0),COLOR0077CC;
STICKLINE(DIFF>=DEA,DIFF,DEA,0.3,0),COLOR0099DD;
STICKLINE(DIFF>=DEA,D3,D4,0.1,0),COLOR00BBFF;
STICKLINE(DIFF<=DEA,DIFF,DEA,0.8,0),COLOR009900;
STICKLINE(DIFF<=DEA,DIFF,DEA,0.5,0),COLOR00BB00;
STICKLINE(DIFF<=DEA,DIFF,DEA,0.2,0),COLOR00EE00;
S1:=MACD<REF(MACD,1)AND MACD>0,COLORBLUE;
S2:=MACD<REF(MACD,1)/2 AND MACD<0;
STICKLINE(MACD>=0,MACD,0,4,1),COLORRED;
STICKLINE(S1,0,MACD,4,1),COLOR00FFFF;
B1:=(HHV(H,5)-C)/(HHV(H,5)-LLV(LOW,5))*100- 99;
B2:=SMA(B1,5,1)+100;
B3:=(C-LLV(L,5))/(HHV(H,5)- LLV(L,5))*100+1;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
B7:IF(B6>55,B6-55,0);
持有:STICKLINE(REF(B7,1)<B7,B7,REF(B7,1),3,0),COLORMAGENTA;
A1N:0,POINTDOT,COLORMAGENTA,LINETHICK3;
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
{柱狀線}
AAA1:=(DIF1-DEA1)*2*600;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),
STICK,COLORRED,LINETHICK1;
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR2AAA:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
果斷買入:IF(VAR2AAA AND COUNT(VAR2AAA,3)=1,50.5,0),STICK,LINETHICK5,COLORRED;
組合買: (VAR11+VAR13+VAR15+VAR17), , COLORRED,NODRAW;
DRAWTEXT(VAR11+VAR13+VAR15+VAR17,40.3,'組買'),COLORYELLOW;
DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),50.4,'絕佳') ,LINETHICK2,COLORYELLOW;
VAR31:=MA(HHV(HIGH,488),18);
VAR32:=MA(HHV(HIGH,220),18);
VAR33:=MA(HHV(HIGH,98),18);
VAR34:=MA(LLV(LOW,488),18);
VAR35:=MA(LLV(LOW,220),18);
VAR36:=MA(LLV(LOW,98),18);
VAR37:=MA((((((((VAR34 * 0.96) + (VAR35 * 0.96)) + (VAR36 * 0.96)) + (VAR31 * 0.558)) + (VAR32 * 0.558)) + (VAR33 * 0.558)) / 6),18);
VAR38:=MA((((((((VAR34 * 1.25) + (VAR35 * 1.23)) + (VAR36 * 1.2)) + (VAR31 * 0.55)) + (VAR32 * 0.55)) + (VAR33 * 0.65)) / 6),18);
VAR39:=MA((((((((VAR34 * 1.3) + (VAR35 * 1.3)) + (VAR36 * 1.3)) + (VAR31 * 0.68)) + (VAR32 * 0.68)) + (VAR33 * 0.68)) / 6),18);
VAR40:=MA((((((VAR37 * 3) + (VAR38 * 2)) + VAR39) / 6) * 1.738),18);
VAR41:=VAR40;
VAR42:=LOW;
VAR43:=REF(LOW,1);
VAR44:=((SMA(ABS((VAR42 - VAR43)),3,1) / SMA(MAX((VAR42 - VAR43),0),3,1)) * 100);
VAR45:=MA(IF(((CLOSE * 1.35) <= VAR41),(VAR44 * 10),(VAR44 / 10)),3);
VAR46:=LLV(LOW,30);
VAR47:=HHV(VAR45,30);
VAR49:=IF((LOW <= VAR46),((VAR45 + (VAR47 * 2)) / 2),0);
提示:50*(MA((VAR49 AND (CLOSE < COST(1))),3)),COLORFFFF00,LINETHICK2;
A1J:=REF(CLOSE,2);
A2J:=SMA(MAX(CLOSE-A1J,0),7,1)/SMA(ABS(CLOSE-A1J),7,1)*100;
金礦門:IF(A2J<19,30,0)COLOR00FFFF,LINETHICK2.8;
|