[
]NLIF:=H>=REF(L,BARSLAST(KOL) 1);
下檔線:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RRRSV:=SMA(下檔線,3,1);
KKK:=SMA(RRRSV,3,1);
DDDDD:=((3 * RRRSV) - (2 * KKK));
JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(JJ12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
壓力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF;
底部:=LLV(HIGH,30),COLOR00FF00;
AA:=REF(H,N)=HHV(H,2*N 1); AA1:=REF(L,N)=LLV(L,2*N 1);
QY:=BACKSET(AA,N 1); QY1:=BACKSET(AA1,N 1);
CC:=FILTER(QY,N) AND H=HHV(H,N 1); CC1:=FILTER(QY1,N) AND L=LLV(L,N 1);
DDD:=BARSLAST(CC); DD1:=BARSLAST(CC1);
GDTS:=IF(CC,CURRBARSCOUNT,0); DDTS:=IF(CC1,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
GDCS1:=CONST(DINGBUTS); DDCS1:=CONST(DDTS1);
GDCS13:=CONST(REF(HIGH,GDCS1-1)); DDCS13:=CONST(REF(L,DDCS1-1));
DINGBUTS1:=REF(DINGBUTS,DDD 1); DDTS2:=REF(DDTS1,DD1 1);
GDCS2:=CONST(DINGBUTS1); DDCS2:=CONST(DDTS2);
GDCS23:=CONST(REF(HIGH,DINGBUTS1-1)); DDCS23:=CONST(REF(L,DDTS2-1));
XG1:=BACKSET(ISLASTBAR,GDCS1); XD1:=BACKSET(ISLASTBAR,DDCS1);
XG2:=BACKSET(ISLASTBAR,DINGBUTS1); XD2:=BACKSET(ISLASTBAR,DDTS2);
XDD:=IF(DDCS13<=DDCS23,XD1,XD2);
BCG:=SUM(XG1,0); BCD:=SUM(XDD,0);
今日阻力:REF(明日阻力 , 1),NODRAW;
今日支撐:REF(明日支撐 , 1),NODRAW;
壓力位:IF(ISLASTBAR,壓力2,DRAWNULL),NODRAW;
底部位:IF(ISLASTBAR,底部,DRAWNULL),NODRAW;
高點壓力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) ,COLORGREEN,LINETHICK2;
低點支撐:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1),COLORBLUE,LINETHICK2;
高:=CONST(MAX(MAX(MAX(ZGD2,高點壓力),GDCS13),GDCS23));
低:=CONST(MIN(MIN(MIN(ZDD2,DDCS23),DDCS13),低點支撐));
ZGSTAR:=(高點壓力 低點支撐)/2;DRAWBAND(MA(CLOSE,60),RGB(55,0,0),MA(CLOSE,120),RGB(0,91,0));
DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORGREEN,LINETHICK1;
MA60:MA(CLOSE,60),COLORLIRED,LINETHICK1;
MA120:MA(CLOSE,120),COLORBLUE;
RSVC:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
白馬:=SMA(RSVC,3,1);
DC:=SMA(白馬,3,1),LINETHICK1;
主升線:=3*白馬-2*DC,COLORYELLOW,LINETHICK1;
RSVV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
短K:=SMA(RSVV,3,1);
短D:=SMA(短K,3,1);
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
長K:=SMA(RSV1,5,1);
長D:=SMA(長K,10,1);
回歸斜率線A:=EMA(SLOPE(C,4)*20 C,42);
經典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
經典K:=SMA(經典RL,3,1); 經典D:=SMA(經典K,3,1); 經典J:=3*經典K-2*經典D;
MAHL1:=100*((EMA((H L)/2,3)-LLV(EMA((H L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H L)/2,5),30)-(EMA(H,20)-EMA(L,20))));
C1:=REF(C,1);
半漲1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
半漲2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
DRAWTEXT(CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1)) ,LOW*0.992,'買'),COLORRED;
DRAWTEXT(CROSS(REF(ZIG(3,5),1),ZIG(3,5)) ,HIGH*1.018,'賣'),COLORBLUE;
ZJ1953:=ZIG(C,15);
粉絲:=MA(ZJ1953,3);
DRAWTEXT(CROSS(ZJ1953,粉絲),LOW*0.960,'遊資入場 '),COLORMAGENTA;
DRAWTEXT(CROSS(粉絲,ZJ1953),HIGH*1.045,'遊資離場 '),COLORBLACK;
阻力價:HHV(HIGH,19),COLORGREEN,LINETHICK1,NODRAW;
有話要說...