ZT:=CLOSE>REF(CLOSE,1)*1.093; { 以漲停收盤 }
ZTO:=IF(EXIST(ZT,N),1,0); { N天存在以漲停收盤 };
CN1:=HHV(V,5);CN2:=O>C;CN02:=C>O;CN03:=C=O;
CN04:=((SUM(V,5)/CN1));CN05:=IF(CN04>0.3,1,0);
CN06:=IF(CN2 AND CN05,V,0);CN07:=IF(CN02 AND CN05,V,0);
CN08:=IF(CN03 AND CN05,V,0);
AD:=SUM(CN07,3),COLORYELLOW;DA:=SUM(CN06,3);
AZ:=(AD-DA),COLOR0000FF;AF:=AZ=AD;
AX:=AD*0.6;SA:=BETWEEN(AZ,AD,AX);
P:=AD-AZ;
VAR2T:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3T:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4T:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5T:=(((VAR2T + (2 * VAR3T)) + (3 * VAR4T)) / 6);
VAR6T:=MA(VAR5T,3);
VAR7T:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));
VAR8T:=(((CLOSE - VAR7T) / VAR7T) * 100);
VAR9T:=((((REF(VAR8T,1) < (0 - 40)) AND (VAR8T > REF(VAR8T,1))) AND (REF(VAR8T,1) < REF(VAR8T,2))) AND ((VAR8T - REF(VAR8T,1)) >
2.5));
VARAT:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VARBT:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VARCT:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VARDT:=REF(CLOSE,1);
VARET:=((SMA(MAX((CLOSE - VARDT),0),5,1) / SMA(ABS((CLOSE - VARDT)),5,1)) * 100);
VARFT:=(((HIGH + LOW) + CLOSE) / 3);
VAR10T:=((VARFT - MA(VARFT,14)) / (0.015 * AVEDEV(VARFT,14)));
VAR11T:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))
< (0 - 0.273));
VAR12T:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));
VAR13T:=(VAR11T AND VAR12T);
VAR14T:=((((VARAT >= (0 - 45)) AND (VARAT <= (0 - 10))) AND (VARBT <= (0 - 15))) AND (VARCT <= (0 - 20)));
VAR15T:=(COUNT(VAR14T,1) >= 1);
VAR16T:=(VAR13T AND VAR15T);
VAR17T:=1;
VAB0T:=531;VAB1T:=1510000;VAB2T:=VAB0T + VAB1T; VAB3T:=IF(DATE > VAB2T,0,1);
VARA12T:=SMA(H,10,9)*VAB3T; VARA13T:=SMA(L,10,9)*VAB3T; VAR18T:=(CLOSE * VOL);
VAR19T:=EMA((((((MA(VAR18T,4) / MA(VOL,4)) + (MA(VAR18T,6) / MA(VOL,6))) + (MA(VAR18T,13) / MA(VOL,13))) + (MA(VAR18T,24) / MA
(VOL,24))) / 4),1);{⊙波段金馬營財富網 原文鏈接:HTTP://BDCPW.LINGD.NET/ARTICLE-5372730-1.HTML}
VAR1AT:=(1 * VAR19T);
VAR1BT:=(VAR19T * 0.92);
VAR1CT:=EMA(CLOSE,34);
VAR1DT:=MA((VAR1CT * 1.12),5);
VAR1ET:=MA((VAR1CT * 0.82),5);
VAR1FT:=(CLOSE < VAR1ET);
VAR20T:=((((((MA(AMOUNT,5) * VAR17T) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA
(VOL,5)) / 100)) < ((0 - 0.4) * VAR17T));
VAR21T:=HHV(HIGH,500);
VAR22T:=LLV(LOW,500);
VAR23T:=HHV(HIGH,250);
VAR24T:=LLV(LOW,250);
VAR25T:=HHV(HIGH,125);
VAR26T:=LLV(LOW,125);
VAR27T:=MA(((((((VAR21T * 0.45) + (VAR23T * 0.5)) + VAR22T) + VAR24T) + VAR26T) / 5),35);
VAR28T:=MA((((VAR23T * 0.62) + VAR26T) / 2),35);
VAR29T:=MA((((VAR23T * 0.75) + VAR26T) / 2),18);
VAR2AT:=MA((((((VAR23T * 0.93) + (VAR27T * 2)) + (VAR28T * 1.8)) + (VAR29T * 1.5)) / 4),18);
VAR2BT:=MA(((((VAR21T * 0.95) + (VAR27T * 3)) + (VAR28T * 2)) / 3),35);
VAR2CT:=VAR27T;
VAR2DT:=VAR28T;
VAR2ET:=VAR29T;
VAR2FT:=VAR2AT;
VAR30T:=VAR2BT;
VAR31T:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));
VAR32T:=(INDEXA / 100000000);
VAR33T:=INDEXADV;
VAR34T:=INDEXDEC;
VAR35T:=((VAR18T / (VAR18T + VAR19T)) * VAR17T);
VAR36T:=((VAR19T / (VAR18T + VAR19T)) * VAR17T);
VAR37T:=EMA(VAR35T,10);
VAR38T:=EMA(VAR36T,10);
VAR39T:=EMA(VAR37T,10);
VAR3AT:=EMA(VAR38T,20);
VAR3BT:=EMA(VAR37T,3);
VAR3CT:=EMA(VAR39T,6);
VAR3DT:=EMA(VAR3AT,2);
VAR3ET:=(VAR3CT - VAR3DT);
VAR3FT:=(((VAR3CT - REF(VAR3CT,1)) > 0) AND ((REF(VAR3CT,1) - REF(VAR3CT,2)) < 0));
VAR40T:=IF((CROSS(VAR3BT,VAR3CT) AND (VAR3CT <= 20)),30,0);
VAR41T:=VAR40T;
VAR42T:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);
VAR43T:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);
VAR44T:=(CLOSE - REF(MA(CLOSE,20),11));
VAR45T:=(((((((((((((CLOSE < VAR1ET) AND VAR20T) AND (CLOSE < VAR43T)) OR (((CLOSE < VAR1ET) AND VAR31T) AND VAR20T)) OR ((CLOSE <
VAR1ET) AND (CLOSE < VAR43T))) OR (((CLOSE < VAR1ET) AND VAR20T) AND (CLOSE < VAR43T))) OR (VAR20T AND (CLOSE < VAR2CT))) OR ((VAR20T
AND VAR31T) AND (VAR44T < (0 - 1.5)))) OR (VAR20T AND (CLOSE < VAR1ET))) OR (VAR20T AND (VAR44T < (0 - 1.5)))) OR (VAR31T AND (CLOSE
< VAR43T))) OR ((CLOSE < VAR2CT) AND (VAR44T < (0 - 1.5)))) OR ((CLOSE < VAR1ET) AND VAR31T));
VAR46T:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR47T:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR48T:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR49T:=REF(CLOSE,1);
VAR4AT:=((SMA(MAX((CLOSE - VAR49T),0),5,1) / SMA(ABS((CLOSE - VAR49T)),5,1)) * 100);
VAR4BT:=(((HIGH + LOW) + CLOSE) / 3);
VAR4CT:=((VAR4BT - MA(VAR4BT,14)) / (0.015 * AVEDEV(VAR4BT,14)));
VAR4DT:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))
< (0 - 0.273));
VAR4ET:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));
VAR4FT:=(VAR11T AND VAR12T);
VAR50T:=((((VAR2T >= (0 - 45)) AND (VAR2T <= (0 - 7))) AND (VAR3T <= (0 - 11))) AND (VAR4T <= (0 - 14)));
VAR51T:=(COUNT(VAR50T,1) >= 1);
VAR52T:=(VAR4FT AND VAR51T);
VAR53T:=(((((VAR20T AND (CLOSE < VAR1ET)) AND VAR31T) AND (CLOSE < VAR2CT)) AND VAR45T) AND VAR52T);
VAR54T:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR55T:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR56T:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR57T:=REF(CLOSE,1);
VAR58T:=((SMA(MAX((CLOSE - VAR57T),0),5,1) / SMA(ABS((CLOSE - VAR57T)),5,1)) * 100);
VAR59T:=(((HIGH + LOW) + CLOSE) / 3);
VAR5AT:=((VAR59T - MA(VAR59T,14)) / (0.015 * AVEDEV(VAR59T,14)));
VAR5BT:=((((((VAR54T >= (0 - 15.8)) AND (VAR54T <= (0 - 12.2))) AND (VAR55T <= (0 - 20.8))) AND (VAR56T <= (0 - 27.5))) AND (VAR58T
<= 11.7)) AND (VAR5AT <= (0 - 145)));
VAR5CT:=9.999999884842+026;
VAR5DT:=(COST(10) * 0)*VAB3T;
VAR5ET:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));
VAR5FT:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);
VAR60T:=((CROSS((0 - 5),VAR5FT) AND (VAR5ET < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));
VAR61T:=MA(CLOSE,3);
VAR62T:=(REF(CLOSE,2) * 0.865);
VAR63T:=(REF(CLOSE,13) * 0.772);
VAR64T:=MIN(VAR62T,VAR63T);
VAR65T:=((100 * VOL) / CAPITAL);
VAR66T:=MA(CLOSE,13);
VAR67T:=IF(((((CLOSE - VAR64T) / CLOSE) < 0.03) AND ((SUM(VAR65T,5) / 5) < 1.8)),1,0);
開始控盤:=(VAR6T <= (0 - 10))*VAB3T,COLORBROWN,LINETHICK;
出擊:=IF(((((VAR9T OR VAR16T) OR VAR53T) OR VAR5BT) OR ((((CLOSE - VAR64T) / CLOSE) < 0.03) AND ((SUM(VAR65T,5) / 5) <
1.8))),1.5,0);
SG:=EMA(HHV(HIGH,1),8);
X1:=EMA(CLOSE,8);
X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
LC:=REF(CLOSE,1);
操作線:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;
趨勢線:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;
震倉線:=45,COLORMAGENTA;
震倉線2:=50,COLORGRAY;
逃命線:=80,COLORRED;
抄底線:=20,COLORGREEN;
絕底線:=5,COLORBLUE;
PP2:=操作線<震倉線2 AND REF(操作線,1)>震倉線2 ;
PP:=操作線<震倉線 AND REF(操作線,1)>震倉線 ;
PP3:=操作線<抄底線 AND REF(操作線,1)>抄底線*VAB3T;
財主抓漲停:=(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3T=1;
白色:=SMA(HIGH,21,2)*1.05;
黃色:=SMA(LOW,21,2)*0.95;
綠色:=SMA(CLOSE,2,1);
領頭羊:=IF(CROSS(綠色,白色),1,0);
K2:=EMA(C,5);
K4:=EMA(C,10);
K7:=EMA(C,20);
K8:=EMA(C,30) ;
U:=IF(K2>K4 AND K4>K7 AND K7>K8 ,1,0);
VAR120T:=(HIGH - LOW);
VAR301T:=ABS((OPEN - CLOSE));
VAR401T:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR501T:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR601T:=((VAR301T / VAR120T) * VOL);
VAR70T:=((VAR401T / VAR120T) * VOL);
VAR80T:=((VAR501T / VAR120T) * VOL);
VARB0T:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
短趨勢線:=MA(C,13);
ZHULI:=(((((VAR601T > (MA(VOL,5) * 2)) AND 短趨勢線>REF(短趨勢線 ,1) AND (VAR601T >= VAR70T)) AND (VAR601T >= VAR80T)) AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARB0T AND 短趨勢線>REF(短趨勢線 ,1)));
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破盤整:=W4 AND COUNT(W4,5)=1;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
MA5:=MA(C,5);
P1:=IF(REF(L,1)<=REF(MA5*1.03,1),1,0);
VAR1M:=(HIGH+LOW+CLOSE)/3;
VAR2M:=(VAR1M-MA(VAR1M,14))/(0.015*AVEDEV(VAR1M,14));
BBM:=EMA(VAR2M,2),LINETHICK2,COLORWHITE;
VAR3M:=MA(VOL,5);
VAR4M:=MA(VOL,10);
VAR5M:=MA(VOL,60);
VAR6M:=MA(CLOSE,5);
VAR7M:=MA(CLOSE,8);
VAR8M:=MA(CLOSE,25);
VAR9M:=MA(CLOSE,60);
VARAM:=CROSS(VAR2M,BBM) AND VAR2M>80 AND VOL>VAR3M AND VOL>VAR4M AND VOL>VAR5M AND VAR6M>VAR9M AND VAR7M>VAR9M AND VAR8M>VAR9M AND OPEN<VAR6M AND CLOSE>VAR6M;
M5:=MA(C,5)*1.03;
XG:=C>M5 AND REF(COUNT(C/REF(C,1)<1.06,9)=9,1) AND REF(HHV(H,5),1)/REF(LLV(L,5),1)<=1.09 AND REF(COUNT(C<M5,5)>=4,1) AND C>REF(C,1);
W:IF(ZTO=1 AND U=1 AND P=0 AND P1=1,1,0) OR IF( ZTO=1 AND P1=1 AND U=1 AND XG ,1,0) OR IF( ZTO=1 AND U=1 AND P1=1 AND 領頭羊=1,1,0)
OR IF( ZTO=1 AND U=1 AND P1=1 AND CROSS(C,VAR6),1,0) OR IF(突破盤整=1 AND ZTO=1 AND U=1 AND P1=1,1,0) OR ZHULI OR 財主抓漲停 OR VARAM;
聯(lián)系客服