通达信指标公式源码底部确认 抄底的好指标 无未来
无未来 实战指标通达信指标公式源码
无未来实战指标VAR1:=BARSCOUNT(CLOSE);VAR2:=HHV(HIGH,200);VAR3:=LLV(LOW,200);VAR4:=(VAR2-VAR3)/40;VAR5:=HIGH+VAR4;STICKLINE(VAR1/30=FLOOR(VAR1/30),VAR5,VAR5+3*VAR4,8,0), COLOR0000FF; STICKLINE(VAR1/30=FLOOR(VAR1/30),VAR5,VAR5+2*VAR4,7,0), COLOR0000FF; VAR6:=1;VAR7:=REF(CLOSE-OPEN,2);VAR8:=REF(CLOSE,1);VAR9:=REF(CLOSE,2);VARA:=REF(CLOSE,3);VARB:=REF(CLOSE,4);VARC:=MAX(MAX(MAX(CLOSE,VAR8),VAR9),VARA);VARD:=MIN(MIN(MIN(CLOSE,VAR8),VAR9),VARA);红色持股: STICKLINE((CLOSE=VARC AND (VAR8>=VAR9 OR VAR8>=VARA)OR VAR8=VARC AND (VAR9=VARD OR VARA=VARD) ANDCLOSE>=VAR9 OR VAR9=VARC AND VARA=VARD AND CLOSE>=VAR8OR VARA=VARC AND CLOSE>=VAR8 ANDCLOSE>=VAR9)*VAR6,VAR8,CLOSE,5,1),COLORRED;品红变盘: STICKLINE((CLOSE=VARC ANDVAR8=VARD)*VAR6,VAR9,CLOSE,5,1),COLORYELLOW;黄色下跌: STICKLINE((CLOSE=VARD AND (VAR8<VAR9 OR VAR8<VARA) ORVAR8=VARD AND (VAR9=VARC OR VARA=VARC) AND CLOSE<VAR9 OR VAR9=VARD AND VARA=VARC AND CLOSE<VAR8 OR VARA=VARD AND CLOSE<VAR8 AND CLOSE<VAR9)*VAR6,VAR8,CLOSE,5,0),COLORYELLOW;绿色买: STICKLINE((VAR8=VARC ANDCLOSE=VARD)*VAR6,VAR9,CLOSE,5,0),COLORGREEN;STICKLINE((VAR8=VARD AND CLOSE>=VAR9 OR (VAR9=VARD AND VAR8<=VARA OR VARA=VARD AND VAR8<=VAR9) AND VAR9<VARB ANDCLOSE>=VAR8)*VAR6,VAR8,VAR9,5,0),COLORBLUE;兰色抛售: STICKLINE((VAR8=VARC AND CLOSE<VAR9 OR (VAR9=VARC ANDVAR8>VARA OR VARA=VARC AND VAR8>VAR9) AND VAR9>=VARB ANDCLOSE<VAR8)*VAR6,VAR8,VAR9,5,1),COLORBLUE;VARE:=SAR(5,1,5);VARF:=EMA(CLOSE,30);VAR10:=IF(CLOSE>450,8,IF(CLOSE>=20 AND CLOSE<150,0.2,IF(CLOSE<20 AND CLOSE>=10,0.07,IF(CLOSE<10,0.03,0.07))));变色龙: STICKLINE(CLOSE>VARE,VARF,VARF+VAR10,6,0),COLORWHITE; STICKLINE(CLOSE<VARE,VARF,VARF-VAR10,6,0), COLORCYAN ;STICKLINE(CROSS(CLOSE,VARE),VARF,VARF-VAR10,6,0)COLORMAGENTA; STICKLINE(CROSS(VARE,CLOSE)*VAR6,VARF,VARF+VAR10,6,0),COLORMAGENTA;STICKLINE((RANGE(DAY,6,9) ORRANGE(DAY,27,30))*VAR6,VARF+0.01,VARF-0.01,6,0),COLORMAGENTA; 生命线: FORCAST(CLOSE,30)*VAR6, CIRCLEDOT;支撑: MA(CLOSE,13)*0.955*VAR6;。
通达信指标公式源码 买卖监控 主图源码 无未来
MA5:MA(CLOSE,5);短趋势:MA(CLOSE,13),COLORRED,LINETHICK2;MA20:MA(CLOSE,20);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);MA120:MA(CLOSE,120);MA250:MA(CLOSE,250);AA10:=MA(CLOSE,8);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);VAR01:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);中期大底:=LLV(LOW,30),COLORCDFFBB;短底:=EMA(VAR01,5);支撑:=HHV(短底,60);压力1:=HHV(LOW,20),COLORFAABEC;中线:=MA(CLOSE,3);天:=(MA(LOW,15) * 0.985);人:=(MA(LOW,15) * 0.96);地:=(((HIGH + LOW) + CLOSE) / 3);B1:=HHV(地,(4 * 15));B6:=LLV(地,(4 * 15));B7:=(B1 - B6);B8:=(MA(((地- B6) / B7),2) * 80);VAR1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200); 飞龙顶底线1:=SMA(VAR1,3,1);VAR2:=SMA(飞龙顶底线1,3,1);VAR3:=((3 * 飞龙顶底线1) - (2 * VAR2));VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,5);VAR6:=(EMA((((CLOSE - VAR4) / (VAR5 - VAR4)) * 100),4) * 2);VAR7:=EMA(((0.667 * REF(VAR6,1)) + (0.333 * VAR6)),2);VAR8:=((3 * VAR6) - (2 * VAR7));VAR9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));VARA:=(POW(MA(LOW,5),2) + MA(LOW,5));VARB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));VARC:=(((((VAR9 - LLV(VARA,64)) / (HHV(VARB,64) - LLV(VARA,64))) * 150) + 65) - 10); VARD:=((SMA(VARC,3,1) * 1.5) - 100);VARE:=SMA(VARD,3,1);VARF:=((3 * VARD) - (2 * VARE));VAR10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);VAR11:=EMA(VAR10,13);VAR12:=STD(VAR10,13);VAR13:=(((VAR10 - VAR11) * 100) / VAR12);VAR14:=EMA(VAR13,5);VAR15:=EMA(VAR14,13);VAR16:=((EMA(VAR14,13) + 200) - 100);VAR17:=EMA(VAR16,10);VAR18:=((3 * VAR16) - (2 * VAR17));VAR19:=(((飞龙顶底线1 + VAR6) + VARD) + VAR16);VAR1A:=(((VAR2 + VAR7) + VARE) + VAR17);VAR1B:=(((VAR3 + VAR8) + VARF) + VAR18);VAR1C:=(((HIGH + LOW) + CLOSE) / 3);VAR1D:=((AMOUNT / VOL) / 100);VAR1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);VAR1F:=((VAR1C - MA(VAR1C,34)) / (0.015 * AVEDEV(VAR1C,34)));VAR21:=((((HIGH + LOW) + CLOSE) + VAR1C) / 4);VAR22:=EMA(VAR21,24);VAR23:=STD(VAR21,24);VAR24:=(((VAR21 - VAR22) / VAR23) * 100);VAR25:=((VAR1C - MA(VAR1C,24)) / (0.015 * AVEDEV(VAR1C,24)));VAR26:=EMA(VAR24,5);VAR27:=((VAR1D - MA(VAR1D,21)) / (0.015 * AVEDEV(VAR1D,21)));VAR28:=((VAR1E - MA(VAR1E,90)) / (0.015 * AVEDEV(VAR1E,90)));VAR29:=(((((((VAR28 + VAR27) + VAR26) + VAR25) + VAR1F) / 5) + 165) / 4);VAR2A:=(((((VAR19 + VAR1A) + (VAR1B * 30)) / 32) / 5) - 15);VAR2B:=(((VAR29 + VAR2A) / 2) / 1.1);VAR2C:=VAR2B;短线:=MA(VAR2C,26);UPPER:=(短线- (2 * STD(VAR2C,26)));XY:=MA(CLOSE,5);M80:=MA(CLOSE,80);短期底部:=(LLV(HIGH,30) * 0.93),COLOR0000FF;MA80:=LLV(HIGH,30);短期底部2:=SMA(CLOSE,2,1);趋势:=(MA(LOW,10) * 0.96);MAN:=(SMA(HIGH,21,2) * 1.05);上1:=(HHV(短底,60) * 0.92);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);RSV:=SMA(下档线,3,1);K:=SMA(RSV,3,1);D:=((3 * RSV) - (2 * K));J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR4P:=(((J + (2 * VAR2P)) + (3 * VAR3P)) / 6);VAR5P:=MA(VAR4P,3);VAR6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);RSV12:=SMA(VAR6P,3,1);K12:=SMA(RSV12,3,1);D12:=((3 * RSV12) - (2 * K12));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));压力位:=IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D)))),COLORFFFFFF; U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1)))));RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));RL4:=IF((LOW < RH5),D,REF(D,BARSLAST((LOW < RH5))));RL42:=IF((((LOW < RL1) AND (D > RL4)) AND (D > D24)),LOW,REF(LOW,BARSLAST((((LOW < RL1) AND (D > RL4)) AND (D > D24)))));长期底部:=LLV(HIGH,30),COLORFF0000;DRAWTEXT(FILTER(((((RL42 = J24) AND (CLOSE > OPEN)) AND (CLOSE > 长期底部)) AND (LOW <= J24)),20),(LOW - 0.12),'底成'),COLOR0EABFF;上:=(SMA(LOW,5,2) * 0.96);中:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1:=EMA(中,10);X2:=REF(X1,1);X3:=((REF(HIGH,1) + REF(LOW,1)) / 2);X4:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X5:=REF(CLOSE,1);X6:=((SMA(MAX((CLOSE - X5),0),7,1) / SMA(ABS((CLOSE - X5)),7,1)) * 100);X7:=CROSS(79,X6);X8:=FILTER(X7,4);X9:=MA(CLOSE,115);VAR001:=EMA(CLOSE,8);飞龙顶底线:=EMA(VAR001,20);VAR002:=CROSS(VAR001,飞龙顶底线);VAR003:=(VAR001 < MA(CLOSE,20));VAR004:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);VAR005:=SMA(VAR004,5,1);VAR006:=SMA(VAR005,8,1);VAR007:=(CROSS(VAR005,VAR006) AND (VAR006 < 5));VAR008:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR007);VAR009:=IF((CLOSE > 1000),VAR007,VAR008);VAR00F:=CROSS(X1,X2);MA115:=VAR00F;低买:=(VAR002 AND VAR003);黑码起步:=VAR009;DRAWTEXT((黑码起步> 0),(HIGH * 1.04),'逃命'),COLORFF0000;逃遁:=(SMA(HIGH,21,2) * 1.05);阻挡:=(SMA(LOW,21,2) * 0.94);DRAWTEXT((((((低买> 0) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 压力位)) AND (HIGH < X9)) AND ((X2 - REF(X2,1)) > 0)),LOW,'黑码'),COLORRED;DRAWTEXT((((((CROSS(VAR2C,短线) AND ((CLOSE - REF(HIGH,1)) > 0)) AND ((中线- REF(中线,1)) > 0)) AND (HIGH <= 压力1)) AND (CLOSE < MA20)) AND (LOW <= 中线)),(LOW - 0.06),'关注'),COLOR00FF00;DRAWTEXT((((CROSS(VAR2C,UPPER) AND (HIGH < 压力1)) AND ((XY - REF(XY,1)) > 0)) AND (HIGH < 支撑)),LOW,'买'),COLORFFFFFF;DRAWTEXT(FILTER(((((((LOW <= 天) AND (CLOSE >= MA20)) AND (HIGH < 压力1)) AND ((天- REF(天,1)) > 0)) AND (CLOSE < 压力1)) AND ((MA20 - REF(MA20,1)) > 0)),6),(LOW - 0.12),'全仓'),COLOR00FFFF;DRAWTEXT(FILTER((((((MA115 AND (CLOSE < 压力位)) AND ((人- REF(人,1)) > 0)) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 上1)) AND ((CLOSE / OPEN) > 1.03)),5),LOW,'●买'),COLOR93EE7D;DRAWTEXT(((((LOW <= 上) AND (HIGH >= 短期底部)) AND (CLOSE >= 长期底部)) AND ((CLOSE / OPEN) > 1.03)),(LOW - 0.08),'★抄底'),COLOR0000FF;DRAWTEXT(FILTER((((((B8 <= 1) AND (LOW <= 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= 中期大底)) AND (CLOSE >= 长期底部)),3),(LOW - 0.08),'短抄'),COLORA100FF;DRAWTEXT((((CROSS(D,0) AND (HIGH < 压力位)) AND (VAR5P <= (0 - 7))) AND (CLOSE < XY)),(LOW - 0.11),'半仓'),COLORFFFF00;DRAWTEXT(FILTER((((CROSS(趋势,趋) AND (HIGH < M80)) AND (HIGH < 压力1)) AND LLV(LOW,0)),10),LOW,'果断买'),COLOR668800;DRAWTEXT(FILTER(((CROSS(中线,人) AND (LOW <= 人)) AND (CLOSE >= 人)),4),(LOW - 0.06),'买'),COLOR00FF00;DRAWTEXT(((CROSS(阻挡,长期底部) AND (BB10 > 1)) AND (HIGH < 支撑)),LOW,'出击'),COLORRED;DRAWTEXT(FILTER((((((((MA20 - REF(MA20,1)) > 0) AND (HIGH < 支撑)) AND ((AA10 - REF(AA10,1)) > 0)) AND (HIGH < 压力1)) AND (VOL >= REF(VOL,1))) AND CROSS(CLOSE,MA20)),57),LOW,'突破生命线'),COLOR0000FF;DRAWTEXT(FILTER(((((LOW <= MA80) AND (CLOSE > MA80)) AND (CLOSE > OPEN)) AND (短期底部2 <= MA80)),8),LOW,'底'),COLORFFFF00;DRAWTEXT(((CROSS(MA20,压力位) AND (LOW <= MA20)) AND ((MA20 - REF(MA20,1)) > 0.02)),(LOW - 0.03),'●绝佳买点'),COLORAFA0AF;DRAWTEXT((((((((CROSS(CLOSE,MA20) AND (HIGH < 压力位)) AND (OPEN < MA20)) AND (HIGH < 支撑)) AND ((MAN - REF(MAN,1)) > 0)) AND ((X1 - REF(X1,1)) > 0)) AND (D < 63)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.05),'●大牛浮水'),COLORBLUE; DRAWTEXT(CROSS(MA(CLOSE,13),C) AND INDEXC>MA(INDEXC,13) AND MA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) AND MA(CLOSE,13)>MA(CLOSE,55) ,L*0.9,'买'),COLORRED,LINETHICK2;VAR011:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOS E,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VAR012:=HHV(VAR011>20,10);DRAWTEXT(FILTER(VAR011<-9 AND VAR011>REF(VAR011,1),18),L*0.9,'反弹'),COLORRED,LINETHICK2;DRAWTEXT(VAR011<-20 AND INDEXC<MA(INDEXC,13) AND FILTER(VAR011> REF(VAR011,1),5),L*0.93,'抄底'),COLORYELLOW,LINETHICK2;DRAWTEXT(VAR012 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),H*1.1,'危险'),COLORYELLOW;B36:=MA(CLOSE,3) - MA(CLOSE,6);B612:=MA(CLOSE,6) - MA(CLOSE,12);W:=((B36)/(CLOSE))*(10);J1:=((B612)/(CLOSE))*(10);DRAWTEXT((W < (-0.2)) AND (J1 < (-0.2)) AND CROSS(W,J1),(LOW)*0.93,'庄影'),COLORBROWN;EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);EMA120:=EMA(C,120);AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.04),'清仓'),COLORGREEN;LOCK:=1;M8:=EMA(CLOSE,8);VARP21:=EMA(短趋势,62);VARP22:=(CLOSE+HIGH+LOW)/3;VARP23:=EMA(VARP22,10)*LOCK;VARP24:=REF(VAR23,1)*LOCK;DRAWTEXT(AR6,L-0.25,'杏'),COLOR00CCFF;量价背离:=VAR15*40,STICK,COLORF5CCEB,LINETHICK2;DRAWTEXT(量价背离,HIGH * 1.02,'离'),COLORYELLOW;VAR60:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR61:=VARF<REF(VAR60,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);大资金:=(VAR61 AND COUNT(VAR61,30)=1);DRAWTEXT(大资金,LOW*0.85,'▲大资金');{做空}RSV11:=(C - LLV(LOW,27))/(HHV(HIGH,3) - LLV(LOW,27)) * 100;F := SMA(RSV11, 3, 1);K11 := SMA(F,3, 1);D11 := SMA(K11,3, 1);WAV:=3*K11-2*D11;A41:=IF(1,C,IF(C<REF(O,1) AND L<REF(L,1),L,C));A42:=IF(C<REF(L,1),L,A41);A43:=IF(H<REF(O,1),L,A42);A44:=IF(O<=REF(C,1) AND C<REF(O,1),L,A43);A:=IF(C<O AND O<REF(O,1) AND L<REF(L,1),L,A44);AJ1:=ATAN((A/REF(A,1)-1)*100)*180/3.1416;LJIAO:=ATAN((VOL/REF(VOL,1)-1)*100)*180/3.1416;DSLJ:=LJIAO>0 AND ABS(LJIAO-AJ1)<30;JIA5:=WAV-REF(WAV,4)>50;DSALE:=DSLJ AND (JIA5 OR WAV>90);涨幅:=(C-LLV(C,10))/LLV(C,10)*100;DING2:=涨幅>20;DING:=DSALE OR DING2;QSA:=(MA(C,60)-REF(MA(C,60),10))/REF(MA(C,60),10)*100;QS:=SMA(QSA,10,1);DS:=QS<-3 OR MA(C,60)<REF(MA(C,60),1);QC:=DS AND DING AND DING!=REF(DING,1);DRAWTEXT(QC,H*1.08,'◇做空'),COLORRED;{抢钱买入}RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K1:=SMA(RSV1,3,1);D1:=SMA(K1,3,1);J11:=3*K1-2*D1;X:=LLV(J11,2)=LLV(J11,8);VARR1:=LLV(LOW,10);VARR2:=HHV(HIGH,25);VARR3:=100*EMA((CLOSE-VARR1)/(VARR2-VARR1),4);DRAWTEXT(CROSS(J11,REF(J11+0.01,1)) AND X AND J11<20,LOW*0.95,'抢钱'),COLORRED;{加仓}MA10:=MA(CLOSE,10);五日乖离率:=(C-MA5)/MA5*100;BB05:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;SSR:=(C-MA30)/MA30*100,NODRAW;加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA5>REF(MA5,1) AND SSR>REF(SSR,1) AND MA10>REF(MA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;DRAWTEXT(加仓,LOW*0.98,'◆加仓'),COLORYELLOW;{时间窗,变盘}AA:=BARSCOUNT(C);AH:=HHV(H,200);AL:=LLV(L,200);A0:=(AH-AL)/40;B11:=L-A0;STICKLINE((AA+0)/34=FLOOR((AA+0)/34),B11,B11-1.5*A0,2,0),COLORF00FF0; DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),B11-1*A0,'时间窗,变盘'),COLORF00FF0; {出货}LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'●离开'),COLORRED;VARE1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR121:=(HIGH+LOW+CLOSE)/3;VAR131:=(VAR121-MA(VAR121,14))/(0.015*AVEDEV(VAR121,14));VAR141:=(VAR121-MA(VAR121,70))/(0.015*AVEDEV(VAR121,70));VAR171:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR181:=100-ABS(VAR171);VAR191:=IF(VAR181<90,VAR181,100);VAR1A1:=IF(VARE1>0,VARE1,0);VAR1B1:=IF(VAR141>=200 AND VAR131>=150,15,IF(VAR141<=-200 AND VAR131<=-150,-15,VAR16))+60;VAR1C1:=VAR1A1>48 AND VAR1B1>60 AND VAR191<100;DRAWTEXT(VAR1C1 AND COUNT(VAR1C1,30)=1,HIGH*1.02,'大笔出货'),LINETHICK1,COLORFFCC66;XXS:=MA(HIGH,5)*(1+5/100);DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR00FFFF;DRAWTEXT_FIX(1,0.00,0.06,0,'主题投资:')COLOR0000FF;DRAWTEXT_FIX(1,0.07,0.06,0,EXTERNSTR(0,1))COLOR0000FF; DRAWTEXT_FIX(1,0.00,0.10,0,'主营业务:')COLORFF00FF; DRAWTEXT_FIX(1,0.07,0.10,0,EXTERNSTR(0,2))COLORFF00FF; DRAWTEXT_FIX(1,0.00,0.14,0,'出千概念:')COLORFF88FF; DRAWTEXT_FIX(1,0.07,0.14,0,EXTERNSTR(0,3))COLORFF88FF; DRAWTEXT_FIX(1,0.00,0.18,0,'愚民主题概念:'),COLOR00FFFF; DRAWTEXT_FIX(1,0.09,0.18,0,EXTERNSTR(0,4)),COLOR00FFFF;。
通达信指标公式源码 黄柱红柱底 选股源码 无未来
用法:当日K线出现黄柱就买进,是激进型的做法当日K线上先出现黄柱后隔天再出现红柱就坚决追进。
当然了指标不是万能的,但没有指标是不能的。
AA:=C<3;MM:=3>REF(3,1) AND REF(3,1)<REF(3,2) ;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) ORREF(C,1)>=REF(C,3))OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);{收盘价=4日内收盘价的最高值AND 昨收>=2日前的收盘价}VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值AND 昨收=4日内收盘价的最低值}VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) ORREF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);{收盘价=4日内收盘价的最低值AND (昨收<2日前的收盘价}VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);{昨收=4日内收盘价的最低值AND 收盘价>=2日前的收盘价}VAR5:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);{昨收=4日内收盘价的最高值AND 收盘价<2日前的收盘价}VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6); VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND CROSS(VAR9,MA(VAR9,2)))=1,5);VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND CROSS(MA(VAR9,2),VAR9))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));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;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR4;买3:=(VAR14 OR VAR15) AND VAR2;买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);黄柱:(金叉AND VAR4) OR (金叉AND VAR2) OR (金叉ANDVAR11),NODRAW,COLORYELLOW;STICKLINE(金叉,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000066;DRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 黄柱AND MM,LOW-0.05,15); DRAWICON(死叉OR CROSS(50,VAR9) AND AA AND K>50,HIGH+0.01,2);X1:=(C+L+H)/3;BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;EMA3:=EMA(C,3);VAR81:=1;VAR82:=((((2*CLOSE)+HIGH)+LOW) / 4);低金叉进:=20;高死叉出:=90;VAR84:=LLV(LOW,5);VAR85:=HHV(HIGH,4);C1:=(EMA((((VAR82-VAR84)/(VAR85-VAR84))*100),4)*VAR81);C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR81);条件1:=CROSS(C1,C2) AND C1<40;条件0:=CROSS(C2,C1) AND C1>90;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);底R:CROSS(C1,C2) AND REF(C1,1)<20,NODRAW,COLORLIMAGENTA;TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;DRAWTEXT(条件0,H*1.02,'S'),COLORWHITE;DRAWTEXT(底R,L*0.98,'┇底'),COLORLIMAGENTA;DRAWTEXT(TJ4 AND AA,H*1.02,'逃');STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,2,0),COLORRED;红柱:((C-REF(C,1))/REF(C,1)>0.095),NODRAW,COLORRED;水平面:=EMA(CLOSE,89);AAA:=(3*C+H+L+O)/6;短趋:=(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;中趋:=(LLV(短趋,2)+LLV(短趋,4)+LLV(短趋,6))/3;TTJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>短趋;立桩量:=FILTER(TTJ1,5);TTJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));突破:=TTJ2=1;TTJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));三天:=TTJ3=1;成立:=三天AND 突破;VAR90:=((((HHV((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE ,12)-EMA(DCLOSE,26)),9)))*2),4)<0) AND((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2)>REF((((EMA(DCLOSE,12) -EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1))) AND (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)- EMA(DCLOSE,26)),9)))*2),1)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))- (EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2))) AND(REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(D CLOSE,26)),9)))*2),3)));DRAWTEXT(VAR90 AND MM,L*0.98,'买'),COLORRED;。
通达信指标公式源码强势选股 无未来
强势选股无未来DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0);A1:=CROSS("MACD.DIF","MACD.DEA");A2:=CROSS("KDJ.K","KDJ.D") AND "KDJ.K"<30;A3:="I"<-90 AND "I">-100;A4:=CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"<50;A5:=REF("WR.WR1",1)>90 AND "WR.WR1"<80;A6:=CROSS("BIAS.BIAS1",-3);A7:=REF("DMI.PDI",1)<REF("DMI.MDI",1) AND REF("DMI.PDI",1)<REF("DMI.ADX",1) AND REF("DMI.PDI",1)<REF("DMI.ADXR",1) AND "DMI.PDI">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND "DMI.PDI">"DMI.ADXR";A8:=CROSS("MFI.MFI",20) AND REF("MFI.MFI",1)<20;MTM:=CLOSE-REF(CLOSE,12);MAMTM:=MA(MTM,6);A9:=CROSS(MTM,MAMTM);{OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;MADKX:=MA(DKX,10);}A10:="ADTM.ADTM"<-0.5;{OR CROSS(OSC,MAOSC) OR CROSS(DKX,MADKX);}AA1:=A1 AND A2 AND A3;AA2:=A1 AND A2 AND A4;AA3:=A1 AND A2 AND A5;AA4:=A1 AND A2 AND A6;AA5:=A1 AND A2 AND A7;AA6:=A1 AND A2 AND A8;AA7:=A1 AND A2 AND A9;AA8:=A1 AND A2 AND A10;AA9:=A1 AND A3 AND A4;AA10:=A1 AND A3 AND A5;AA11:=A1 AND A3 AND A6;AA12:=A1 AND A3 AND A7;AA13:=A1 AND A3 AND A8;AA14:=A1 AND A3 AND A9;AA15:=A1 AND A3 AND A10;AA16:=A1 AND A4 AND A5;AA17:=A1 AND A4 AND A6;AA18:=A1 AND A4 AND A7;AA20:=A1 AND A4 AND A9; AA21:=A1 AND A4 AND A10; AA22:=A1 AND A5 AND A6; AA23:=A1 AND A5 AND A7; AA24:=A1 AND A5 AND A8; AA25:=A1 AND A5 AND A9; AA26:=A1 AND A5 AND A10; AA27:=A1 AND A6 AND A7; AA28:=A1 AND A6 AND A8; AA29:=A1 AND A6 AND A9; AA30:=A1 AND A6 AND A10; AA31:=A1 AND A7 AND A8; AA32:=A1 AND A7 AND A9; AA33:=A1 AND A7 AND A10; AA34:=A1 AND A8 AND A9; AA35:=A1 AND A8 AND A10; AA36:=A1 AND A9 AND A10; AA37:=A2 AND A3 AND A4; AA38:=A2 AND A3 AND A5; AA39:=A2 AND A3 AND A6; AA40:=A2 AND A3 AND A7; AA41:=A2 AND A3 AND A8; AA42:=A2 AND A3 AND A9; AA43:=A2 AND A3 AND A10; AA44:=A2 AND A4 AND A5; AA45:=A2 AND A4 AND A6; AA46:=A2 AND A4 AND A7; AA47:=A2 AND A4 AND A8; AA48:=A2 AND A4 AND A9; AA49:=A2 AND A4 AND A10; AA50:=A2 AND A5 AND A6; AA51:=A2 AND A5 AND A7; AA52:=A2 AND A5 AND A8; AA53:=A2 AND A5 AND A9; AA54:=A2 AND A5 AND A10; AA55:=A2 AND A6 AND A7; AA56:=A2 AND A6 AND A8; AA57:=A2 AND A6 AND A9; AA58:=A2 AND A6 AND A10; AA59:=A2 AND A7 AND A8; AA60:=A2 AND A7 AND A9; AA61:=A2 AND A7 AND A10; AA62:=A2 AND A8 AND A9;AA64:=A2 AND A9 AND A10; AA65:=A3 AND A4 AND A5; AA66:=A3 AND A4 AND A6; AA67:=A3 AND A4 AND A7; AA68:=A3 AND A4 AND A8; AA69:=A3 AND A4 AND A9; AA70:=A3 AND A4 AND A10; AA71:=A3 AND A5 AND A6; AA72:=A3 AND A5 AND A7; AA73:=A3 AND A5 AND A8; AA74:=A3 AND A5 AND A9; AA75:=A3 AND A5 AND A10; AA76:=A3 AND A6 AND A7; AA77:=A3 AND A6 AND A8; AA78:=A3 AND A6 AND A9; AA79:=A3 AND A6 AND A10; AA80:=A3 AND A7 AND A8; AA81:=A3 AND A7 AND A9; AA82:=A3 AND A7 AND A10; AA83:=A3 AND A8 AND A9; AA84:=A3 AND A8 AND A10; AA85:=A3 AND A9 AND A10; AA86:=A4 AND A5 AND A6; AA87:=A4 AND A5 AND A7; AA88:=A4 AND A5 AND A8; AA89:=A4 AND A5 AND A9; AA90:=A4 AND A5 AND A10; AA91:=A4 AND A6 AND A7; AA92:=A4 AND A6 AND A8; AA93:=A4 AND A6 AND A9; AA94:=A4 AND A6 AND A10; AA95:=A4 AND A7 AND A8; AA96:=A4 AND A7 AND A9; AA97:=A4 AND A7 AND A10; AA98:=A4 AND A8 AND A9; AA99:=A4 AND A8 AND A10; AA100:=A4 AND A9 AND A10; AA101:=A5 AND A6 AND A7; AA102:=A5 AND A6 AND A8; AA103:=A5 AND A6 AND A9; AA104:=A5 AND A6 AND A10; AA105:=A5 AND A7 AND A8; AA106:=A5 AND A7 AND A9;AA108:=A5 AND A8 AND A9;AA109:=A5 AND A8 AND A10;AA110:=A5 AND A9 AND A10;AA111:=A6 AND A7 AND A8;AA112:=A6 AND A7 AND A9;AA113:=A6 AND A7 AND A10;AA114:=A6 AND A8 AND A9;AA115:=A6 AND A8 AND A10;AA116:=A6 AND A9 AND A10;AA117:=A7 AND A8 AND A9;AA118:=A7 AND A8 AND A10;AA119:=A7 AND A9 AND A10;AA120:=A8 AND A9 AND A10;XG:=AA1 OR AA2 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7 OR AA8 OR AA9 OR AA10 OR AA11 OR AA12 OR AA13 OR AA14 ORAA15 OR AA16 OR AA17 OR AA18 OR AA19 OR AA20 OR AA21 OR AA22 OR AA23 OR AA24 OR AA25 OR AA26 OR AA27 ORAA28 OR AA29 OR AA30 OR AA31 OR AA32 OR AA33 OR AA34 OR AA35 OR AA36 OR AA37 OR AA38 OR AA39 OR AA40 ORAA41 OR AA42 OR AA43 OR AA44 OR AA45 OR AA46 OR AA47 OR AA48 OR AA49 OR AA50 OR AA51 OR AA52 OR AA53 ORAA54 OR AA55 OR AA56 OR AA57 OR AA58 OR AA59 OR AA60 OR AA61 OR AA62 OR AA63 OR AA64 OR AA65 OR AA66 ORAA67 OR AA68 OR AA69 OR AA70 OR AA71 OR AA72 OR AA73 OR AA74 OR AA75 OR AA76 OR AA77 OR AA78 OR AA79 ORAA80 OR AA81 OR AA82 OR AA83 OR AA84 OR AA85 OR AA86 OR AA87 OR AA88 OR AA89 OR AA90 OR AA91 OR AA92 ORAA93 OR AA94 OR AA95 OR AA96 OR AA97 OR AA98 OR AA99 OR AA100 OR AA102 OR AA103 OR AA104 OR AA105 ORAA106 OR AA107 OR AA108 OR AA109 OR AA110 OR AA112 OR AA113 OR AA114 OR AA115 OR AA116 OR AA117 ORAA118 OR AA119 OR AA120;XG,COLORF0F0F0,LINETHICK3;。
【通达信】一个超准的顶底指标公式,绝对好用(副图、说明、无未来)
【通达信】一个超准的顶底指标公式,绝对好用(副图、说明、无未来)说明:1看图出信时,按提示买卖。
非常简单。
{[local]1[/local]}强弱分界: 50, POINTDOT;VAR2:=IF(MONTH<12,1,1);VAR3:=(2*CLOSE+HIGH+LOW)/4;VAR4:=LLV(LOW,34);VAR5:=HHV(HIGH,34);主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13)*VAR2,LINETHICK2,COLORRED;散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK1,COLORFF9933;DRAWTEXT(CROSS(主力,散户) AND 主力<20,20,低点),LINETHICK2,COLORWHITE;DRAWICON(CROSS(主力,散户) AND 主力<20,21,1);DRAWTEXT(CROSS(主力,67) AND 散户<主力,58,冲高),LINETHICK2,COLOR9966FF;DRAWICON(CROSS(主力,67) AND 散户<主力,70,2);DRAWTEXT(CROSS(主力,76) AND 散户<主力,68,小心被套),LINETHICK2,COLOR669900;DRAWICON(CROSS(主力,76) AND 散户<主力,80,2);DRAWTEXT(CROSS(散户,主力) AND 散户>78,80,卖出),COLORWHITE;DRAWTEXT(CROSS(主力,散户) AND 主力<16,45,买入),COLORFFFF00;买入脉冲:IF(CROSS(主力,散户) AND 主力<16,40,5),LINETHICK2,COLORYELLOW;卖出脉冲:IF(CROSS(散户,主力) AND 散户>78,75,90),LINETHICK2,COLORGREEN;BB1:=WINNER(CLOSE)*100;BB2:=100-BB1;BB3:=ABS(BB1-BB2);[本帖最后由清风海浪于2017-2-26 21:49 编辑]股票论坛。
通达信公式精准抄底逃顶无未来指标(源码)
通达信公式精准抄底逃顶无未来指标(源码)
D 1: =L L V(L ,34); D2:=SM A(ABS(L-REF(L,1)),34,1); D3:=SM A(M AX(L-REF(L,1),0),34,2); DD:=-(EM A(IF(L<=D1,D2/D3,-3),9)),STICK,COLORRED,LINETHICK1; F 1: =L L V(L ,8); F2:=SM A(ABS(L-REF(L,1)),34,1); F3:=SM A(M AX(L-REF(L,1),0),34,2); A:=-(EM A(IF(L<=F1,F2/F3,-3),9)),COLORYELLOW,LINETHICK1; A1: =IF (A<0,A,0),STICK ,COL OR G R E E N ,L IN E TH ICK 1; DRAWICON(REF(A,1)<0 AND REF(A,2)>REF(A,1) AND A>REF(A,1),0,34); A2:IF(FILTER(REF(A,1)<0 AND REF(A,2)>REF(A,1) AND A>R E F (A,1),3),2.6,0),COL OR G R E E N ,L IN E TH ICK 3,STICK ; XG:=FILTER(REF(A,1)<0 AND REF(A,2)>REF(A,1) AND A>REF(A,1),3); DRAWICON(XG ,1.0,9); DRAWICON(XG ,1.35,9); DRAWICON(XG ,1.7,9); DRAWICON(XG ,2.05,9); DRAWICON(XG ,2.45,9); VAR 1: =(H IGH + L OW+ OP E N + 2* CL OSE )/5; VAR2:=REF(VAR1,1); VAR3:=SM A((CLOSE-VAR2),6,1)/SM A(ABS(CLOSE-VAR2),6,1)*100; VAR 4: =(CL OSE -R E F (OP E N ,29))/R E F (OP E N ,29)* 100; VAR5:=EM A(0.667*REF(VAR4,1)+0.333*VAR4,5); VAR6:=IF(VOL>=1.3*M A(VOL,5) AND COUNT(VAR4>=VAR5 AND VAR4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0); VAR7:=SM A(M AX(CLOSE-REF(C,1),0),6,1)/SM A(ABS(CLOSEREF(C,1)),6,1)*100; M C:(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR CR OSS(82,VAR 7),5))* 2,COL OR CYAN ,L IN E TH ICK 3,STICK ; DRAWICON(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR CROSS(82,VAR7),5),2.3,35); DRAWICON(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR CROSS(82,VAR7),5),1.8,2); DRAWTEXT(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR CROSS(82,VAR7),5),1.8,'-卖');
通达信95%成功率抄底指标无未来函数
通达信95%成功率抄底指标无未来函数95%成功率抄底指标无未来函数合了13个高成功率指标!不同的背景下,选择合适的股票选择合适的买点是关键。
多个信号配合使用,效果奇佳,经测试20天10%成功率都在90%以上。
机械使用指标买入者责任自负。
选股可以使用选股=0.5 使用。
源码{97-425}VAR1:=(C-MA(C,50))/MA(C,50)*100<-23;VAR2:=SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100>16;VAR3:=100*(HHV(H,27)-C)/(HHV(H,27)-LLV(L,27));A97:VAR1 AND VAR2 AND CROSS(VAR3,79) AND (O>C OR O<C) AND(O-REF(C,1))/REF(C,1)<0.05 AND V>MA(V,23) AND DATE>940630,COLORWHITE ;{97-520}MA3:=MA(C,3);C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;BOT:=MIN(C0,C1);HSL:=100*V/CAPITAL;MA13:=MA(C,13);B97:IF((C-BOT)/C<6/100 AND SUM(HSL,5)/5<1.8 AND WINNER(C)*100<0.1,1,0)AND (C-MA(C,20))/MA(C,20)*100<-23,COLORYELLOW;{98-2348}VAR9:=INDEXC;VARB:=MA(VAR9,24);VARC:=MA(VAR9,32);VARD:=MA(VAR9,62);VARE:=MA(VAR9,105);VARF:=VARD<REF(VARD,1) AND VARE<REF(VARE,1) AND VARD<VARE*0.98;VAR10:=VARC>VARA*1.11 AND VARB>VARA*1.095;VAR11:=VARA>VAR9*0.95;DARA:=(C-MA(C,28))/MA(C,28)*100<-23;A98:(DARA AND VAR2 AND CROSS(VAR3,79) AND (O>C OR O<C) AND(O-REF(C,1))/REF(C,1)<0.05 AND V>MA(V,23) OR VARF AND VAR10 ANDVAR11 AND C/COST(8)<=0.8 AND COUNT(C>O OR C<O,2)=2) ,COLORRED;{B97-3074}VARA1:=C/MA(C,48)*100<67;VARA2:=C/MA(C,50)*100<69;VARA3:=H>L*1.078;VARA4:=VARA3 AND COUNT(VARA3,4)>2;C97:VARA4 AND (VARA1 OR VARA2) OR VARF AND VAR10 ANDVAR11 AND C/COST(8)<=0.8 AND COUNT(C>O OR C<O,2)=2,COLORGREEN;{98-2436}YAR1:=PWINNER(1,C);YAR2:=FORCAST(YAR1,10);YAR3:=MA(YAR2,3);YAR4:=MA(YAR3,12);YAR6:=MA(YAR5,31);YAR7:=MA(YAR6,55);YAR8:=YAR6<REF(YAR6,1) AND YAR7<REF(YAR7,1) AND YAR6<YAR7*0.98;YAR9:=YAR5>YAR3*1.11 AND YAR4>YAR3*1.095;YARA:=YAR3>YAR2*0.95;YAR11:=VARD<VARE*0.97;YAR14:=IF(H=L AND C=O AND L=C AND C>0 ANDREF(H,1)=REF(L,1) AND REF(C,1)=REF(O,1) ANDREF(H,1)=REF(C,1) AND REF(C,1)>0,0,1)>0;B98:(YAR11 AND VAR10 AND VAR11 AND C/COST(8)<=0.799 AND(COUNT(C=L,4)<3 OR C>REF(C,1)) AND YAR14 OR YAR8 AND YAR9AND YARA AND C/COST(5)<=0.8 AND YAR2<>O ANDREF(YAR2,1)<>REF(O,1) AND YAR14),COLOR6699FF;{96}AA:=("1A0001$CLOSE"/REF("1A0001$CLOSE",20)-1)*100<-16AND (C/REF(C,27)-1)*100<-35 ;A96:FILTER(AA ,3 ),COLORBLUE;{98}VBR1:=(REF(C,2)-REF(C,1))/REF(C,2)>0.05;VBR2:=(REF(C,3)-REF(C,2))/REF(C,3)>0.05;VBR3:=REF(H,2)-REF(H,1);VBR4:=REF(H,1)-VBR3;VBR5:=V/CAPITAL*100;VBR6:=1-(VBR5<15 AND (H-L)/C>0.045 AND C>VBR4 AND VBR1 AND VBR2 AND C>O AND MA(C,60)-MA(C,9)/2.68>C);VBR7:=VBR6;C98:CROSS(0.5,VBR7),COLOR99CCFF;{98}VBR11:=REF(O,1)<REF(O,2);VBR12:=REF(C,1)<REF(C,2);VBR13:=REF(L,1)<REF(L,2);VBR14:=O>REF(C,1) AND O/REF(C,1)>=1.1;VBR15:=C>O AND C/O>1.03;D98: VBR11 AND VBR12 AND VBR13 AND VBR14 AND VBR15,COLORFFFF33;{96-150}VBR16:=AMOUNT;VBR17:=IF(H*V<=VBR16,(L+H)/2*V*100,VBR16);VBR18:=IF(C<200,VBR17/V/100,(H+L)/2);VBR19:=MA(C,70)-MA(C,10)/2.5;VBR20:=MA(C,60)-MA(C,10)/2.5;VBR21:=MA(C,50)-MA(C,10)/2.36;VBR22:=MA(VBR17,12)/1.39;VBR23:=MA(VBR17,12)/1.09;VBR24:=MA(VBR17,5);VBRA:=MA(VBR22,360)/5.2;VBRB:=MA(VBR17,150)/2;VBRC:=MA(VBR22,360)/3.8;E96:(CROSS(VBR22,VBRA) AND C<VBR19 OR CROSS(VBR23,VBRB)AND C<VBR20 OR CROSS(VBR24,VBRC) AND C<VBR21) ,COLOR009933;{98}VBR41:=1;VAR13:=V/CAPITAL;REC1:=REF(C,1);VBR42:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,50,0);VBR43:=(-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))+100;VBR44:=(-100)*(HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))+100;VBR45:=(-100)*(HHV(H,70)-C)/(HHV(H,70)-LLV(L,70))+100;VBR46:=((C-MA(C,34))/MA(C,34)*100+10)*5;VBR47:=((C-MA(C,50))/MA(C,50)*100+10)*5;VBR48:=((C-MA(C,70))/MA(C,70)*100+10)*5;VBR49:=(VBR43+VBR44+VBR45+VBR46+VBR47+VBR48)/6;VBR60:=EMA(VBR49,3);VBR61:=ABS(VBR46-VBR48);VBR62:=(VBR49+VBR61)/2;VBR63:=(-1)*(EMA(100*(1-WINNER(C)),1)-50)+50;VBR64:=VBR63+VBR62;VBR65:=IF(VBR42>0 AND VBR64<0,200,0);VBR50:=IF(VBR62<0 AND C=LLV(C,5) AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,-50,0);VBR51:=IF(VBR64<0 AND VBR50=-50,100,0);VBR52:=MA(C,3);VBR53:=REF(C,2)*0.865;VBR54:=REF(C,13)*0.772;VBR55:=MIN(VBR53,VBR54);VBR56:=100*VAR13;VBR57:=MA(C,13);VBR58:=IF((C-VBR55)/C<0.03 AND SUM(VBR56,5)/5<1.8,1,0);VBR59:=IF(VBR58>0 AND (VBR50<0 OR VBR42>0),100,0);VBR1A:=VBR59;VBR1B:=IF(VBR65>0 AND VBR51>0 ANDSUM(VAR13*100,5)/5<1 OR VBR58>0 AND REC1/REF(C,2)>0.902 OR (VBR65>0 AND VBR51>0 AND SUM(VAR13*100,5)/5<1 OR VBR58>0) AND (VBR50<0 OR VBR42>0) AND VBR59<10,50,0);VBR1C:=(VBR65>0 AND VBR51>0 AND SUM(VAR13*100,5)/5<1 OR VBR58>0) AND (VBR50<0 OR VBR42>0);VBR1D:=VBR65>0 AND VBR51>0 AND SUM(VAR13*100,5)/5<1 OR VBR58>0 AND REC1/REF(C,2)>0.902;VBR1E:=VBR1C OR VBR1D;VBR1F:=MA(C,80)-MA(C,10)/2.5;F98:VBR1A AND C<VBR1F*VBR41,COLORMAGENTA;{AA--99-594 }VR3:=INDEXC;VR4:=MA(VR3,8);VR5:=MA(VR3,22);VR6:=MA(VR3,28);VR7:=MA(VR3,73);VR8:=MA(VR3,106);VR9:=VR7<REF(VR7,1) AND VR8<REF(VR8,1) AND VR7<VR8*0.98;VRA:=VR6>VR4*1.11 AND VR5>VR4*1.095;VRB:=VR4>VR3*0.95;VRC:= VR9 AND VRA AND VRB AND C/COST(8)<=0.8 AND (C>O OR C<O) AND(REC1>REF(O,1) OR REC1<REF(O,1));A99: VRC,COLOR009999;CBR26:=REF(C,1);ABR1:=DMA(C,V/MA(V,4)/4);ABR2:=DMA(C,V/MA(V,31)/31);ABR3:=(C-ABR1)/ABR1*100<-10;ABR4:=(ABR1-ABR2)/ABR2*100<-16;ABR5:=ABR3 AND ABR4;ABR6:=(C-MA(C,50))/MA(C,50)*100<-23;ABR7:=SMA(MAX(C-CBR26,0),3,1)/SMA(ABS(C-CBR26),3,1)*100>16;ABR8:=100*(HHV(H,27)-C)/(HHV(H,27)-LLV(L,27));ABR9:=INDEXC;ABRA:=MA(ABR9,6);ABRB:=MA(ABR9,24);ABRC:=MA(ABR9,32);ABRD:=MA(ABR9,62);ABRE:=MA(ABR9,105);ABRF:=ABRD<REF(ABRD,1) AND ABRE<REF(ABRE,1) AND ABRD<ABRE*0.98;ABR10:=ABRC>ABRA*1.11 AND ABRB>ABRA*1.095;ABR11:=ABRA>ABR9*0.95;A95:ABR5 AND (O>C OR O<C) AND(O-CBR26)/CBR26>-0.07 AND REF(COUNT(C>O OR C<O,6)=6,1)=1 OR ABR6AND ABR7 AND CROSS(ABR8,79) AND (O>C OR O<C) AND (O-CBR26)/CBR26<0.05 AND V>MA(V,23) OR ABRF ANDABR10 AND ABR11 AND C/COST(8)<=0.8 AND COUNT(C>O OR C<O,2)=2,COLORFF99CC;{B95}UAR13:=EMA(SLOPE(C,3)*20+C,66)*1;UAR14:=MA(C,80)-MA(C,10)/2.9;DQR1:=MA(C,80)-MA(C,13)/3;DQR2:=MA((C-DQR1)/DQR1,1);DQR3:=EMA(DQR2,12)*0.7;DQR4:=EMA(DQR2,3);底部将成:=IF(LLV(DQR4-DQR3,12)>0,0,-3);下降通道:=MA(C/2/(MA(C/2,30)*0.83),3)<1.045 AND REF(C,9)*0.8>O;ZAA1:=MA(C,18);ZAA2:=(C-ZAA1)/ZAA1*100;ZAA3:=MA(ZAA2,1);ZAA4:=BARSLAST(CROSS(-10,ZAA3)=1);ZAA5:=BARSLAST(CROSS(ZAA3,10)=1);信号滤:=IF(ZAA3<-10 AND ZAA4>=5,ZAA3,0)*1;DQSE:=(IF(WINNER(1.1*C)<0,0,WINNER(1.1*C))-IF(WINNER(0.9*C)<0,0,WINNER(0.9*C)))*100;DQS16:=IF(DQSE<0,0,DQSE);DQS17:=MA(C,35)-MA(C,5)/7;异动:=PWINNER(10,DQS16)<0.5 AND C<DQS17;C95:C<UAR14 AND V/240>MA(V,5)/240 AND UAR13>REC1*1.08 ANDUAR13<MA(UAR13,13)*1.91 AND 底部将成AND 下降通道AND 信号滤 AND 异动,COLOR33FFCC;{}选股:(A97 OR B97 OR A98 OR C97 OR B98 OR A96 OR C98 OR D98 OR E96 OR F98 OR A99 OR A95 OR C95)/2;。
通达信指标公式源码 最牛的抄底追涨公式 无未来
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);最佳买入:=(AV + NEWVOL);最佳买入选股:=IF(CROSS(最佳买入,0),1,0),STICK,COLORRED;VAR1:=SMA(最佳买入选股,3,1);VAR2:=SMA(VAR1,3,1),COLOR0000FF;VAR3:=SMA(VAR2,3,1),COLOR00FFFF;建仓买点:IF(CROSS(VAR2,VAR3) AND (VAR2<40),5,0*10000),COLOR0000FF,LINETHICK2;STICKLINE(建仓买点,0,2.5,8,0),COLORRED;STICKLINE(建仓买点,0.45,4.0,2,0),COLORRED;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);最佳买入时机: IF(CROSS(J,3),1,0),STICK,COLORFFFF00;STICKLINE(最佳买入时机,0,1,3,0),COLOR009999;STICKLINE(最佳买入时机,0,1,2,0),COLOR00DDDD;STICKLINE(最佳买入时机,0,1,1,0),COLOR00FFFF;机构建仓: IF(最佳买入<5,-0.2,0),STICK,COLOR00FF00,LINETHICK1;机构建仓日:STICKLINE(机构建仓,0,-0.2,3,0),COLOR00FF00,LINETHICK6;获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,0,1,0),COLOR0000FF; RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:SMA(RSV9,3,1);DK1:K1-REF(K1,1);出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORYELLOW;DRAWICON(出手就赢>0,50 ,1);DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'抄底'),COLORWHITE ;。
通达信指标公式源码底部确认 抄底的好指标 无未来
底部确认抄底的好指标无未来A:=LLV(L,34);XD:=SMA(ABS(L-REF(L,1)),34,1);CD:=SMA(MAX(L-REF(L,1),0),34,2);收盘买:=-(EMA(IF(L<=A,XD/CD,-3),9));抢反弹:收盘买<0 AND 收盘买>REF(收盘买,1) AND REF(EVERY(收盘买<REF(收盘买,1),3),1),COLORYELLOW;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;X2:=LLV(J,2)=LLV(J,8);B:CROSS(J,REF(J +0.01,1)) AND X2 AND J<20 AND 收盘买<0 AND 收盘买>REF(收盘买,1),COLORRED;B2:CROSS(J,REF(J+0.01,1)) AND X2 ANDJ<20,COLORMAGENTA;DRAWTEXT(B2,0.35,'★关注★'),COLOR109090;B3:=抢反弹AND REF(B2,1);DRAWBAND(B2,RGB(255,100,30),B3,RGB(255,20,20));DRAWTEXT(B3,0.45,'★不买更后悔★');B4:=抢反弹AND REF(B2,1)OR REF(B2,2);DRAWTEXT(B3,0.35,'★反弹确认★'),COLORYELLOW;STICKLINE(B3,0,0.43,2,0),COLORYELLOW;STICKLINE(B,0,0.43,2,0),C OLORRED;DRAWTEXT(B,0.35,'★不买后悔★'),COLORRED;B8:=REF((CROSS(J,REF(J+0.01,1)) AND X2 AND J<20),2) AND 抢反弹;DRAWTEXT(B8,0.8,'★阶段底部确认★'),COLORYELLOW;DRAWBAND(B2,RGB(255,100,50),B8,RGB(255,30,30));STICKLINE(B2, 0,0.36,2,0),COLOR109090;STICKLINE(B2 ANDREF(PSY<=10,1),0,0.68,2,0),COLOR801090;DRAWTEXT(B2 AND REF(PSY<=10,1),0.68,'★买点★'),COLOR801090;STICKLINE(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0,0.18,2,0)COLOR801090;DRAWTEXT(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0.18,'阶段底部低吸★'),COLOR801090;STICKLINE(B2 AND REF(RSI<=20,1),0,0.10,2,0),COLOR900000;。
通达信指标公式源码 主图源码 说明 无未来
PT:=REF(HIGH,1)-REF(LOW,1);CDP:=(HIGH + LOW + CLOSE)/3;买1:CDP+PT,COLORBLUE,DOTLINE;买2:CDP-PT,COLORFF00FF,DOTLINE;卖1:2*CDP-LOW,COLORYELLOW,DOTLINE;卖2:2*CDP-HIGH,DOTLINE;近高值:=IF(买1>卖1,卖1,买1);近低值:=IF(买2<卖2,卖2,买2);DRAWTEXT(ISLASTBAR,H,'近高值'),COLORRED ; DRAWNUMBER(ISLASTBAR,C,近高值),COLORGREEN; DRAWTEXT(ISLASTBAR,L,'近低值'),COLORRED ; DRAWNUMBER(ISLASTBAR,O,近低值),COLORYELLOW; AA:=(C-REF(C,1))/REF(C,1)*100;DRAWTEXT(AA<-5,H,'★'),COLORWHITE; DRAWNUMBER(AA<-5,O,L)COLORFF00FF;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR00FFFF;{黄色} STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORFF00FF;{粉红色} DRAWICON(VAR19,REF(CLOSE,1)*0.99,1);DRAWICON(VAR1A,REF(CLOSE,1)*1.01,2);DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.01,0,'===¥短线利器,低吸高抛¥==='),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.08,0,'===¥聚沙成塔,绝无深套¥==='),COLORFF6EC7;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.8,0,'【爱你=爱我温馨提示】===¥在黄色价位附近低吸?¥==='),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.85,0,'【爱你=爱我温馨提示】===¥在绿色价位附近高抛?¥==='),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.9,0,'【爱你=爱我温馨提示】===¥在粉红色价位附近逃命?¥==='),COLORFF00FF;。
通达信指标公式源码最牛的抄底追涨公式无未来
通达信指标公式源码最牛的抄底追涨公式无未来抄底追涨实战公式DEFDRAWICON(T1,T2,SHORT):REF(L,T1)>REF(LLV(L,T2),T1)ANDREF(L,T1)<REF(HHV(H,T2),T1)ANDC<REF(O,T1)ANDC>REF(C,T1)ANDC=HHV(H,T1)ANDC<REF(HHV(H,T2),T1)ANDSHORT>REF(MA(C,SHORT),T1)?1:01,DEFDRAWICON(T1,T2,SHORT)定义函数使用3个参数,T1,T2,SHORT。
2,REF(L,T1),取最近T1日内的最低价;3,REF(LLV(L,T2),T1),取最近T1日内,T2日内的最低价的最低价;4,REF(L,T1)>REF(LLV(L,T2),T1),判断最近T1日内的最低价是否大于最近T1日内,T2日内的最低价的最低价;5,REF(L,T1)<REF(HHV(H,T2),T1),判断最近T1日内的最低价是否小于最近T1日内,T2日内的最高价的最高价;6,C<REF(O,T1),判断当日收盘价是否小于最近T1日开盘价;7,C>REF(C,T1),判断当日收盘价是否大于最近T1日收盘价;8,C=HHV(H,T1),判断当日收盘价是否等于最近T1日内的最高价;9,C<REF(HHV(H,T2),T1),判断当日收盘价是否小于最近T1日内,T2日内的最高价的最高价;10,SHORT>REF(MA(C,SHORT),T1),判断当日SHORT均线是否大于最近T1日内当日SHORT均线;11,?1:0,符合上述条件就返回1,否则返回0。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
底部确认抄底的好指标无未来
A:=LLV(L,34);XD:=SMA(ABS(L-REF(L,1)),34,1);CD:=SMA(MAX(L-REF(L,1),0),34,2);收盘买:=-(EMA(IF(L<=A,XD/CD,-3),9));抢反弹:收盘买<0 AND 收盘买>REF(收盘买,1) AND REF(EVERY(收盘买<REF(收盘
买,1),3),1),COLORYELLOW;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;X2:=LLV(J,2)=LLV(J,8);B:CROSS(J,REF(J +0.01,1)) AND X2 AND J<20 AND 收盘买<0 AND 收盘买>REF(收盘
买,1),COLORRED;B2:CROSS(J,REF(J+0.01,1)) AND X2 AND
J<20,COLORMAGENTA;DRAWTEXT(B2,0.35,'★关注★'),COLOR109090;B3:=抢反弹AND REF(B2,1);DRAWBAND(B2,RGB(255,100,30),B3,RGB(255,20,20));DRAWTEXT(B3,0.45,'★不买更后悔★');B4:=抢反弹AND REF(B2,1)OR REF(B2,2);DRAWTEXT(B3,0.35,'★反弹确认★
'),COLORYELLOW;STICKLINE(B3,0,0.43,2,0),COLORYELLOW;STICKLINE(B,0,0.43,2,0),C OLORRED;DRAWTEXT(B,0.35,'★不买后悔★
'),COLORRED;B8:=REF((CROSS(J,REF(J+0.01,1)) AND X2 AND J<20),2) AND 抢反
弹;DRAWTEXT(B8,0.8,'★阶段底部确认★
'),COLORYELLOW;DRAWBAND(B2,RGB(255,100,50),B8,RGB(255,30,30));STICKLINE(B2, 0,0.36,2,0),COLOR109090;STICKLINE(B2 AND
REF(PSY<=10,1),0,0.68,2,0),COLOR801090;DRAWTEXT(B2 AND REF(PSY<=10,1),0.68,'★买点★'),COLOR801090;STICKLINE(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0,0.18,2,0)COLOR801090;DRAWTEXT(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0.18,'阶段底部低吸★'),COLOR801090;STICKLINE(B2 AND REF(RSI<=20,1),0,0.10,2,0),COLOR900000;。