① 把下面通達信指標公式改成條件選股公式
可以編寫選股公式,但首先要說明選股條件啊,是選買入提示啊,還是選那個金鑽起漲,還是選什麼其他的條件。還是某幾個條件,或者幾個條件同時發生。這需要你說明選股條件才好編寫啊
② 通達信指標
李雙江:
MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);
MA5:=MA(C,60);MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);
MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);
N1:=9;M11:=3;M22:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M11,1);D:=SMA(K,M22,1);J:=3*K-2*D;N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);
放牛郎公式:=EMA(A1,5);
A2:=(放牛郎公式-REF(放牛郎公式,1))/REF(放牛郎公式,1)*100+10;
A3:=EMA(C,5);A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;
K20:=SMA(A4,6,1);
恨爹不成剛:=MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3);
怨爸不雙江:=IF(恨爹不成剛<REF(恨爹不成剛,1),恨爹不成剛,DRAWNULL);
放牛郎博客:=MA30>MA60 AND MA30>MA90 AND MA30>MA120 AND (C>MA60 OR C>MA90 OR C>MA120);
金牛:=LAST(MA30<MA60 AND MA30<MA90 AND MA30<MA120 AND OPEN<MA30,10,1);
SLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
SSLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
李雙江:=IF((A2<-3 OR LLV(K20,5)<10) AND (C=LLV(C,30) OR L=LLV(L,30))
AND C>REF(C,1)*0.905 AND LLV(K20,5)<10 AND (SSLY OR REF(SSLY,1))
AND C<MA(C,30)*0.87 AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98
AND (J<10 OR REF(J<5,1)) AND 恨爹不成剛<3,0.5,0);
AA:=恨爹不成剛<0 AND C<MA(C,30)*0.85;BB:=恨爹不成剛<2 AND C<MA(C,30)*0.82;
XG:IF(李雙江>0,1,0);
李剛:
MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);
MA5:=MA(C,60);MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);
MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);
N1:=9;M11:=3;M22:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M11,1);D:=SMA(K,M22,1);J:=3*K-2*D;N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);
放牛郎公式:=EMA(A1,5);
A2:=(放牛郎公式-REF(放牛郎公式,1))/REF(放牛郎公式,1)*100+10;
A3:=EMA(C,5);A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;
K20:=SMA(A4,6,1);
恨爹不成剛:=MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3);
怨爸不雙江:=IF(恨爹不成剛<REF(恨爹不成剛,1),恨爹不成剛,DRAWNULL);
放牛郎博客:=MA30>MA60 AND MA30>MA90 AND MA30>MA120 AND (C>MA60 OR C>MA90 OR C>MA120);
金牛:=LAST(MA30<MA60 AND MA30<MA90 AND MA30<MA120 AND OPEN<MA30,10,1);
SLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
SSLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
AA:=恨爹不成剛<0 AND C<MA(C,30)*0.85;BB:=恨爹不成剛<2 AND C<MA(C,30)*0.82;
李剛:=IF((AA OR BB) AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98 AND (J<10 OR REF(J<5,1)),0.5,0);
XG:IF(李剛>0,1,0);
③ 用通達信金牛判勢指標設置選股為金牛大於金鑽趨勢,金鑽趨勢大於金牛2,股價偏離金牛2選股公式選出如圖
為什麼不把公式源碼復制粘貼上來呢?只發截圖是沒有人會浪費時間給你改編的!
你的這個公式使用了XMA(偏移移動平均)函數,它是未來函數,不可以做選股公式使用。
只可以做盤後分析使用.。
④ 金牛判勢
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,'~☆~美瓷佳品專用~☆~'),COLORBLUE;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
金鑽趨勢:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
金牛2:EMA(金鑽趨勢,25)COLORCYAN,LINETHICK2;
DRAWBAND(金鑽趨勢,RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(金鑽趨勢>LOW AND 金鑽趨勢<HIGH,金鑽趨勢,MIN(MIN(OPEN,CLOSE),金鑽趨勢),2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>MIN(C,O) AND 金鑽趨勢<MAX(C,O),金鑽趨勢,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回調買:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=金鑽趨勢>HIGH AND 回調買 AND L<=金鑽趨勢;
DRAWTEXT(XG,L,'▲買入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<金鑽趨勢,L,'↖金鑽起漲'),COLORMAGENTA;
⑤ 通達信金牛判勢指標源碼和機構震倉指標怎麼寫,如下圖效果
金牛判勢主圖公式:
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,'~☆~皓天~☆~'),COLORBLUE;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
金鑽趨勢:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
金牛2:EMA(金鑽趨勢,25)COLORCYAN,LINETHICK2;
DRAWBAND(金鑽趨勢,RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(金鑽趨勢>LOW AND 金鑽趨勢<HIGH,金鑽趨勢,MIN(MIN(OPEN,CLOSE),金鑽趨勢),2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>MIN(C,O) AND 金鑽趨勢<MAX(C,O),金鑽趨勢,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回調買:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=金鑽趨勢>HIGH AND 回調買 AND L<=金鑽趨勢;
DRAWTEXT(XG,L,'▲買入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<金鑽趨勢,L,'↖金鑽起漲'),COLORMAGENTA;
2機構震倉副圖公式:
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
綠探底震倉:IF(VAR2,10,DRAWNULL),COLORGREEN,LINETHICK9;
紅買: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK9;
藍賣: IF(VAR2<VAR3,10,DRAWNULL),COLORFFFF00,LINETHICK9;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上穿買:SMA(RSV,3,1),COLORRED;
下穿賣:SMA(上穿買,3,1),COLORFFFF00;
希望我的回答能使你滿意。
⑥ 金牛技術指標怎麼安裝
摘要 通達信指標源碼裝到電腦上,步驟如下:
⑦ 請高人用通達信金牛判勢軟體選股金牛大於金鑽趨勢,金鑽趨勢大於金牛2,股價偏離金牛2,求高人回復
有未來函數,沒法用於選股。
⑧ 通達信金牛判勢指標源碼怎麼才能裝到電腦上
通達信指標源碼裝到電腦上,步驟如下:
1、打開通達信股票交易軟體
2、點擊「功能」項
3、點擊下拉菜單中的「公式系統」
4、點擊「公式管理器」
5、點擊「技術指標公式」
6、點擊「新建」
7、將公式源碼復制過來,點擊「確定」就可以了。
如下圖所示:
⑨ 請高人用通達信金牛判勢軟體選股金牛大於金鑽趨勢,金鑽趨勢大於金牛2,股價偏離金牛2
選出來的是有黃柱,但是價不是橫盤至金牛2下方的,而是這個至金牛2下方,
⑩ 通達信 軟體 『激進散』 公式,哪位大俠提供一下
VAR1:=(C-EMA(C,7))/EMA(C,7);
VAR2:=EMA(EMA(VAR1,3),3);
VAR3:=EMA(EMA(VAR1,3),2);
VAR4:=100*( VAR2+ VAR3);
VAR5:=EMA(VAR4,2.5);
BI:=100*(H+L)/2/EMA(C,17)-100;
BUY1:=VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND REF(VAR4,2)<REF(VAR4,3);
BUY2:=REF(BI,1)>0 AND BUY1 AND VAR4<-2;
BUY3:=REF(BI,1)<0 AND BUY1 AND REF(VAR4,1)<-3;
BUY4:=VAR4<0 AND CROSS(VAR4,VAR5) AND BUY1;
BUY:=(BUY2 OR BUY3 OR BUY4) AND (EMA(INDEXC,5)>REF(EMA(INDEXC,5),1) OR VAR4>=REF(VAR4,1));
DRAWICON(BUY,-130,14);
100;
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,COLORGREEN,LINETHICK3;
散戶:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;
BT2:=CROSS(主力,散戶) AND 主力<-10;
DRAWICON(CROSS(主力,散戶) AND 主力<-10,主力,23);
IF(主力>=REF(主力,1),主力,DRAWNULL),COLORRED,LINETHICK3;
IF(主力<=REF(主力,1),主力,DRAWNULL),COLORGREEN,LINETHICK3;
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主動買:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主買:主動買/10000,COLORRED,LINETHICK0;
主動賣:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));
主賣:-主動賣/10000,COLORGREEN,LINETHICK0;
參與度:主買/(主買+主賣),LINETHICK0;
單日換手:=100*V/CAPITAL,LINETHICK0;
十日換手:SUM(單日換手,10),LINETHICK0;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,10);
STICKLINE(((CROSS(BIAS,乖離)AND 乖離<-3)),80,98,2,0),COLORRED;
DRAWTEXT((CROSS(BIAS,乖離)AND 乖離<-3),130,'變盤'),COLORWHITE;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
頂部:=CROSS(80,RSI)*35;
逃頂:=頂部;
頂:=IF(逃頂>REF(逃頂,1),35,0);
DRAWTEXT(頂=35,170,'逃頂'),COLOR00FF00;
STICKLINE(頂部,90,0,1,0),COLORGREEN;
VOLUME:=VOL;
主力啟動線:=MA(VOLUME,5);
主力洗盤線:=MA(VOLUME,35);
資金異動線:=MA(VOLUME,135);
誘多:STICKLINE(CROSS(主力啟動線,資金異動線) OR ((主力洗盤線 > 資金異動線) AND CROSS(主力啟動線,主力洗盤線)),100,-3,0.5,0),COLORFFFF00;
DRAWTEXT(誘多,130,'騙錢'),COLORFFFF00;
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
{DRAWICON(CROSS(82,VARR1),180,15); }
DRAWTEXT(CROSS(82,VARR1),150,'逃'),COLORYELLOW;
BIASW:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*10;
狗:=(REF(DOWNNDAY(CLOSE,3),1) AND C>REF(C,1) AND BIASW>=REF(BIASW,1));
DRAWTEXT(狗,160,'金牛'),COLORYELLOW;
STICKLINE(狗,100,-5,0.5,0),COLORYELLOW;
MAN:=MA(C,3);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);
D1:=(MAN-MA10)/MIN(MAN,MA10);
D2:=(MAN-MA20)/MIN(MAN,MA20);
D3:=(MAN-MA30)/MIN(MAN,MA30);
D5:=(MA20-MA10)/MIN(MA20,MA10);
D6:=(MA30-MA10)/MIN(MA30,MA10);
D8:=(MA20-MA30)/MIN(MA20,MA30);
DB:=MA(MIN(MIN(MIN(D1,D2),MIN(D3,D5)),MIN(D6,D8))*100,2);
GJ:=(2*C+H+L)/4;
底:=DB<-10 AND GJ<MA30 AND REF(DB,1)<MIN(REF(DB,2),DB);
DRAWTEXT(底 AND COUNT(底,BARSLAST(NOT(DB<-10 AND GJ<MA30)))=1,160,'抄底'),COLORMAGENTA;
AAWW:=C-MA(C,6);
嗎:=0;
DRAWICON(CROSS(AAWW,嗎),90,17);
TJ1:=COUNT((C<O),5)>=3;
TJ2:=(MIN(C,O)-L)/(H-L)>=0.5;
TJ3:=L/MIN(C,O)<=0.97;
TJ4:=(C-MA(C,30))/MA(C,30)*100<-10;
長下影買:=TJ1 AND TJ2 AND TJ3 AND TJ4;
STICKLINE(長下影買,-150,0,0.3,0),COLORFF00FF;
DRAWTEXT(長下影買>0,-80,'長下影買'),COLORF8FFFF;
弱轉強:=CROSS(CCI,-200) AND CCI>REF(CCI,1);
STICKLINE(弱轉強,80,90,2,0),COLORWHITE;
DRAWTEXT(弱轉強,110,'出擊'),COLORYELLOW;
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEAP:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEAP)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEAP),1));
AR1:=REF(CLOSE,1);
AR2:=SMA(MAX(CLOSE-AR1,0),7,1)/SMA(ABS(CLOSE-AR1),7,1)*100;
特准:STICKLINE(FILTER(REF(AR2,1)<20 AND AR2>REF(AR2,1),5),60,0,2,0),COLOR0066FF;
DRAWTEXT(特准,35,'←絕殺'),COLORWHITE;
增減力度:=(MA(CLOSE,34.000) - CLOSE) / MA(CLOSE, 34.000) * 10.000;
STICKLINE(CROSS( 1.700,增減力度), 75,30, 1,0),COLORWHITE;
DRAWTEXT(CROSS( 1.700,增減力度), 100,'底'),COLORWHITE;
STICKLINE(FILTER(CROSS(0.019100,增減力度),21),120,50, 1,0),COLORFFFF00;
DRAWTEXT(FILTER(CROSS(0.019100,增減力度),21), 150,'小心'),COLORGREEN;
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BT1:=CROSS(RSI1,25);
STICKLINE(BT1,30,50,3,0),COLORFF00FF;
DRAWTEXT(BT1,75,'反彈'),COLORYELLOW;
短線獲利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,80,-50,0.3,0),COLOR0000FF;
DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'短買'),COLORWHITE;
AA:=EMA(C,5)-EMA(C,13);
BBP:=EMA(AA,3);
X:=AA>REF(AA,1); Y:=REF(AA,3)>=REF(AA,2);Z:=REF(AA,2)>=REF(AA,1);Z1:=AA<BBP;
注意:=X AND Y AND Z AND Z1 ;
DRAWTEXT(注意,1,'啟動!'),COLORYELLOW;
DRAWICON(注意,10,1);
OSC:=100*(CLOSE-MA(CLOSE,20));
MAOSC:=EXPMEMA(OSC,6);
BIASWP:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
BIASMA:=MA(BIASWP,6);
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C<REF(O,1) AND F<0,1,0);
P2:=IF(C<REF(O,2) AND F<0,1,0);
LIN:=IF(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,1,0);
DRAWICON(LIN,120,5);
SS1:=CROSS(OSC,MAOSC) AND LIN;
DRAWTEXT(SS1,-45,'<=搶反彈'),COLORFFFF22;
STICKLINE(SS1,-70,0,1,1),COLOR00FFFF;
SS:=CROSS(OSC,MAOSC) AND CROSS(BIASWP,BIASMA) AND LIN;
DRAWTEXT(SS,-100,'<=激進淘金'),COLORFF00FF;
STICKLINE(SS,-150,0,0.3,0),COLORRED;
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
STICKLINE(B2>0,-100,-80,2,0),COLORFF00FF;
DRAWTEXT(B2>0,-80,'←啟動'),COLORYELLOW;
STICKLINE(B3>0,-80,-60,2,0),COLORYELLOW;
DRAWTEXT(B3>0,-60,'←走強'),COLORYELLOW;
FL:=V>REF(V,1) OR V>MA(V,5);
SZ:=(CROSS(C,MA(C,3)) OR CROSS(C,MA(C,5))) AND C>=O;
放量上漲:=IF(FL AND SZ,1,0);
STICKLINE(放量上漲,-40,-20,2,0),COLOR00FFFF;
DRAWTEXT(放量上漲,-25,'<=放量上漲'),COLORFF00FF;DRAWTEXT_FIX(C>O,0.01,0.9,0,'
DRAWTEXT_FIX(C>O,1,1,0,'<span style="display:none;"><a data-cke-saved-href="