{江上晴云:}
VAR2:=EMA(C,5);
VAR3:=EMA(C,10);
VAR4:=EMA(C,20);
VAR5:=2*(VAR2-VAR4);
VAR6:=2*(VAR2-VAR3);
VAR7:2*(VAR6+VAR5);
STICKLINE(CROSS(VAR7,0),0,10,1,0),COLORRED;
0;
{寶石買(mǎi)入:(可選股)}
BN:=20;
C2:=MA(C,2),LINETHICK0;
MA10:=MA(C2,10),LINETHICK0;
MA20:=MA(C2,BN),LINETHICK0;
MA60:=MA(C2,60),LINETHICK0;
BOLL:=MA20;
UPPER:=BOLL+1.618*STD(C2,BN),COLORGREEN,LINETHICK0;
LOWER:=BOLL-1.618*STD(C2,BN),COLORGREEN,LINETHICK0;
CROSS(C2,LOWER);
{十面埋伏:}
{主力潛伏}
N3:=14;
M:=156;
TYP:=(HIGH+LOW+CLOSE)/3;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF,9);
MACD1:=2*(DIFF-DEA1);
主力潛伏中:=COUNT(MACD1<0,10)=10;
STICKLINE(主力潛伏中,0,4,3,0),COLOR00CCFF;
DRAWTEXT(ISLASTBAR,6,'--主力潛伏'),COLOR00CCFF;
獲利盤(pán):WINNER(CLOSE)*100,COLOR00CCFF,LINETHICK0.03;
{主力出逃}
資金:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4;
外圍游資:=(資金>23.16);
STICKLINE((資金>23.16),0,4,4,0),COLORGREEN;
{DRAWTEXT(外圍游資,2.5,'*'),COLOR2828FF;}
DRAWTEXT(ISLASTBAR,2,'--主力出逃'),COLOR00FF00;
{出手就贏}
VAR2H:=REF(LOW,1);
VAR3H:=SMA(ABS(LOW-VAR2H),3,1)/SMA(MAX(LOW-VAR2H,0),3,1)*100;
VAR4H:=EMA(IF(CLOSE*1.3,VAR3H*10,VAR3H/10),3);
VAR5H:=LLV(LOW,30);
VAR6H:=HHV(VAR4H,30);
VAR7H:=IF(MA(CLOSE,58),1,0);
VAR8H:=EMA(IF(LOW<=VAR5H,(VAR4H+VAR6H*2)/2,0),3)/618*VAR7H;
VAR9H:=IF(VAR8H>100,100,VAR8H);
STICKLINE(VAR9H>-150,0,VAR9H,4,0.3),COLOR888888;
底部吸籌指標(biāo):= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
DRAWICON(CROSS(底部吸籌指標(biāo),-24),30,26);
先知:= (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)/10;
DRAWICON(先知,30,1);
{可能放量拉升:= IF(CROSS(底部吸籌指標(biāo),-24),1,0);
短線(xiàn)獲利:=STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0);}
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
{波段王:=SMA(VARK3,3,1);
波段鬼:=SMA(波段王,2.5,1);}
趨勢(shì)線(xiàn):= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORFF6666,LINETHICK2;
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);
出手就贏:=(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9);
DRAWICON(出手就贏>0,30,1);
買(mǎi)點(diǎn)準(zhǔn)備:=(趨勢(shì)線(xiàn)<=10);
DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0,30,25);
DRAWTEXT(ISLASTBAR,30,'--出手就贏');
{主力進(jìn)場(chǎng)}
VAR1A:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2A:=SMA(ABS(LOW-VAR1A),13,1)/SMA(MAX(LOW-VAR1A,0),10,1);
VAR3A:=EMA(VAR2A,10);
VAR4A:=LLV(LOW,33);
VAR5A:=EMA(IF(LOW<=VAR4A,VAR3A,0),3);
主力進(jìn)場(chǎng):=(VAR5A>REF(VAR5A,1));
DRAWICON(主力進(jìn)場(chǎng),40,1);
DRAWTEXT(ISLASTBAR,40,'--主力進(jìn)場(chǎng)');
{抄底魔鬼}
底7:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)<-0.225;
DRAWICON(底7,10,26);
VAR2T:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3T:=SMA(SMA(VAR2T,3,1),3,1);
VAR4T:=SMA(VAR3T,3,1);
VAR5T:=3*VAR3T-2*VAR4T;
VAR6T:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR7T:=10;
底3:=(CROSS(VAR6T,VAR7T));
DRAWICON(底3,10,1);
VAR8T:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
VAR9T:=SMA(VAR8T,7,1);
VARA:=SMA(VAR9T,5,1);
底4:=(CROSS(VAR9T,VARA AND VAR9T<20));
DRAWICON(CROSS(VAR9T,VARA AND VAR9T<20),10,1);
VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VARC:=SMA(VARB,5,1); VARD:=SMA(VARC,5,1);
底5:=(CROSS(VARC,VARD AND VARC<20));
DRAWICON(底5,10,1);
VARE:=1/WINNER(CLOSE); VARF:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR10T:=100-ABS(VARF); VAR11T:=IF(VARE>5,IF(VARE<100,VARE,VAR10T-10),0);
VAR12T:=HHV(HIGH,25); VAR13T:=LLV(LOW,25);
VAR14T:=EMA((CLOSE-VAR13T)/(VAR12T-VAR13T)*100,5);
底6:=(CROSS(VAR14T,VAR11T));
DRAWICON(底6,10,13);
DRAWTEXT(ISLASTBAR,10,'--抄底魔鬼');
{機(jī)會(huì)來(lái)臨}
VAR2K:=REF(LOW,1);
VAR3K:=SMA(ABS(LOW-VAR2K),13,1)/SMA(MAX(LOW-VAR2K,0),13,1)*100;
VAR4K:=EMA(IF(CLOSE*1.2,VAR3K*13,VAR3K/13),13);
VAR5K:=LLV(LOW,34);
VAR6K:=HHV(VAR4K,34);
VAR7K:=IF(LLV(LOW,55),1,0);
VAR8K:=EMA(IF(LOW<=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K;
VAR9K:=EMA(CLOSE,5);
VAR10K:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
VAR11K:=EMA(IF(LOW<=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K*(-1);
VAR12K:=EMA(CLOSE,5)*(-1);
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);
DRAWICON(XL3,20,1);
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
紅線(xiàn)上穿買(mǎi):EMA((VA-VB)/(VC-VB)*27,5)*4,COLOR0000D2;
紅線(xiàn)下穿賣(mài):EMA(紅線(xiàn)上穿買(mǎi),3),COLORFF9900;
散戶(hù):= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
莊家:= EMA(0.667*REF(散戶(hù),1)+0.333*散戶(hù),2);
DRAWICON(CROSS(散戶(hù),莊家) AND 散戶(hù)<30,80,1);
DRAWICON(CROSS(莊家,散戶(hù)) AND 散戶(hù)>70,80,2);
極品底:=((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04);
DRAWICON(極品底,80,25);
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;
X:=LLV(J,2)=LLV(J,8);
DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J<19,80,1);
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
機(jī)會(huì)來(lái)臨:=SMA(QVAR1C,13,8);
AAS:=FILTER((COUNT((機(jī)會(huì)來(lái)臨-QVAR1D<(-65)),3)=3),34);
DRAWICON(AAS,80,1);
DRAWTEXT(ISLASTBAR,80,'--機(jī)會(huì)來(lái)臨');
{最佳買(mǎi)入選股}
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
最佳買(mǎi)入:=(AV + NEWVOL);
最佳買(mǎi)入選股:=(CROSS(最佳買(mǎi)入,0));
DRAWICON(最佳買(mǎi)入選股,50,1);
RSVA:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);
KA:=SMA(RSVA,3,1);
DA:=SMA(KA,3,1);
JA:=3*KA-2*DA;
XB:=LLV(JA,2)=LLV(JA,8);
最佳買(mǎi)入時(shí)機(jī):= (CROSS(JA,3));
DRAWICON(最佳買(mǎi)入時(shí)機(jī),50,25);
DRAWTEXT(ISLASTBAR,50,'--最佳買(mǎi)入');
{短線(xiàn)套利}
MA18:=MA(C,21);
加碼價(jià):=((C-REF(MA18,1))/18+MA18)*1.004;
短線(xiàn)套利:=(CROSS(C,加碼價(jià)) AND 加碼價(jià)>REF(加碼價(jià),1));
DRAWICON(短線(xiàn)套利,20,1);
{短炒公式}
VARO:=((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;
DRAWICON(VARO<-9 AND VARO> REF (VARO,1),20,26);
{DRAWICON(短底,20,26);}
DRAWTEXT(ISLASTBAR,20,'--短線(xiàn)套利');
{不求人}
{VAR1L:=(EMA(C,12)-EMA(C,26))*100+50;
VAR2L:=EMA(VAR1L,9);
VAR3L:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VAR4L:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR5L:=SMA(VAR4L,13,8);
VAR6L:=SMA(VAR3L,21,8);
VAR7L:=MA(C,80)-MA(C,10)/7;
VAR8L:=EMA(C,5);
VAR9L:=MA((LLV(C,9))*1.1,14);
VAR10L:=2*VAR9L-VAR8L-C*0.1;
VAR11L:=IF(((VAR8L-VAR10L)*5>0),(POW((VAR8L-VAR10L)*5,2))/10,(-1*(POW((VAR8L-VAR10L)*(5),2)))/(10));
VAR12L:=IF((VAR11L>0),VAR11L-0,12);
VAR13L:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
趨勢(shì):=CEILING(SMA(VAR5,13,8)),LINETHICK0.02;
看底:=(趨勢(shì)-VAR6<-65);
頂峰:=(趨勢(shì)-VAR6>85);
黃金區(qū):=VAR13<8;}
{DRAWICON(黃金區(qū),90,1);}
{STICKLINE(VAR13<8,88,93,5,0.2),COLOR51FFFF;
操盤(pán)線(xiàn):=MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORBLUE;
DRAWICON(FILTER(趨勢(shì)<REF(趨勢(shì),1)AND 趨勢(shì)>75 OR CROSS(趨勢(shì),操盤(pán)線(xiàn))
AND 趨勢(shì)<REF(趨勢(shì),1)AND 操盤(pán)線(xiàn)>60,5),90,2);
DRAWICON(FILTER(CROSS(趨勢(shì),VAR12)AND 趨勢(shì)<REF(趨勢(shì),2)AND C>REF(C,1)
OR 趨勢(shì)>REF(趨勢(shì),1)AND 趨勢(shì)<35 AND C>REF(C,1),5),90,1);
DRAWTEXT(ISLASTBAR,90,'--不求人');}
{賭漲停}
MA5:=MA(C,5);
MA10T:=MA(C,10);
MA30:=MA(C,30);
ZX:=(MA5+MA10T)/2;
QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
買(mǎi):=CROSS(C,ZX) AND (GD OR YB) AND QSXS;
賭漲停:=買(mǎi) AND MA5>REF(MA5,1);
DRAWICON(賭漲停,100,13);
{KDJ買(mǎi)點(diǎn)}
RSVV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);
K5:=SMA(RSVV,3,1);
D5:=SMA(K5,3,1);
J5:=3*K5-2*D5;
J1:=REVERSE(J5);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
KDJ買(mǎi)點(diǎn):=CROSS(J5,J1) AND AA,;
DRAWICON(KDJ買(mǎi)點(diǎn),100,1);
DRAWTEXT(ISLASTBAR,98,'--KDJ買(mǎi),賭停');
{收銀臺(tái)}
QVAR2:=IF((HIGH+LOW<=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH,1)),
ABS(LOW-REF(LOW,1))));
QVAR3:=IF((HIGH+LOW>=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH,1)),
ABS(LOW-REF(LOW,1))));
QVAR4:=(SUM(QVAR2,13))/(SUM(QVAR2,13)+SUM(QVAR3,13));
QVAR5:=(SUM(QVAR3,13))/(SUM(QVAR3,13)+SUM(QVAR2,13));
QVAR9:=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));
QVARA:=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));
QVARB:=(QVAR9<REF(QVARA,1)) AND (VOL>REF(VOL,1)) AND (CLOSE>REF(CLOSE,1));
{QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);}
生意上門(mén):=SMA(QVAR1C,13,8);
收銀臺(tái):=(生意上門(mén)-QVAR1D<-65);
DRAWICON(收銀臺(tái),60,1);
AAS1:=FILTER((COUNT((生意上門(mén)-QVAR1D<(-65)),3)=3),34);
收銀:=AAS1;
DRAWICON(收銀,60,26);
QVAR1E:=(CLOSE+OPEN+HIGH+LOW)/(4);
AAA:=QVARB AND (COUNT(QVARB,1)=1) AND (生意上門(mén)<80);
VAR1Z:=(((EMA(CLOSE,5))/(EMA(EMA(CLOSE,9),16))<=0.85000002)
AND ((CLOSE)/(REF(CLOSE,1))>0.90499997) AND ((CLOSE)/(REF(CLOSE,1))<1.05)
AND (((VOL)/(CAPITAL))*(100)<5),50,0);
買(mǎi)賣(mài)順意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5);
VAR3Z:=(((-100))*(HHV(HIGH,50)-CLOSE))/(HHV(HIGH,50)-LLV(LOW,50))+100;
VAR4Z:=(((-100))*(HHV(HIGH,70)-CLOSE))/(HHV(HIGH,70)-LLV(LOW,70))+100;
VAR5Z:=(((CLOSE-MA(CLOSE,34))/(MA(CLOSE,34)))*(100)+10)*(5);
VAR6Z:=(((CLOSE-MA(CLOSE,50))/(MA(CLOSE,50)))*(100)+10)*(5);
VAR7Z:=(((CLOSE-MA(CLOSE,70))/(MA(CLOSE,70)))*(100)+10)*(5);
VAR8Z:=(買(mǎi)賣(mài)順意+VAR3Z+VAR4Z+VAR5Z+VAR6Z+VAR7Z)/(6);
VAR21:=MA(CLOSE,80)-(MA(CLOSE,13))/(3);
VAR22:=MA((CLOSE-VAR21)/(VAR21),1);
VAR23:=(EMA(VAR22,12))*(0.69999998);
VAR24:=EMA(VAR22,3);
VAR25:=((LLV(VAR24-VAR23,12)>0));
VAR26:=FILTER((COUNT((VAR25<(-20)),3)=3),34);
順意:=VAR26;
DRAWICON(順意,60,1);
DRAWTEXT(ISLASTBAR,60,'--收銀臺(tái)');
{絕地反擊}
VAR1P:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR2P:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3P:=(SMA(VAR2P,3,1)-18)*1.55;
VAR4P:=SMA(VAR3P,3,1);
VAR5P:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
VAR6P:=SMA(VAR5P,10,1);
VAR7P:=(EMA(SMA(VAR6P,8,1),34)-25)*2.6;
VAR8P:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR9P:=POW(MA(LOW,5),2)+MA(LOW,5);
VARAP:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARBP:=((VAR8P-LLV(VAR9P,64))/(HHV(VARAP,64)-LLV(VAR9P,64))*150+65-10)/2;
VARCP:=SMA(VARBP,3,1)*1.5-46;
VARDP:=SMA(VARCP,3,1);
VAREP:=3*VARCP-2*VARDP;
VARFP:=(VAR1P+VAR2P+VAR5P)/3;
VAR10P:=((VAR3P+VAR3P+VAR6P+VARCP)/4-15)*1.67;
VAR11P:=((VAR4P+VAR4P+VAR7P+VARDP)/4-15)*1.67;
VAR12P:=((VAR1P+VAR5P*2+VARFP+VAR10P+VAR11P+VARBP+VARCP+VARDP+VAREP)/10-15)*1.67;
VAR13P:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
VAR14P:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
VAR15P:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
VAR16P:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
VAR17P:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
VAR18P:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
VAR19P:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
VAR1AP:=((VAR13P*8+VAR14P*8+VAR15P*8+VAR16P+VAR17P+VAR18P+VAR19P)/28-0.1)*185;
VAR1B:=SMA(VAR1AP,3,1);
VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;
VARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
VARB1:=SMA(VARA1,7,1);
VARC1:=SMA(VARB1,5,1);
英雄:=IF(CROSS(VARBP,VARCP) AND VARBP<20,100,0);
VAR2N:=LLV(LOW,3)<=LLV(LOW,60);
VAR3N:=C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
絕地反擊:IF(VAR2N AND VAR3N,90,0)COLOR00FF00;
準(zhǔn)備反擊:=VAR2N;
反擊:=VAR2N AND VAR3N;
DRAWICON(準(zhǔn)備反擊,90,1);
DRAWICON(反擊,90,13);
DRAWICON(英雄,90,25);
DRAWTEXT(ISLASTBAR,90,'--絕地反擊');