量底结合指标!附图+选股!无未来!通达信指标公式源码
无未来 实战指标通达信指标公式源码
无未来实战指标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;。
通达信指标公式源码 量价相合数着来炒股 副图 无未来
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));主动:=SUM(主动买盘,0)/SUM(主动卖盘,0)*-1;低主5:=LLV(主动,5);动比:=主动-低主5;高动5:=6/HHV(动比,5);主动心:=高动5*动比;K1:=主动心+1-REF(主动心,1)>0;K2:=主动心+1-REF(主动心,1)<0;主动心向:=主动心*K1-主动心*K2;{下面是量价了相合}FF:=CLOSE-REF(CLOSE,1);A:=MA(VOL*FF,2);A0:=MA(VOL*FF,3);A1:=MA(VOL*FF,5);A2:=MA(VOL*FF,10);A3:=MA(VOL*FF,20);A4:=MA(VOL*FF,30);B:=A-REF(A,1);B0:=A0-REF(A0,1);B1:=A1-REF(A1,1);B2:=A2-REF(A2,1);B3:=A3-REF(A3,1);B4:=A3-REF(A4,1);量价相合:(B>0)+(B0>0)+(B1>0)+(B2>0)+(B3>0)+(B4>0);YES:(量价相合>1)*量价相合*(主动心向>1 OR 主动心>60);IF(YES>=REF(YES,1),量价相合,DRAWNULL),COLORGREEN,LINETHICK2;IF(YES>=REF(YES,1),YES,DRAWNULL),COLORRED,LINETHICK2;周期1:IF(YES,BARSLAST(CROSS(YES,0.1))+1,0),COLORFF00FF,POINTDOT,LINETHICK5; 5,COLORGREEN;。
炒股必备利器 副图选股指标 不加密 无未来通达信指标公式源码
撩股必备利器副图/选股指标不加密无未来炒股是零和博弈,任何指标都仅仅是博弈的参照辅助工具,但博弈的时候瞬息万变,指标又可以提高选股和决策的效率。
在世界杯看球之余,分享我在博弈过程中参照所用的一自编指标,希望对需要的人有所帮助。
年线是个重要的位置,当股价回踩年线的时候往往有较大支撑力,所以年线是我炒股博弈中不可或缺的一个参照点,为此编写了此指标。
为更好的交流,特做如下说明:一、原理:当股价回踩年线的时候发出预警(选股),然后决策是否买入。
为了提高回踩支撑的有效性,加了几个条件:1、上次上穿年线距回踩之日超过22天(指标中用M变量,范围10天---60天,默认22天,可调);2、月MACD 大于0且周DIF、周DEA均在零轴之上;3、昨日最低价距年线差小于8%;4、回踩之日的年线大于上次上穿之日的年线。
当同时符合上面四个条件且开盘价在年线之上,现价触发距年线小于0.5%的时候发出预警。
年线在指标中用N变量,范围20日均---250日均,默认250日均,可调,具体的M、N数值挡配留给大家去摸索,如果有更好的能提高有效性的条件留待爱好者优化。
二、买点:买入采用左侧或右侧交易由操作者的操作习惯和波长(超短、短、波段)决定,我个人操作的时候,偏好左侧交易。
但有一点注意的时,买价距年线不要过远,这是为了失败的时候损失尽可能的少,以小博大。
三、止损止盈:任何时候止损和止盈是相对应的,止损决定止盈,当你只愿意付出1%的损失,却想着20%以上的利润,其难度之大可想而知。
这也是很多亏损炒股者的通病,即贪心又输不起。
不管你做什么波长,一定要记得止损必须小于止盈目标的二分之一,并且要严格。
买点买卖点卖是理想化且不好量化,在我看来止盈止损的设置是由操作者本身的操作波长决定的。
超短:3%以上止盈、破年线半小时收不回找分时反抽点止损或小盈止盈或三天内无条件止盈止损。
波段:10%以上止盈,破年线3天之内收不回找反抽高点止损或小盈止盈,亏损5%无条件止损。
通达信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;。
通达信源码公式指标软件通达信【财神到】主图指标公式 无未来
通达信【财神到】主图指标公式无未来{财神到匘===无未来函数}N:=(27,1,100);N1:=(7,1,100);N2:=(19,1,100);HH:=HHV(H,10);LL:=LLV(L,10);AA:=SMA(C,13,2);DRAWTEXT(ISLASTBAR=1 AND AA>REF(AA,1) AND REF(AA,1)<REF(AA,2) AND REF(AA,2)<REF(AA,3),HH,'激进买入'),COLORRED;DRAWTEXT(ISLASTBAR=1 AND AA>REF(AA,1) ANDREF(AA,1)>REF(AA,2),HH,'激进持股'),COLOR0066FF;DRAWTEXT(ISLASTBAR=1 AND AA<REF(AA,1) ANDREF(AA,1)>REF(AA,2),HH,'激进卖出'),COLORGREEN;A1:=MA(C,13);ZX:=REF(A1,13/2+1);DRAWTEXT(ISLASTBAR=1 AND CROSS(C,ZX),LL,'稳健买入'),COLORRED; DRAWTEXT(ISLASTBAR=1 AND C>ZX AND REF(C,1)>REF(ZX,1),LL,'稳健持股'),COLOR0066FF;DRAWTEXT(ISLASTBAR=1 AND C<ZX AND REF(C,1)>REF(ZX,1),LL,'稳健卖'),COLORGREEN;VAR1111:=FORCAST(CLOSE,5);VAR1:=1;平衡线:=(EMA(EMA(EMA(HIGH,3),3),1) * VAR1);VAR2:=(平衡线* 0.85);临界线:WMA(CLOSE,10),LINETHICK2,COLORRED;VAR1A:=POW((CLOSE - 临界线),1);VAR2A:=MA(VAR1A,3);VAR3A:=SQRT(VAR2A);支撑线:=(临界线- (1.96 * VAR3A));IF((临界线< REF(临界线,1)),临界线,DRAWNULL),LINETHICK2,COLORFFFFFF; VAR1Z:=(((CLOSE - OPEN) / OPEN) * 100);VAR2Z:=REF(CLOSE,1);VAR3Z:=((SMA(MAX((CLOSE - VAR2Z),0),6,1) / SMA(ABS((CLOSE -VAR2Z)),6,1)) * 100);VAR4Z:=(COUNT((VAR3Z < 20),20) >= 1);DRAWTEXT(((VAR1Z > 9) AND VAR4Z),LOW,'★屠龙'),LINETHICK4,COLORFFFFDD;JJJ:=(((CLOSE + HIGH) + LOW) / 3);AAA:=EMA(JJJ,3);BBA:=REF(AAA,1);持股:DRAWICON((AAA > BBA),L*0.99,11);VAR3:=REF(CLOSE,1);VAR4:=REF(CLOSE,2);VAR5:=REF(CLOSE,3);VAR6:=REF(CLOSE,9);VAR7:=HHV(CLOSE,9);VAR8:=LLV(CLOSE,9);VARC:=(((VAR3 = VAR8) AND (CLOSE >= VAR4)) OR ((((VAR4 = VAR8) AND (VAR3 <= VAR5)) AND (VAR4 < VAR6)) AND (CLOSE >= VAR3)));黄色买入:STICKLINE(VARC,(VAR3 * 0.94),(VAR4 * 0.94),25,16),COLORFFFFFF; VAR1B:=((REF(HIGH,1) + REF(LOW,1)) / 2);VAR2B:=((REF(HIGH,1) + REF(LOW,1)) / 2);VAR3B:=(MA(CLOSE,N) + (2 * STD(CLOSE,N)));DRAWICON(CROSS(VAR2B,VAR3B),(HIGH * 1.035),15);DRAWTEXT(CROSS(VAR2B,VAR3B),(HIGH * 1.02),'卖出'),COLORFF00EE; VAR4B:=REF(CLOSE,1);VAR5B:=((SMA(MAX((CLOSE - VAR4B),0),N1,1) / SMA(ABS((CLOSE -VAR4B)),N1,1)) * 100);VAR6B:=CROSS(N2,VAR5B);VAR7B:=FILTER(VAR6B,4);A7:=((((2 * CLOSE) + HIGH) + LOW) / 4);VAR10:=LLV(LOW,34);VAR11A:=HHV(HIGH,34);SK:=EMA((((A7 - VAR1B) / (VAR2B - VAR1B)) * 100),7);SD:=EMA(((0.667 * REF(SK,1)) + (0.333 * SK)),5);DRAWTEXT(IF((((((COUNT((CLOSE < REF(CLOSE,1)),8) / 8) > (6 / 10)) AND (VOL >= (1.5 * MA(VOL,5)))) AND COUNT((SK >= SD),3)) AND (REF(LOW,1) = LLV(LOW,120))),1,0),LOW,'●买进'),COLOR99FFEE;DRAWTEXT(IF((((((((((COUNT((CLOSE < REF(CLOSE,1)),13) / 13) > (6 / 10)) AND COUNT((SK > SD),6)) AND (REF(LOW,5) = LLV(LOW,120))) ANDREF((CLOSE >= OPEN),4)) AND REF((CLOSE > OPEN),3)) AND REF((CLOSE > OPEN),2)) AND REF((OPEN > CLOSE),1)) AND (OPEN >REF(CLOSE,1))),1,0),LOW,'●买进2'),COLORFFFFDD;VAR12:=(MA(CLOSE,80) - (MA(CLOSE,10) / 3));DRAWTEXT(IF(((((CLOSE < VAR12) AND ((VOL / 240) > (MA(VOL,5) / 240))) AND (CLOSE > (REF(CLOSE,1) * 1.08))) AND (CLOSE < (MA(CLOSE,13) *1.3))),1,0),LOW,'●抄底'),COLORFFFFDD;VAR11:=(((((2 * CLOSE) + OPEN) + HIGH) + LOW) / 5);M8:=VOL;主力:=(SUM((VAR11 * M8),3) / SUM(M8,3));散户:=主力;M1:=LLV(散户,5);M5:=(SUM((VAR11 * M8),1) / SUM(M8,1));M13:=(SUM((VAR11 * M8),5) / SUM(M8,5));M21:=(SUM((VAR11 * M8),13) / SUM(M8,13));Y:=(SUM((VAR11 * M8),21) / SUM(M8,21));U1:=M5;U3:=M13;XX1:=M21;C5:=((U3 > 散户) AND (散户> XX1));C8:=IF((C5 > 0),LLV(U3,5),HHV(散户,5));C13:=IF((C5 > 0),LLV(散户,8),HHV(散户,5));VAR1118:=IF((C5 > 0),LLV(XX1,13),HHV(散户,5));M1A:=LLV(散户,20);DRAWTEXT((M1A = REF(M1A,1)),M1A,'┬'),LINETHICK5,COLORCC33FF; DRAWTEXT(((REF(M1A,1) < REF(M1A,2)) AND (M1A = REF(M1A,1))),L*0.97,'★'),COLORFFEEDD;{STICKLINE((CLOSE < OPEN),HIGH,LOW,1,0),COLOR8800;STICKLINE((CLOSE < OPEN),HIGH,LOW,0,0),COLORFF00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,8,0),COLOR8800;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,7,0),COLOR9900;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,6,0),COLORAA00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,5,0),COLORBB00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,4,0),COLORCC00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,3,0),COLORDD00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,2,0),COLOREE00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,1,0),COLORFF00;STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),COLORFF;STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),COLOREEFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),COLORFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),COLOR22FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),COLOR44FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),COLOR66FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),COLOR88FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),COLORAAFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),COLORCCFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),COLOREEFF;}VAR22:=((LLV(LOW,3) = LLV(LOW,3)) AND (CLOSE >= (OPEN * 1.04))); VAR333:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR44:=(VAR22 AND VAR333);VAR55:=BARSLAST(VAR333);VAR66:=BARSLAST(VAR44);VAR77:=IF((VAR66 > 0),(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100),0); VAR88:=SUM(VAR77,1);VAR93:=IF((VAR55 > 3),(0 - 2),0);DRAWICON(((REF(VAR93,1) = (0 - 2)) AND (VAR93 = 0)),LOW*0.96,1); DRAWICON(((REF(VAR93,1) = (0 - 2)) AND (VAR93 = 0)),LOW*0.98,23); {====}XA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);YA:=EMA(CLOSE,10);DRAWTEXT(CROSS(YA,XA),(LOW * 0.95),'←安全C级'),COLORRED;VAR1C:=LLV(LOW,21);VAR2C:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1C) / (VAR2C - VAR1C)) * 100),5);AK:=EMA((((CLOSE - VAR1C) / (VAR2C - VAR1C)) * 50),13);DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);VAR3C:=LLV(LOW,55);VAR4C:=HHV(HIGH,34);VAR5C:=EMA((((CLOSE - VAR3C) / (VAR4C - VAR3C)) * 100),3);VAR6C:=((AK + VAR5C) / 2);VAR7C:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);VAR8C:=EMA(VAR6C,5);BB:=EMA(((0.667 * REF(VAR8C,1)) + (0.333 * VAR8C)),2);AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,BB) AND (BB < 30));CD:=(BB1 * 0.6);DRAWTEXT((CD = 0.6),(LOW * 0.95),'←安全A级'),COLORGREEN; DRAWTEXT((AB = 1),(LOW * 0.97),'←安全B 级'),COLOR33CC99,COLORYELLOW;{====}压力:MA(REF(HHV(C,30),1),2),COLORGREEN;支撑:MA(REF(LLV(C,30),1),2),COLORRED;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFF6600; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.7,0 ),COLORFF7700; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.6,0 ),COLORFF9900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 ),COLORFFBB00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.4,0 ),COLORFFCC00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.3,0 ),COLORFFDD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFEE00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFFF00;{立体柱子:红色}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.8,0) ,COLOR000033; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.6,0) ,COLOR000066; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0) ,COLOR000099; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.3,0) ,COLOR0000BB; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;VAR9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(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);红持:VAR9Q,COLOR0000FF,LINETHICK0;{立体柱子:红色}STICKLINE(VAR9Q,C,(O+C)/2,2.8,0),COLOR000044;STICKLINE(VAR9Q,C,(O+C)/2,2.7,0),COLOR000055;STICKLINE(VAR9Q,C,(O+C)/2,2.6,0),COLOR000066;STICKLINE(VAR9Q,C,(O+C)/2,2.5,0),COLOR000077;STICKLINE(VAR9Q,C,(O+C)/2,2.4,0),COLOR000099;STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR0000DD;STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000FF;VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);粉变:VARAQ,COLORFF99FF,LINETHICK0;STICKLINE(VARAQ,C,(O+C)/2,2.8,0),COLORFF11FF;STICKLINE(VARAQ,C,(O+C)/2,2.7,0),COLORFF22FF;STICKLINE(VARAQ,C,(O+C)/2,2.6,0),COLORFF33FF;STICKLINE(VARAQ,C,(O+C)/2,2.5,0),COLORFF55FF;STICKLINE(VARAQ,C,(O+C)/2,2.4,0),COLORFF77FF;STICKLINE(VARAQ,C,(O+C)/2,2.3,0),COLORFF99FF;STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFFBBFF;STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFFDDFF;VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(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);银灰跌:VARBQ,COLOR888888,LINETHICK0;{立体柱子:银色}STICKLINE(VARBQ,C,(O+C)/2,2.8,0),COLOR333333;STICKLINE(VARBQ,C,(O+C)/2,2.7,0),COLOR444444;STICKLINE(VARBQ,C,(O+C)/2,2.6,0),COLOR555555;STICKLINE(VARBQ,C,(O+C)/2,2.5,0),COLOR777777;STICKLINE(VARBQ,C,(O+C)/2,2.4,0),COLOR999999;STICKLINE(VARBQ,C,(O+C)/2,2.3,0),COLORBBBBBB;STICKLINE(VARBQ,C,(O+C)/2,2,0),COLORDDDDDD;STICKLINE(VARBQ,C,(O+C)/2,1,0),COLORFFFFFF;VARCQ:=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);绿买:VARCQ,COLOR00FF00,LINETHICK0;{立体柱子:绿色}STICKLINE(VARCQ,O,(O+C)/2,2.8,0),COLOR004400;STICKLINE(VARCQ,O,(O+C)/2,2.6,0),COLOR005500;STICKLINE(VARCQ,O,(O+C)/2,2.5,0),COLOR007700;STICKLINE(VARCQ,O,(O+C)/2,2.4,0),COLOR009900;STICKLINE(VARCQ,O,(O+C)/2,2.3,0),COLOR00BB00;STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR00DD00;STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR00FF00;VARDQ:=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);蓝抛:VARDQ,COLORFF9900,LINETHICK0;{立体柱子:深蓝色}STICKLINE(VARDQ,O,(O+C)/2,2.8,0),COLORFF1100;STICKLINE(VARDQ,O,(O+C)/2,2.6,0),COLORFF3300;STICKLINE(VARDQ,O,(O+C)/2,2.5,0),COLORFF5500;STICKLINE(VARDQ,O,(O+C)/2,2.4,0),COLORFF7700;STICKLINE(VARDQ,O,(O+C)/2,2.3,0),COLORFF9900;STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFFBB00;STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFFDD00;{立体柱子:金色}ZDF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.8,0),COLOR004444;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.7,0),COLOR005555;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.6,0),COLOR006666;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.5,0),COLOR007777;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.4,0),COLOR009999;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.3,0),COLOR00BBBB;STICKLINE(ZDF>9.8,OPEN,CLOSE,2,0),COLOR00DDDD;STICKLINE(ZDF>9.8,OPEN,CLOSE,1,0),COLOR00FFFF;Z:=(CLOSE > REF(CLOSE,1));XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);XL3:=CROSS(XL2,(0 - 20));DRAWTEXT((XL3 > 0),(LOW - 0.2),'←绝对底部');VAR2S:=(2*CLOSE+HIGH+LOW)/4;VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4S:=LLV(LOW,5);VAR5S:=HHV(HIGH,4);散户C:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;XX:=EMA(0.667*REF(散户C,1)+0.333*散户C,2)*VAR3S;DRAWTEXT(CROSS(散户C,XX) AND 散户C<30,L-0.05,'←吸'),COLORRED; VAR1R:=LLV(LOW,2)=LLV(LOW,16) AND CLOSE>=OPEN*1.04;VAR2R:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR3R:=VAR1R AND VAR2R;DRAWTEXT(VAR3R,LOW,'-→逢低买入'),COLORFFFFEE;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.99),'←---大胆搏'),COLORYELLOW;SHORT1:=12;LONG1:=26;M:=9;DIFF:=EMA(CLOSE,SHORT1)-EMA(CLOSE,LONG1);DEA:=EMA(DIFF,M);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;DRAWTEXT(低位金叉,L*0.92,'*低位金叉'),COLORF00FF0;SHORT:=12;LONG:=26;A1C:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(A1C=2,21)=1; DRAWTEXT(二次金叉,L*0.90,'*二次金叉'),COLORYELLOW;QC:=REF(CLOSE,1);RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);YX:=((CLOSE>QC) AND C>O);D1:=REF(D,1);DRAWTEXT((((D1<30) AND CROSS(K,D)) AND YX),(LOW * 0.96),'*短买!'),COLORYELLOW;VAR4A:=EMA(CLOSE,3);DRAWTEXT(COUNT(REF(VAR4A,1)<REF(VAR4A,2),5)=5 ANDVAR4A>REF(VAR4A,1),L*0.96,'出拳'),COLORRED;DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4; DRAWTEXT(CROSS(DA-DB,0),L*0.98,'★B'),COLORMAGENTA;AA1:=MA(C,5);BB1C:=MA(C,15);AF:=CROSS(AA1,BB1C);DRAWTEXT(AF,LLV(L,4),'止损线'),COLORYELLOW;。
通达信公式指标源码软件珍藏超底部(无未来!)
通达信公式指标源码软件珍藏超底部(无未来!)A1:=DATE <= 1070615;A2:=(100 * (CLOSE - (MA(CLOSE,30)))) / (MA(CLOSE,30));A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) - (LLV(LOW,20))));A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) -(LLV(LOW,6)))),28));A5:=MA(A4,6);红持股:IF((A3 <A5),A5,A3),COLORRED;绿持币:IF((A3 >A5),A5,A3),COLORGREEN;强弱:(A5),LINETHICK1,COLORYELLOW;A6:=(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)));A7:=(10);百万测底:((CROSS(A6,A7)) * 75) *A1,LINETHICK2,COLOR0000FF;A8:=(REF(CLOSE,1)) / CLOSE;A9:=MIN((MA(((AMOUNT / VOL) / 100),15)),(EMA(((AMOUNT / VOL) / 100),15)));A10:=((1 - ((SMA(((LOW * A8) - (A8 / 10)),6,1)) / (EMA(((AMOUNT / VOL) /100),15)))) * 100) - (100 / 10);A14:=EMA(CLOSE,8);A15:=EMA(A14,20);A16:=CROSS(A14,A15);A17:=A14 < (EMA(CLOSE,120));大波黑马起步:((A16 AND A17) * 75) *A1,LINETHICK2,COLORYELLOW;A18:=SUM((IF((CLOSE > (REF(CLOSE,1))),VOL,(IF((CLOSE < (REF(CLOSE,1))),(0- VOL),0)))),0);A23:=((SUM(AMOUNT,13)) / ((AMOUNT / VOL) / 100)) / 100;A24:=DMA((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7),(VOL / A23));A25:=(((CLOSE - A24) / A24) * 100) < -15;A26:=((CLOSE - (MIN(((REF(CLOSE,5)) * 0.865),((REF(CLOSE,21)) * 0.772)))) /CLOSE) < 0.05;A27:=REF(LOW,1);A28:=((SMA(ABS((LOW - A27)),3,1)) / (SMA((MAX((LOW - A27),0)),3,1))) * 100;A29:=EMA((IF((CLOSE * 1.2),(A28 * 10),(A28 / 10))),3);A30:=LLV(LOW,38);A31:=HHV(A29,38);A32:=IF((LLV(LOW,90)),1,0);A33:=((EMA((IF((LOW <= A30),((A29 + (A31 * 2)) / 2),0)),3)) / 618) * A32;(STICKLINE(A33,0,A33,6,1)) ,COLORBLUE;底部不买你后悔:(IF((A25 ANDA26),60,0)) * A1;LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);R:=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) / R);MDI:=((DMM * 100) / R);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);0,COLORFF00FF;WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));NEWVOL:=(RSI5 - WR10);阶段底部:=(AV + NEWVOL);STICKLINE((阶段底部 >= 0),0,阶段底部,1,0),COLORCC6600;STICKLINE((阶段底部 < 0),0,阶段底部,4,0),COLORRED;趋势线:LLV(阶段底部,1),COLORFFFFFF;STICKLINE((趋势线 >230 ),250,趋势线,4,0),COLORGREEN;230,COLORFFFFFF;风险提示:本指标公式仅作为知识分享,不构成任何投资建议,投资有风险,交易需谨慎。
通达信指标公式源码 铁底+主图(无未来)
H1:EMA(C,8);H2:EMA(H1,20);DRAWBAND(H1,RGB(150,10,10),H2,RGB(10,150,10));学:=EMA(AMOUNT/VOL/100,3);控盘成本:=EMA(学,88),LINETHICK2;低吸伏击:EMA(学,88)*0.85,LINETHICK1,COLORFFFF00;走势铁底:低吸伏击*0.87,LINETHICK1,COLORFF00FF;{ m}白色: SMA(HIGH,21,2)*1.05,COLORWHITE;黄色:= SMA(LOW,21,2)*0.95,COLORYELLOW;粉色:= SMA(LOW,5,1),COLORMAGENTA;绿色: SMA(CLOSE,2,1),COLORGREEN,LINETHICK2;领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色),COLORYELLOW;发:=(CLOSE*2+HIGH+LOW)/4*10;孙:=EMA(发,13)-EMA(发,34);金1:=EMA(孙,5);顺:=2*(孙-金1)*5.5;主力拉:=IF(CLOSE<0,0,IF(顺>=0,顺,0)),LINETHICK2,COLOR0000FF;底部1:=7.0,COLOR70DB93;前抢:REF(C,BARSLAST(CROSS(主力拉,底部1))),COLOR00FF00,POINTDOT; DRAWTEXT(CROSS(主力拉,底部1),H,'抢'),COLORYELLOW;STICKLINE(C,前抢,前抢,8,0)LINETHICK2,COLORCYAN;黑马起飞线:EXPMA(CLOSE,89),COLORYELLOW,LINETHICK1; DRAWKLINE(H,O,L,C);突破:=REF(EMA(C,14),1);下轨:=SMA(LOW,21,2)*0.95,CIRCLEDOT,COLORFF6600;SQS:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1)),COLORF F99FF,LINETHICK3;做:=CROSS(SQS,突破);STICKLINE(做,L,下轨,1,0),COLORWHITE;DRAWTEXT(CROSS(SQS,突破) AND 白色>REF(白色,1),下轨,'再'),COLORYELLOW;AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=DVOL*DCLOSE/100;净流入万元:=(AAA2-AAA3-0.5*AAA4);PM:=MA(净流入万元,1);PMA:=PM/REF(PM,1)>1;PMB:=REF(PMA,1)<1 AND PMA;密码:=(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;二日比:=密码/REF(密码,1);选股:=PMB AND 密码>REF(密码,1) AND 二日比>1,COLORRED,NODRAW; DRAWNUMBER(选股=1 AND 白色>REF(白色,1) ,L,C),COLORYELLOW;DRAWICON(选股,L*0.975,1);MAV:=(C*2+H+L)/4;SK := EMA(MAV,1) - EMA(MAV,40);SD := EMA(SK,5);B:=(SK-SD)*100;猛牛拉升:=IF(B<-20,-20,IF(B>100,100,B)),COLORRED,LINETHICK2;STICKLINE(猛牛拉升>=10,O,C,3,0),COLORYELLOW;QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LO W),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ *(HIGH-LOW),0-VOL/2)));HSL:=(XVL/20)/1.15;攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(攻击流量,15);STICKLINE(猛牛拉升>=10 AND 0<LLJX<200,O,C,3,0),COLORYELLOW;STICKLINE(猛牛拉升>=10 AND LLJX>=200,O,C,3,0),COLOR208FFF;RSV1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;RSV2:=(CLOSE-LLV(LOW,39))/(HHV(HIGH,39)-LLV(LOW,39))*100;短跳:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,28),COLOR00FF00;中跳:=SMA(RSV2,6,1)+2*STD(CLOSE,39),COLORRED;RSV3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;长跳:=SMA(RSV3,6,1),COLORYELLOW;探试底:STICKLINE(中跳<17,走势铁底,走势铁底*0.96,3,0),COLORF00FF0;黄金坑:STICKLINE(短跳<28 AND 中跳<28 AND 长跳<28,走势铁底,走势铁底*0.98,3,0),COLOR00CCFF;探顶:STICKLINE(中跳>80,走势铁底,走势铁底*0.98,3,0),COLORFFF000;DRAWTEXT(CROSS(短跳,长跳)AND 长跳<18 AND 长跳>REF(长跳,1)OR CROSS(长跳,6),走势铁底,'道');DRAWTEXT(CROSS(短跳,长跳)AND 长跳<18 AND 长跳>REF(长跳,1)OR CROSS(长跳,6),走势铁底*0.99,'▲'),COLORRED;。
通达信非常好用非常准确无未来的主图指标公式
通达信⾮常好⽤⾮常准确⽆未来的主图指标公式VAR1:=(C+H+O+L)/4;卖出:=XMA(VAR1,20)*(1+80/1000),POINTDOT,COLORGREEN,LINETHICK3;买⼊:=XMA(VAR1,32)*(1-100/1000),POINTDOT,COLORMAGENTA,LINETHICK3;幅度:=100*(卖出-买⼊)/买⼊,NODRAW;菩提:=买⼊+(卖出-买⼊)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};般:=XMA(CLOSE,7);若:=MEMA(CLOSE,3);全绿K:=LONGCROSS(若,般,3) AND H>菩提;RSVL:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;KL:=SMA(RSVL,3,1);DL:=SMA(KL,3,1);KKL:=SMA(RSVL,3,1);DD:=SMA(KL,3,1);NL:=KKL+DD;买⼊L:=DRAWICON(CROSS(NL,50),50,1),COLORRED;卖出L:=DRAWICON(CROSS(160,NL),160,2),COLORGREEN;卖出K:=CROSS(160,NL);TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);T1M:=V;SL1M:=(TM/REF(TM,1)-1)*1000;趋势5:=XMA(XMA(XMA(SL1M,20),20),20),COLORYELLOW;趋势6:=XMA(XMA(XMA(SL1M,10),10),10),COLORMAGENTA;QA9:=趋势6-趋势5;QA10:=EMA(QA9,89);买⼊M:=(QA9-QA10)*2,COLORSTICK;M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34),COLORBLUE,LINETHICK2;MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);VAR1A1H:=(REF(CLOSE,1)-REF(ATR,1));买线1:=REF(EMA(C,14),1)COLORWHITE,LINETHICK3;卖线1:=IF(MC1>MAX(MC2,MA4),MC1,IF(MC1<MIN(MC2,MA4),MC2,MA4)),COLORFF00CC,LINETHICK3;⾼1:=REF(HHV(H,150),3);低1:=REF(LLV(L,150),3);STICKLINE(买线1>=卖线1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR001050; STICKLINE(买线1<卖线1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR404050;STICKLINE(买⼊M>=0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORRED;STICKLINE(买⼊M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORGREEN;STICKLINE(买⼊L,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORYELLOW;STICKLINE(卖出K AND 买⼊M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORCYAN;多空趋势彩带:DRAWBAND(SMA(C,6.5,1),RGB(255,97,0),SMA(C,13.5,1),RGB(0,128,0));中线:=(卖出+买⼊)/2,POINTDOT,COLORWHITE,LINETHICK4;MA5:=MA(C,5),COLOR000099;MA10:=MA(C,10),COLOR006600;MA20:=MA(C,20),COLOR005555;ZB1:=EMA(C,34);{ 原为55或65 }长期趋势:EMA(ZB1,13),COLORRED,LINETHICK3;{原为34或55}STICKLINE(C>=REF(C,1),O,C,3,1),COLOR000000;STICKLINE(C<REF(C,1),O,C,3,1),COLOR000000;AA3:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);AA2:= EMA(CLOSE,14)>EMA(CLOSE,15)AND EMA(CLOSE,15)>EMA(CLOSE,20) AND EMA(CLOSE,20)>EMA(CLOSE,30) ANDEMA(CLOSE,30)>EMA(CLOSE,60) AND EMA(CLOSE,60)>EMA(CLOSE,90)AND EMA(CLOSE,90)>EMA(CLOSE,120) AND EMA(CLOSE,120)>EMA(CLOSE,250);A1:= AA2 AND AA3;A2:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);B1:=IF(A1,1,2);VAR1MZ:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));VAR2MZ:=((REF(VAR1MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR3MZ:=((REF(VAR2MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR4MZ:=((REF(VAR3MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR5MZ:=((REF(VAR4MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR6MZ:=((REF(VAR5MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR7MZ:=((REF(VAR6MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR8MZ:=((REF(VAR7MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR9MZ:=((REF(VAR8MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARAMZ:=((REF(VAR9MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARBMZ:=((REF(VARAMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARCMZ:=((REF(VARBMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); {红K}STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) ORVAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),L,H,0,0),COLOR0000DD;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) ORVAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),3,0),COLOR000099;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) ORVAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),2,0),COLOR0000BB;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) ORVAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),1,0),COLOR0000DD;VARDMZ:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));VAREMZ:=((REF(VARDMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARFMZ:=((REF(VAREMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR10MZ:=((REF(VARFMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR11MZ:=((REF(VAR10MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR12MZ:=((REF(VAR11MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR13MZ:=((REF(VAR12MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR14MZ:=((REF(VAR13MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR15MZ:=((REF(VAR14MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR16MZ:=((REF(VAR15MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR17MZ:=((REF(VAR16MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR18MZ:=((REF(VAR17MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));{绿K}STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),3 ,0 ),COLOR00BB00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),2 ,0 ),COLOR00DD00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),1 ,0 ),COLOR00FF00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),H,L,0,0 ),COLOR00DD00;VAR19MZ:=(REF((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),1) AND VAR1MZ);VAR1AMZ:=(REF((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),1) AND VARDMZ);{粉红}STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),3 ,0 ),COLORFF11FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),2 ,0 ),COLORFF44FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),1 ,0 ),COLORFF66FF;{黄⾊}STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00AAFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR00CCFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),1,0),COLOR00EEFF;FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,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);MA1Q:=MEMA(CLOSE,5);MA2Q:=ATAN((MA1Q/REF(MA1Q,1)-1)*100)*180/3.1416;MA3Q:=IF(MA2Q>0,MA2Q,MA2Q);MA5Q:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) ANDREF(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);VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR03:=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);VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) ANDREF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND C<REF(C,1);VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN; VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=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(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) ANDCROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) ANDCROSS(MA(VAR09,2),VAR09))=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));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSVQ,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 VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(⾦叉 AND VAR04) OR (⾦叉 AND VAR02) OR (⾦叉 AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) ANDREF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2) <=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) ANDREF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2) <=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) ANDREF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);⾛强1:=BARSLAST(PL5<REF(PL5,1));⾛弱1:=BARSLAST(PL5>REF(PL5,1));⾛强2:=BARSLAST(PL10<REF(PL10,1));⾛弱2:=BARSLAST(PL10>REF(PL10,1));⾛强3:=BARSLAST(PL20<REF(PL20,1));⾛弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,⾛强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,⾛强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,⾛弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,⾛弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,⾛强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,⾛强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,⾛弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,⾛弱3),0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;XGQ:=XG11 OR XG22;W18:=EXIST(XGQ,1);DRAWTEXT(XGQ,L-0.1,'●放⼼买'),COLORRED;SQX:=(C-MA(CLOSE,13))*100;DIFF:=EMA(MA(SQX,7),1),COLORWHITE;DEA:=EMA(DIFF,7),COLORYELLOW;MACD:=(DIFF-DEA)*2,COLORSTICK;奉献理想专⽤:IF((CROSS(DIFF,DEA) AND DIFF<-0.1) ,L-0.2,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;低位⾦叉:=IF(CROSS(DIFF,DEA) AND DIFF<-0.1,15,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;IF(CROSS(DIFF,DEA) AND DIFF<-0.1,L-0.2,DRAWNULL),COLORYELLOW,LINETHICK4,POINTDOT;{再上N均线 N 10 1 100 1}MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,21);破N:=REF(MA1,1)<REF(MA2,1)AND MA2>REF(MA2,1);试摸N:=C>MA(C,10) OR H>=MA2;再上N:=C>O AND REF(C,1)< MA(C,10) AND 试摸N AND 破N AND MA(C,21)<MA(C,10);有⾏情:=再上N AND (CROSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势)); DRAWTEXT(有⾏情,LOW-0.2,'●有⾏情'),COLORGREEN;VAR10B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11B:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) <=REF(ZIG(3,6),3);VAR12B:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13B:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14B:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15B:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16B:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17B:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18B:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19B:=EMA(CLOSE,2)-EMA(CLOSE,150);买1B:=VAR10B;买2B:=(VAR11B+VAR13B+VAR15B+VAR17B);BB:=IF(买1B>0 OR 买2B>0 ,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;红买绿卖:IF(CROSS(BB,买1B),LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK5,COLORWHITE;⽜节点:=CROSS(EMA(C,5),EMA(C,30))AND CROSS(EMA(C,10),EMA(C,20));DRAWICON(⽜节点,L-0.1,13);CSAR:=SAR(10,2,20);持币:=IF(CSAR>=H,CSAR,0),CIRCLEDOT,COLORGREEN{持币};持股:=IF(CSAR<=L,CSAR,0),CIRCLEDOT,COLORRED{持股};⽣命线2:=EMA(SLOPE(C,21)*20+C,42),LINETHICK2,COLORYELLOW;{股价在上持,在下空仓}⽌损:=EMA(C,5),COLORYELLOW,LINETHICK1;{红持股绿持币黄观望}菩提B:=XMA(H,20);{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};参买:=IF(⽌损>=REF(⽌损,1),⽌损,DRAWNULL),LINETHICK2,COLORRED;{持股前提} DRAWICON(CROSS(L,CSAR) AND 参买>0 AND H<菩提B AND 持股>0AND H>长期趋势,(LOW- 0.1),5);VVAR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);短底:=EMA(VVAR1D,5);⽀撑:=HHV(短底,60);MAN:=(SMA(HIGH,21,2) * 1.05);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1D:=EMA(中D,10);RSVD:=SMA(下档线,3,1);K⼤:=SMA(RSVD,3,1);D⼤:=((3 * RSVD) - (2 * K⼤));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));压⼒位:=IF(CROSS(D24,D⼤),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D⼤)))),COLORFFFFFF;⽜浮⾯:=CROSS(CLOSE,MA20) AND HIGH < 压⼒位 AND OPEN < MA20。
通达信指标公式源码 主图源码 说明 无未来
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;。
通达信指标公式源码 大小底结合副图+选股 公布源码 通达信指标
大小底结合: 副图X_1:=6;X_2:=80;X_3:=REF(CLOSE,1);X_4:=SMA(MAX(CLOSE-X_3,0),18,1)/SMA(ABS(CLOSE-X_3),13,1)*100; X_5:=SMA(MAX(CLOSE-X_3,0),24,1)/SMA(ABS(CLOSE-X_3),20,1)*100; X_6:=BARSLAST(X_5<48)<=3 AND CROSS(X_4,X_5);X_7:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,20)*100<(-12.5);X_8:=LLV(LOW,5);X_9:=HHV(HIGH,10);X_10:=EMA((CLOSE-X_8)/(X_9-X_8)*100,4);X_11:=EMA(0.667*REF(X_10,1)+0.333*X_10,2);X_12:=1011131;X_13:=IF(DATE<=X_12,X_7,0) OR IF(DATE<=X_12,X_2,0);X_15:=SMA(MAX(CLOSE-X_14,0),7,1)/SMA(ABS(CLOSE-X_14),7,1)*100;X_16:=SMA(MAX(CLOSE-X_14,0),13,1)/SMA(ABS(CLOSE-X_14),13,1)*100; X_17:=BARSLAST(X_16<43)<=3 AND CROSS(X_15,X_16);X_18:=(CLOSE-MA(CLOSE,43))/MA(CLOSE,20)*100<(-12.5);X_19:=LLV(LOW,5);X_20:=HHV(HIGH,10);X_21:=EMA((CLOSE-X_19)/(X_20-X_19)*100,4);X_22:=EMA(0.667*REF(X_21,1)+0.333*X_21,2);X_23:=1011131;X_24:=IF(DATE<=X_23,X_18,0) OR IF(DATE<=X_23,X_2,0);X_25:=0-(-1)*X_17 AND X_18 AND CROSS(X_21,X_22) AND X_21<=25;X_26:=REF(CLOSE,1);X_27:=SMA(MAX(CLOSE-X_26,0),7,1)/SMA(ABS(CLOSE-X_26),7,1)*100;X_28:=SMA(MAX(CLOSE-X_26,0),13,1)/SMA(ABS(CLOSE-X_26),13,1)*100; X_29:=BARSLAST(X_28<33)<=3 AND CROSS(X_27,X_28);X_30:=(CLOSE-MA(CLOSE,33))/MA(CLOSE,20)*100<(-12.5);X_31:=LLV(LOW,5);X_32:=HHV(HIGH,10);X_33:=EMA((CLOSE-X_31)/(X_32-X_31)*100,4);X_34:=EMA(0.667*REF(X_33,1)+0.333*X_33,2);X_35:=1011131;X_36:=IF(DATE<=X_35,X_30,0) OR IF(DATE<=X_35,X_2,0);小底小仓位:0-(-1)*X_29 AND X_30 AND CROSS(X_33,X_34) ANDX_33<=25,COLOR80FF00;DRAWICON(小底小仓位>0,0.8,23);X_37:=REF(CLOSE,1);X_38:=SMA(MAX(CLOSE-X_37,0),7,1)/SMA(ABS(CLOSE-X_37),7,1)*100;X_39:=SMA(MAX(CLOSE-X_37,0),13,1)/SMA(ABS(CLOSE-X_37),13,1)*100; X_40:=BARSLAST(X_39<23)<=3 AND CROSS(X_38,X_39);X_41:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<(-12.5);X_42:=LLV(LOW,5);X_43:=HHV(HIGH,10);X_44:=EMA((CLOSE-X_42)/(X_43-X_42)*100,4);X_45:=EMA(0.667*REF(X_44,1)+0.333*X_44,2);X_46:=1011131;X_47:=IF(DATE<=X_46,X_41,0) OR IF(DATE<=X_46,X_2,0);大底大仓位:0-(-1)*X_40 AND X_41 AND CROSS(X_44,X_45) ANDX_44<=25,COLORRED;DRAWTEXT_FIX(C>O,0.01,0.9,0,'室'),COLORyellow; DRAWICON(大底大仓位>0,0.8,24);大小底结合: 条件选股X_1:=6;X_2:=80;X_4:=SMA(MAX(CLOSE-X_3,0),18,1)/SMA(ABS(CLOSE-X_3),13,1)*100;X_5:=SMA(MAX(CLOSE-X_3,0),24,1)/SMA(ABS(CLOSE-X_3),20,1)*100;X_6:=BARSLAST(X_5<48)<=3 AND CROSS(X_4,X_5);X_7:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,20)*100<(-12.5);X_8:=LLV(LOW,5);X_9:=HHV(HIGH,10);X_10:=EMA((CLOSE-X_8)/(X_9-X_8)*100,4);X_11:=EMA(0.667*REF(X_10,1)+0.333*X_10,2);X_12:=1011131;X_13:=IF(DATE<=X_12,X_7,0) OR IF(DATE<=X_12,X_2,0);X_14:=REF(CLOSE,1);X_15:=SMA(MAX(CLOSE-X_14,0),7,1)/SMA(ABS(CLOSE-X_14),7,1)*100;X_16:=SMA(MAX(CLOSE-X_14,0),13,1)/SMA(ABS(CLOSE-X_14),13,1)*100; X_17:=BARSLAST(X_16<43)<=3 AND CROSS(X_15,X_16);X_18:=(CLOSE-MA(CLOSE,43))/MA(CLOSE,20)*100<(-12.5);X_19:=LLV(LOW,5);X_20:=HHV(HIGH,10);X_21:=EMA((CLOSE-X_19)/(X_20-X_19)*100,4);X_22:=EMA(0.667*REF(X_21,1)+0.333*X_21,2);X_23:=1011131;X_24:=IF(DATE<=X_23,X_18,0) OR IF(DATE<=X_23,X_2,0);X_25:=0-(-1)*X_17 AND X_18 AND CROSS(X_21,X_22) AND X_21<=25;X_26:=REF(CLOSE,1);X_27:=SMA(MAX(CLOSE-X_26,0),7,1)/SMA(ABS(CLOSE-X_26),7,1)*100;X_28:=SMA(MAX(CLOSE-X_26,0),13,1)/SMA(ABS(CLOSE-X_26),13,1)*100; X_29:=BARSLAST(X_28<33)<=3 AND CROSS(X_27,X_28);X_30:=(CLOSE-MA(CLOSE,33))/MA(CLOSE,20)*100<(-12.5);X_31:=LLV(LOW,5);X_32:=HHV(HIGH,10);X_33:=EMA((CLOSE-X_31)/(X_32-X_31)*100,4);X_34:=EMA(0.667*REF(X_33,1)+0.333*X_33,2);X_35:=1011131;X_36:=IF(1<=X_35,X_30,0) OR IF(1<=X_35,X_2,0);X_37:=0-(-1)*X_29 AND X_30 AND CROSS(X_33,X_34) AND X_33<=25;X_38:=REF(CLOSE,1);X_39:=SMA(MAX(CLOSE-X_38,0),7,1)/SMA(ABS(CLOSE-X_38),7,1)*100;X_40:=SMA(MAX(CLOSE-X_38,0),13,1)/SMA(ABS(CLOSE-X_38),13,1)*100; X_41:=BARSLAST(X_40<23)<=3 AND CROSS(X_39,X_40);X_42:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<(-12.5);X_43:=LLV(LOW,5);X_44:=HHV(HIGH,10);X_45:=EMA((CLOSE-X_43)/(X_44-X_43)*100,4);X_46:=EMA(0.667*REF(X_45,1)+0.333*X_45,2);X_47:=1011131;X_48:=IF(1<=X_47,X_42,0) OR IF(1<=X_47,X_2,0);X_49:=0-(-1)*X_41 AND X_42 AND CROSS(X_45,X_46) AND X_45<=25; XG:X_37 OR X_49;。
通达信最准确的抄底指标——主力吸筹(无未来附源码)
通达信最准确的抄底指标——主力吸筹(无未来附源码)这是一个绝对好用的指标,主力吸筹看的清清楚楚。
最好是两个主力吸筹全都出现信号再进行潜伏。
神农科技华联综超浙江众成主力吸筹VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORRED;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN;主力吸筹2N:=9;6;M1:=3;M2:=3;P:=9;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);JJ:=P*(3*D-2*K);J:=((3 * K) - (2 * D));MAIRU:= CROSS(K,D) AND K<20;MAICHU:= CROSS(D,K) AND D>80;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,13);VAR6:=HHV(VAR4,13);VAR7:=IF(MA(CLOSE,34),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=IF(VAR8>100,100,VAR8);吸筹:VAR9,LINETHICK2,COLORF00FF0;STICKLINE(VAR9>-120,0,VAR9,8,1),COLORF00FF0;快线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2,COLORRED;慢线:SMA(快线,M1,1),COLORCYAN;{空:SMA(慢线,M2,1),COLOR00FF00;牛股:IF(BARSLAST(CROSS(慢线,空))<;P AND CROSS(慢线,空) AND 慢线<20,90,0),STICK,COLORFF937F;STICKLINE(牛股,0,90,1,0),COLORFF937F;}BB:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);{STICKLINE(BB,0,100,7,1),COLORYELLOW;DRAWICON(BB>0,10,7);}AA:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);{STICKLINE(AA,80,100,7,1),COLOR00FF00;}{DRAWICON(AA>0,90,8);};指标到手后,需要找找规律,观察几天再考虑是否操作。