通达信量柱指标公式源码
通达信柱状买入法指标公式
通达信柱状买入法指标公式XXCC: EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),LINETHICK1,COLOR0000FF; XXCC1: EMA(REF(XXCC,1),3),LINETHICK1,COLOR00FFFF;ZZCC:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK1,COLORFF0000; AA:= MA(WINNER(CLOSE*0.95)*100,3);VAR83:= 1/WINNER(CLOSE);VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR85:= 100-ABS(VAR84);VAR86:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*S MA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15, 1);VAR87:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SM A(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR88:= 100-VAR87;VAR89:= 100-VAR86;VAR90:= MA(WINNER(CLOSE*0.95)*100,3);VAR91:= IF(VAR83>5,IF(VAR83<100,VAR83,VAR85-10),0);VAR92:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR93:=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);VAR94:=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);VAR95:= VAR93<REF(VAR94,1) AND VOL>REF(VOL,1) ANDCLOSE>REF(CLOSE,1);AAE:= WINNER(CLOSE+CLOSE*15/100)*100;BBE:= WINNER(CLOSE+CLOSE*0/100)*100;CCE:= AAE-BBE;DDE:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100; EEE:= CCE<3 AND DDE<0.5 AND OPEN<LOW;AE1:= DYNAINFO(6);AE2:= IF(LOW>AE1,0,IF(HIGH<AE1,1,(AE1-LOW+0.01)/(HIGH-LOW+0.01))); AE3:= VOL/WINNER(LOW);AE4:= REF(HHV(CLOSE,120),1);AE5:= REF(LLV(CLOSE,120),1);AE6:= 100*(CLOSE-AE5)/(AE4-AE5);AE7:= AE2>0 OR AE2=1;AE8:= AE7 AND AE3/REF(AE3,3)>=3 AND AE6<80;AE9:= REF(AE8,1) OR REF(AE8,2) OR REF(AE8,3) OR REF(AE8,4);AE10:= AE8 AND AE9;AE11:= IF(FILTER(AE8,3),5,0);AE12:= FILTER(IF(FILTER(AE10,3) OR EEE,10,0),3);VARA:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:= SMA(VARA,3,1);VARC:= SMA(VARB,3,1);探索:= EMA(3*VARB-2*VARC,3);主力:= (-1)*(EMA(VAR89,1)-50)+50;Z1:= MA(主力,9);VARD:= (-1)*(EMA(VAR89,1)-50)+50;VARE:= (-1)*(EMA(VAR89,12)-50)+50;LCC:= REF(CLOSE,1);RSI1:= SMA(MAX(CLOSE-LCC,0),6,1)/SMA(ABS(CLOSE-LCC),6,1)*100;天涯:= IF(RSI1>93 OR AA>90 AND RSI1>80,80,100);苦海:= EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6); ZS:= MA(探索,3);ZM:= MA(MA(探索,3),3);A11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SM A((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);黑马线:= EMA(A11,5);A12:= (黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A4:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;趋势线3:= MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2);A5:= (HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;N:= 3;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),5);VAR6:= REF(CLOSE,1);VAR7:= SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100; VAR8:= LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR9:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR10:= VAR8 AND VAR9;VAR11:= (2*CLOSE+HIGH+LOW)/4;VAR12:= LLV(LOW,13);VAR13:= HHV(HIGH,13);VAR14:= LLV(LOW,1)=LLV(LOW,35) AND CLOSE>=OPEN*1.04;VAR15:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR16:= EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);VAR17:=((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;VAR18:= 1/WINNER(CLOSE);VAR19:= MA(CLOSE,13);VAR20:= 100-ABS((CLOSE-VAR19)/VAR19*100);VAR21:= LLV(LOW,75);VAR22:= HHV(HIGH,75);VAR23:= (VAR22-VAR21)/100;VAR24:= SMA((CLOSE-VAR21)/VAR23,20,1);VAR25:= SMA((OPEN-VAR21)/VAR23,20,1);VAR26:= 3*VAR24-2*SMA(VAR24,15,1);VAR27:= MA(HHV(HIGH,485),17);VAR28:= MA(HHV(HIGH,222),17);VAR29:= MA(HHV(HIGH,96),17);VAR30:= MA(LLV(LOW,485),17);VAR31:= MA(LLV(LOW,222),17);VAR32:= MA(LLV(LOW,96),17);VAR33:=MA((VAR30*0.96+VAR31*0.96+VAR32*0.96+VAR27*0.558+VAR28*0.558+V AR29*0.558)/6,17);VAR34:=MA((VAR30*1.25+VAR31*1.23+VAR32*1.2+VAR27*0.55+VAR28*0.55+VAR2 9*0.65)/6,17);VAR35:=MA((VAR30*1.3+VAR31*1.3+VAR32*1.3+VAR27*0.68+VAR28*0.68+VAR29* 0.68)/6,17);VAR36:= LLV(LOW,30);VAR37:= MA((VAR33*3+VAR34*2+VAR35)/6*1.738,17);VAR38:= IF(DATE<=1050531,VAR37,VAR37*DAY);VAR39:= LOW;VAR40:= REF(LOW,1);VAR41:= SMA(ABS(VAR39-VAR40),3,1)/SMA(MAX(VAR39-VAR40,0),N,1)*100; VAR42:= MA(IF(CLOSE*1.35<=VAR38,VAR41*10,VAR41/10),N);VAR43:= HHV(VAR42,30);VAR44:= 1080531;VAR45:= 3*VAR25-2*SMA(VAR25,15,1);VAR46:= 100-VAR45;VAR47:= IF(900101<DATE AND DATE<99991232,1,0);VAR49:= REF(LOW,1)*0.9;VAR50:= LOW*0.9;VAR51:= (VAR50*VOL+VAR49*(CAPITAL-VOL))/CAPITAL;VAR52:= EMA(VAR51,30);VAR53:= CLOSE-REF(CLOSE,1);VAR54:= MAX(VAR53,0);VAR55:= ABS(VAR53);VAR56:= SMA(VAR54,7,1)/SMA(VAR55,7,1)*100;VAR57:= SMA(VAR54,13,1)/SMA(VAR55,13,1)*100;VAR58:= BARSCOUNT(CLOSE);VAR59:= SMA(MAX(VAR53,0),6,1)/SMA(ABS(VAR53),6,1)*100;VAR60:= (-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR61:= (CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR62:= SMA((SMA(VAR61,4,1)-50)*2,3,1);VAR63:= (INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR64:= SMA(VAR63,4,1);VAR65:= SMA(VAR64,3,1);VAR66:= (HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR67:= VAR59<=25 AND VAR60<(-95) AND VAR66>20 AND VAR62<(-30) AND VAR65<30 AND VAR52-CLOSE>=(-0.25) AND VAR56<22 AND VAR57<28 AND VAR58>50;VAR68:= (HIGH+LOW+CLOSE)/3;VAR69:= (VAR68-MA(VAR68,14))/(0.015*AVEDEV(VAR68,14));VAR70:= (VAR68-MA(VAR68,70))/(0.015*AVEDEV(VAR68,70));VAR71:= IF(VAR69>=150 AND VAR69<200 AND VAR70>=150 ANDVAR70<200,10,0);VAR72:= IF(VAR69<=(-150) AND VAR69>(-200) AND VAR70<=(-150) AND VAR70>(-200),-10,VAR71);VAR73:= (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VAR74:= REVERSE(VAR73);VAR75:= SMA(VAR73,3,1);绝佳买点:=IF(DATE<=VAR44,MA(IF(LOW<=VAR36,(VAR42+VAR43*2)/2,0),N),1000000 00);跑:= FILTER(REF(黑马线,1)>90 AND A12<0 ,7);买线:= EMA(CLOSE,2);卖线:= EMA(SLOPE(CLOSE,21)*20+CLOSE,42);指數位置:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SM A(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 抄底:= CROSS(指數位置,10);A1:= VOL=HHV(VOL,120);A2:= CLOSE/OPEN>1.05;TJ:= A1 AND A2;龙:= VAR10;买4:= VAR14;AA1:= AMOUNT/VOL;BB1:= LOW<AA1*0.9;CC1:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;DD1:= LOW<MA(CLOSE,5)*0.921;EE1:= VOL<MA(VOL,5)*1.5;FF1:= BB1 AND CC1 AND DD1 AND EE1;买3:= FILTER(FF1,3) AND DATE<=1080530;二十天最低跌幅:= HHV(CLOSE,20)/LLV(CLOSE,20);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);买1:= CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3 ; 长期底部:= LLV(HIGH,30);上:= SMA(LOW,5,2)*0.96;短期底部:= LLV(HIGH,30)*0.93;LC:= REF(CLOSE,1);RSI:= SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;大顶:= FILTER(VAR17>20 AND FILTER(VAR17<REF(VAR17,1),5),5);VAR76:= (OPEN+LOW+HIGH+CLOSE)/4;MAN:= SMA(HIGH,21,2)*1.05;短底2:= EMA(VAR76,5);支撑:= HHV(短底2,60);VAR77:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR78:= SMA(VAR77,5,1);VAR79:= SMA(VAR78,8,1);VAR80:= CROSS(VAR78,VAR79) AND VAR79<5;VAR81:= CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR80;VAR82:= IF(CLOSE>1000,VAR80,VAR81);黑马起步:= VAR82;逃:= FILTER(HIGH>支撑AND CLOSE<支撑AND CLOSE/OPEN>0-1.06 AND CLOSE<OPEN,5);逃命:= 黑马起步>0;选逃:= FILTER(逃命OR 逃OR CROSS(84,RSI) OR 大顶,3);上线:= SMA(CLOSE,6.5,1);下线:= SMA(CLOSE,13.5,1);WW:= 1;散户:= SMA(VAR75,3,1)*VAR47*WW;新庄:= SMA(散户,3,1)*VAR47*WW;高抛:= CROSS(新庄,散户) AND 新庄>75;买:= CROSS(买线,卖线);卖:= CROSS(卖线,买线);大黑马:= CROSS(趋势线3,0) AND 黑马线<40;大买:= FILTER(绝佳买点>30000,5);选底:= FILTER(LOW<=上AND HIGH>=短期底部AND CLOSE>=长期底部AND CLOSE/OPEN>1.03,3);稳赚10买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0;大资金进场:= VAR95 AND COUNT(VAR95,30)=1;STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLOR0000FF;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000AA;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLOR0000EE;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORAAAA00;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORBBBB00;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLOREEEE00;STICKLINE(买线<卖线,LOW,HIGH,1,0),COLORFFFF00;选买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0 ; STICKLINE(选买,CLOSE,HHV(HIGH,90)*0.94,0.3,0),COLORFF0000; DRAWTEXT(选买,HHV(HIGH,90)*1,'稳赚'),COLORFF0000;DRAWTEXT(选买,HHV(HIGH,90)*0.97,'10%买'),COLORFF0000; DRAWTEXT(选逃,HIGH*1.04,'逃'),COLOR00FFFF;DRAWTEXT(买,LOW*0.996,'买'),COLOR0000FF;DRAWTEXT(卖,HIGH*1,'卖'),COLOR00FFFF;DRAWTEXT(AE12,HIGH*1.095,'私募'),COLOR008000;DRAWTEXT(AE12,HIGH*1.06,'加仓'),COLOR008000;DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.095,'大资金'),COLOR008000;DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.06,'进场'),COLOR008000;DRAWTEXT(跑,HIGH*1.02,'跑'),COLOR00FFFF;DRAWTEXT(大黑马,LOW*0.98,'大黑马'),COLORFFFFFF;DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,HIGH*1.04,'抛'),COLOR00FFFF; DRAWTEXT(大买,LOW*0.96,'大买'),COLOR0000FF;DRAWTEXT(IF(选底,100,0),LOW*0.995,'底'),COLOR399C71;DRAWTEXT(AE12 OR VAR95 AND COUNT(VAR95,30)=1,HIGH*1.01,'↓'),COLOR008000;VAR330:=0;位置:= (CLOSE+REF(CLOSE,105))/2;。
倍量,地量柱源码,效果一目了然
倍量,地量柱源码,效果一目了然达信]成交量提示,地量,倍量,低量,黄金柱通达信软件直观显示:倍量柱+三天价涨量缩=真黄金柱公式(带低量柱)VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK;AA:=VOL>REF(V,1)*1.9;AA1:=VOL<REF(LLV(VOL,13),1);AA2:=VOL<REF(LLV(VOL,55),1);STICKLINE(AA,0,V,1,0),COLORYELLOW;STICKLINE(AA1,0,V,1,0),COLORGREEN;STICKLINE(AA2,0,V,1,0),COLORMAGENTA;TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;TJ2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;TJ3:=TJ1 AND TJ2;STICKLINE(TJ3,0,V,1,0),COLORRED;MV2:MA(V,2);MV6:MA(V,6);MV20:MA(V,20);通达信软件:通达信软件:功能-专家系统-公式管理器-成交量型-新建-公式名称:VOL_2V - 公式描述:倍量黄金柱-将上面内容复制到中间编辑区-确定-在K线图选择指标:成交量型-VOL_2V倍量黄金柱OK! 你看看是什么效果?提示说明:黄色柱是倍量柱,绿色住是13日内的低量柱,洋红色为55日内的低量柱红色实心柱左边的黄色柱就是: 倍量柱+三天价涨量缩=真黄金柱。
通达信指标公式源码大全
通达信指标公式源码大全Profit: EMA(EMA(EMA(High,5),5)*1.15.Color=ffffff。
LineThickness=1;Risk: EMA(EMA(High,5),5)*1.1.Color=yellow;Drawdown:EMA(MA(EMA(High,5),5),5)*1.05.Color=00FF00;Balance: EMA(EMA(EMA(High,5),5)。
Color=FF00FF。
LineThickness=1;Rebound: MA(MA(MA(High,5),5)*0.95.Color=gray。
LineThickness=1;Oversold: MA(MA(MA(Close,5),5)*0.9.Color=blue。
LineThickness=1;VAR3:=LLV(High,240);VAR4:=100*(Close-VAR3)/VAR3;VAR5:=(Close-LLV(Low,528))/(HHV(High,528)-LLV(Low,528))*100;VAR6:=(Close-LLV(Close,530))/(HHV(Close,530)-LLV(Close,530))*100;VAR7:=0;VAR8:=SMA(Max(Close-REF(Close,1),34,1)/SMA(ABS(Close-REF(Close,1)),7,1)*100;VAR9:=SMA(Max(Close-REF(Close,1),13,1)/SMA(ABS(Close-REF(Close,1)),13,1)*100;VAR10:=IF(Cross(3,16,1)=0 AND High>Low+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Rewritten:The profit ___ (EMA) of the high price over 5 ds。
通达信最全指标公式源码,给大家分享实用的技术指标
通达信最全指标公式源码,给⼤家分享实⽤的技术指标源码:MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;主⼒:(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,COLORRED;IF(主⼒>=REF(主⼒,1),主⼒,DRAWNULL),COLORRED,LINETHICK2;拉升提⽰主图+⼀⼿遮天副图+主⼒追踪副图。
超⽜龙头主图主图源码:展开全⽂TY:=C;TY:=C;AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); CC1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10); AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);JJ:=(3*C+H+L+O)/6;VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,5) AND C>O AND (C-O)/REF(C,1)>0.06;TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 ANDCLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));TP:=TJ2=1;参考重点关注主⼒追踪副图股票实盘分析和技术分享,,坚持每⼀天给⼤家分享实盘经验,教⼤家如何在个股起爆前把握主升浪个股,让所有粉丝朋友逐步建⽴出属于⾃⼰的⼀套交易系统。
通达信量柱主副图公式
通达信量柱主副图公式量柱主图水平面:MA(CLOSE,89),COLORFFA2FF;BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;IF(BBI>REF(BBI,1),BBI,DRAWNULL),COLORRED,LINETHICK2;IF(BBI<REF(BBI,1),BBI,DRAWNULL),COLORYELLOW,LINETHICK2;MA1:MA(CLOSE,24),COLOR00E300,LINETHICK1;V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); STICKLINE(V2>=1,O,C,2,0),COLORYELLOW;MA13:=MA(CLOSE,13);X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);A1:=MIN(O,C);B1:=ABS(O-C);T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);{DRAWTEXT(CROSS(FF,MA15),(LOW * 0.97),'底背离'),COLORA6E500; DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'顶背离'),COLOR1880FF;} STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,2,0),COLOR7F017F;STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,2,0),COLORGREEN;T2:=COUNT(CROSS(BBI,3),3)=1 AND CROSS(C,BBI);DRAWTEXT(T2,H*1.05,'反转'),COLORWHITE;STICKLINE(T2,O,C,2,0),COLORRED;T12:=V2>=1;T0:=BARSLAST(T12);L1:=REF(L,T0);H1:=REF(H,T0);STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),H1,H1,4,-1),COLORWHITE; STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),L1,L1,4,-1),COLORWHITE; {T11:=REF(T12,3) AND COUNT(L<L1,4)=0 AND COUNT(L>H1,4)>1; DRAWTEXT(T11,H*1.05,'三天'),COLORWHITE;STICKLINE(T11,O,C,2,0),COLORFF00FF;}{(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) };L11:=MIN(REF(L,1),L);L10:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1));T11:=T111 AND REF(T111,1)=0;STICKLINE(T11,O,C,2,0),COLORFF00FF;高:=REF(HHV(H,N),M);低:=REF(LLV(L,N),M);H19:=高-(高-低)*0.191;H38:=高-(高-低)*0.382;H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;H80:=高-(高-低)*0.809;顶点:REFDATE(高,DATE),POINTDOT,LINETHICK2,COLORWHITE;%19.8:REFDATE(H19,DA TE),POINTDOT,LINETHICK2,COLORYELLOW;%38.2:REFDATE(H38,DA TE),POINTDOT,LINETHICK2,COLORGREEN;%50:REFDATE(H中,DATE),POINTDOT,LINETHICK2,COLORRED;%61.8:REFDATE(H61,DA TE),POINTDOT,LINETHICK2,COLORMAGENTA;%80.9:REFDATE(H80,DA TE),POINTDOT,LINETHICK2,COLORBLUE;低点:REFDATE(低,DATE),POINTDOT,LINETHICK2,COLORWHITE; DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;STICKLINE(T1,A1,A1+B1/2,2,0),COLOR007575;STICKLINE(T1,A1+B1/2,A1+B1,2,0),COLORBLUE;STICKLINE(T11 AND T12,A1,A1+B1/2,2,0),COLORFF00FF;STICKLINE(T11 AND T12,A1+B1/2,A1+B1,2,0),COLORYELLOW;STICKLINE(T1 AND T12,A1+B1/3,A1+B1,2,0),COLORYELLOW;STICKLINE(T1 AND T12,A1,A1+B1/3,2,0),COLOR007575;STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,2,0),COLORBLUE;STICKLINE(T2 AND T12,A1+B1/2,A1+B1,2,0),COLORRED;STICKLINE(T2 AND T12,A1,A1+B1/2,2,0),COLORYELLOW;主图参数设置:倍量成交量VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;STICKLINE(AA,0,V,1,0),COLORYELLOW;STICKLINE(AA1,0,V,1,0),COLORGREEN;STICKLINE(AA2,0,V,1,0),COLORMAGENTA;STICKLINE(AA3,0,V,1,0),COLORWHITE;MV1:MA(VOL,5);MV2:MA(VOL,15);。
通达信经典成交量指标共五个源码
通达信经典成交量指标共五个源码(无源码的请下载附件导入)通达信经典成交量指标共五个源码第一个:{FT-自用VOL}量:VOL,LINETHICK,COLOR00FFFF;STICKLINE(CLOSE& gt;REF(CLOSE,1),量,0,3.5,0),COLOR0054A8;STICKLINE(CLOSE<=REF(CL OSE,1),量,0,3.5,0),COLOR999900;预量:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFF 00FF; 预量增:预量-REF(V,1),LINETHICK,COLORWHITE;CB:=IF(CAPITAL> ;1,AMOUNT/VOL/100,(HIGH+LOW+2*CLOSE)/4);空1:=IF((HIGH-LOW)>0 AND CLOSE>CB,((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)/(HIGH-CB))* ((HIGH-CB)/(HIGH-LOW)*VOL) ,0);多1:=IF((HIGH-LOW)>0 AND CLOSE>CB, VOL-空1 ,0);多2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, ((CLOSE-LOW)/(CB-LOW))*((CLOSE-LOW)/(CB-LOW))*(( CB-LOW)/(HIGH-LOW)*VOL) ,0);空2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, VOL-多2 ,0);多3:=IF((HIGH-LOW)=0 AND CLOSE>REF(CLOSE,1),VOL,0);空3:=IF((HIGH-LOW)=0 ANDCLOSE<=REF(CLOSE,1), VOL,0);多方量:多1+多2+多3,NODRAW,COLORRED;空方量:空1+空2+空3,NODRAW,COLORGREEN;STICKLINE(空方量,量,O,3,0),COLOR005A00;STICKLINE(空方量,量,O,2.5,0),COLOR006600;STICKLINE(空方量,量,O,2,0),COLOR006B00;STICKLINE(空方量,量,O,1.5,0),COLOR007700;STICKLINE(空方量,量,O,1,0),COLOR007B00;STICKLINE(空方量,量,0,0.5,0),COLOR009900;STICKLINE(多方量,多方量,O,3,0),COLOR000066;STICKLINE(多方量,多方量,O,2.5,0),COLOR000077;STICKLINE(多方量,多方量,O,2,0),COLOR000099;STICKLINE(多方量,多方量,O,1.5,0),COLOR0000BB;STICKLINE(多方量,多方量,O,1,0),COLOR0000DD;STICKLINE(多方量,多方量,O,0.5,0),COLOR0000FF;多量线:EMA(多方量,3),COLOR00DBDB,LINETHICK2;空量线:EMA(空方量,3),COLORBFBFBF,LINETHICK2;第二个:{FT-量子力学}N:=5;QJ0:=(HIGH+LOW+CLOSE)/3;QJ1:=IF(HIGH=LO W,1,HIGH-MAX(OPEN,CLOSE));QJ2:=IF(HIGH=LOW,1,MA X(CLOSE,OPEN)-QJ0);QJ3:=IF(HIGH=LOW,1,MIN(OPEN,C LOSE)-LOW);QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));QJ6:="MAC D.DIF">"MACD.DEA" AND"MACD.DEA"<0;QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;QJ8:="MACD.DIF"<"MACD.DEA";QJ9:=" KDJ.K"<"KDJ.D" AND "KDJ.K">80;特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;W1:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);量振1:=特大>大单AND 大单>小单;量振2:=特大<小单AND 大单<小单;标振1:=QJ6 AND QJ7;标振2:=QJ8 ANDQJ9;A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A<0,A,0);STI CKLINE(A0,0,A0,3,0),COLOR000044;STICKLINE(A0,0,A0,2 .5,0),COLOR000088;STICKLINE(A0,0,A0,1.5,0),COLOR0000 AA;STICKLINE(A0,0,A0,1,0),COLOR0000CC;STICKLINE(B 0,0,-B0,3,0),COLOR004400;STICKLINE(B0,0,-B0,2.5,0),COL OR008800;STICKLINE(B0,0,-B0,1.5,0),COLOR00AA00;STIC KLINE(B0,0,-B0,1,0),COLOR00CC00;周趋势:MA(A,5),COLORFFFFFF;平滑值:EMA(周趋势,5),COLOR00FFFF;STICKLINE(标振1 AND 量振1 AND 周趋势>平滑值,0,A0,3,0),COLORYELLOW; DRAWTEXT(标振1 AND 量振1 AND 周趋势>平滑值,A0,'振'),COLORYELLOW;第三个:{FT-提前量}N1:=12;N2:=26;M:=9;CC:=(C+L+H+O)/4;DIFF:=EMA(CC ,5)-EMA(CC,13),COLORBB00BB,LINETHICK2;DEA:=EMA (DIFF,4),COLOR00BB00,LINETHICK2;MACD:=XMA((DIFF -DEA)*200,2),COLORSTICK;红柱持股:MACD,NODRAW;黄色高抛:MACD,NODRAW;蓝柱持币:MACD,NODRAW;紫色反弹:MACD,NODRAW;STICKLINE(MACD<REF(MACD,1) ANDMACD>0,0,MACD,6,0 ),COLOR003333;STICKLINE(MA CD<REF(MACD,1)ANDMACD>0,0,MACD,3.5,0 ),COLOR004444;STICKLINE(M ACD<REF(MACD,1)ANDMACD>0,0,MACD,3,0 ),COLOR005555;STICKLINE(MA CD<REF(MACD,1)ANDMACD>0,0,MACD,2.5,0 ),COLOR007777;STICKLINE(M ACD<REF(MACD,1)ANDMACD>0,0,MACD,2,0 ),COLOR009999;STICKLINE(MA CD<REF(MACD,1)ANDMACD>0,0,MACD,1.5,0 ),COLOR00BBBB;STICKLINE( MACD<REF(MACD,1)ANDMACD>0,0,MACD,1,0 ),COLOR00DDDD;STICKLINE(MMACD>0,0,MACD,0.5,0 ),COLOR00FFFF;STICKLINE(M ACD>=REF(MACD,1)ANDMACD>0,0,MACD,6 ,0 ),COLOR000033;STICKLINE(MA CD>=REF(MACD,1)ANDMACD>0,0,MACD,3.5 ,0 ),COLOR000044;STICKLINE(M ACD>=REF(MACD,1)ANDMACD>0,0,MACD,3 ,0 ),COLOR000055;STICKLINE(MA CD>=REF(MACD,1)ANDMACD>0,0,MACD,2.5 ,0 ),COLOR000077;STICKLINE(M ACD>=REF(MACD,1)ANDMACD>0,0,MACD,2 ,0 ),COLOR000099;STICKLINE(MA CD>=REF(MACD,1)ANDMACD>0,0,MACD,1.5 ,0 ),COLOR0000BB;STICKLINE( MACD>=REF(MACD,1)ANDMACD>0,0,MACD,1 ,0 ),COLOR0000DB;STICKLINE(M ACD>=REF(MACD,1)ANDMACD>0,0,MACD,0.5 ,0 ),COLOR0000FF;STICKLINE(M ACD>REF(MACD,1)ANDMACD<0,0,MACD,6,0 ),COLORFF00CA;STICKLINE(MA CD>REF(MACD,1)ANDMACD<0,0,MACD,3.5,0 ),COLORFF00CC;STICKLINE(MMACD<0,0,MACD,3,0 ),COLORFF00DB;STICKLINE(MA CD>REF(MACD,1)ANDMACD<0,0,MACD,2.5,0 ),COLORFF00DD;STICKLINE(M ACD>REF(MACD,1)ANDMACD<0,0,MACD,2,0 ),COLORFF00DF;STICKLINE(MA CD>REF(MACD,1)ANDMACD<0,0,MACD,1.5,0 ),COLORFF00EE;STICKLINE(M ACD>REF(MACD,1)ANDMACD<0,0,MACD,1,0 ),COLORFF00EF;STICKLINE(MA CD>REF(MACD,1)ANDMACD<0,0,MACD,0.5,0 ),COLORFF00FF;STICKLINE(M ACD<=REF(MACD,1)ANDMACD<0,0,MACD,6,0 ),COLOR333300;STICKLINE(MAC D<=REF(MACD,1)ANDMACD<0,0,MACD,3.5,0 ),COLOR444400;STICKLINE(M ACD<=REF(MACD,1)ANDMACD<0,0,MACD,3,0 ),COLOR555500;STICKLINE(MAC D<=REF(MACD,1)ANDMACD<0,0,MACD,2.5,0 ),COLOR777700;STICKLINE(M ACD<=REF(MACD,1)ANDMACD<0,0,MACD,2,0 ),COLOR999900;STICKLINE(MACD<=REF(MACD,1)ANDMACD<0,0,MACD,1.5,0 ),COLORBBBB00;STICKLINE(M ACD<=REF(MACD,1)ANDMACD<0,0,MACD,1,0 ),COLORDDDD00;STICKLINE(M ACD<=REF(MACD,1)ANDMACD<0,0,MACD,0.5,0 ),COLORFFFF00;DIF:=(EMA(CL OSE,12)-EMA(CLOSE,26))*100;DEAA:=EMA(DIF,9);RSV:=( CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;K:= SMA(RSV,2,1);D:=SMA(K,2,1);J:=3*K-2*D;主流资金:=(EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34 )),3))/100, COLORRED,LINETHICK2;非主流资金:=(EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH ,34)-LLV(INDEXL,34)),3))/100,COLORGREEN,LINETHICK 2;KJ共振:CROSS(DIF,DEAA) AND CROSS(K,D) AND 主流资金>非主流资金;DRAWTEXT(KJ共振,红柱持股,'B'),COLORGREEN;四连阳:EVERY(红柱持股>REF(红柱持股,1),4),NODRAW;LAST((H-L)/REF(C,1)<0.1,20,0) AND VOL>REF(VOL,1)*2 ANDC>REF(C,1)*1.03AND "DMI.PDI">"DMI.MDI" AND CROSS("DMI.ADX","DMI.ADXR")AND"DMI.ADXR">" DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND"KDJ.D">REF("KDJ.D",1);第四个:{FT-L001}{N 1.00100.00 15.0}{M1:5;M2:10;M3:20;M4:60}公积金:FINANCE(18),COLORRED,NODRAW;现金流亿:FINANCE(26)/100000000,NODRAW;市值:FINANCE(40)/100000000,COLORFF00FF,NODRAW;SAT: =IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>1 00,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100);能量:=SAT,VOLSTICK;DRAWTEXT(FILTER(SAT>=100,100 ),VOL*1.06,'爆'),COLORRED;DRAWTEXT(SAT=100 AND ISLASTBAR,VOL*1.03,'发'),COLORYELLOW;V AR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));成交:=VOL;买盘:=IF((CLOSE > OPEN),(V AR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(V AR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (V AR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (V AR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘+ 卖盘);STICKLINE((买卖差< 0),0,买卖差,3,0),LINETHICK3,COLOR339933;STICKLINE((买卖差< 0),0,买卖差,2,0),LINETHICK3,COLOR33AA33;STICKLINE((买卖差< 0),0,买卖差,1,0),LINETHICK3,COLOR33DD33;STICKLINE((买卖差< 0),0,买卖差,0.5,0),LINETHICK3,COLOR33FF33;量比1:=(VOL / MA(VOL,5));V AR10:=买盘;V AR20:=卖盘;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 >0)),JX1,3);V AR30:=MA(VOL,JY2);动神:=买盘;鬼力:=V AR20;神比:=(动神/ V AR30);鬼比:=(鬼力/ V AR30);V AR2:=(HIGH - LOW);V AR3:=ABS((OPEN - CLOSE));V AR4:=(HIGH -IF((CLOSE > OPEN),CLOSE,OPEN));V AR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);V AR6:=((V AR3 / V AR2) * VOL);V AR7:=((V AR4 / V AR2) * VOL);V AR8:=((V AR5 /V AR2) * VOL);V AR9:=IF(((VOL / CAPITAL) >0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));V ARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);V ARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND(MA(CLOSE,30) >MA(CLOSE,60)));V ARC:=((MA(CLOSE,5) <MA(CLOSE,10)) AND (MA(CLOSE,10) <MA(CLOSE,30)));V ARD:=REF(CLOSE,1);V ARE:=((SMA(M AX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE -V ARD)),6,1)) * 100);V AR40:=((IF((((V AR6 >= VAR7) AND(V AR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);V AR41:=((IF(((VAR7 > V AR6) AND (V AR7 > V AR8)),V AR7,动神) + 动神) / 2);V AR42:=((IF(((V AR8 > V AR6) AND (V AR8 > VAR7)),V AR8,动神) + 动神) / 2);V AR50:=((IF((((V AR6 >= VAR7) AND (V AR6 >=V AR8)) AND (CLOSE < OPEN)),V AR6,鬼力) + 鬼力) / 2);三日上攻:=MA((((V AR40 + V AR41) + V AR42) / 3),JY2);三日下攻:=MA(V AR50,JY2);多头:STICKLINE((CLOSE >MA(CLOSE,30)),0,VOL,3,0),COLOR000088;STICKLINE((CL OSE >MA(CLOSE,30)),0,VOL,2,0),COLOR0000AA;STICKLINE((C LOSE >MA(CLOSE,30)),0,VOL,1,0),COLOR0000DD;STICKLINE((C LOSE > MA(CLOSE,30)),0,VOL,0.5,0),COLOR0000FF;空头:STICKLINE((CLOSE <MA(CLOSE,30)),0,VOL,3,0),COLOR008800;STICKLINE((CL OSE <MA(CLOSE,30)),0,VOL,2,0),COLOR00AA00;STICKLINE((C LOSE <MA(CLOSE,30)),0,VOL,1,0),COLOR00DD00;STICKLINE((C LOSE <MA(CLOSE,30)),0,VOL,0.5,0),COLOR00FF00;STICKLINE((鬼力> 0),鬼力,0,4,0),COLORFF3399;加仓:STICKLINE((((V AR6 >= VAR7) AND (V AR6 >=V AR8)) AND (CLOSE >OPEN)),0,V AR6,3,0),COLOR880088;STICKLINE((((V AR6>= V AR7) AND (V AR6 >= VAR8)) AND (CLOSE > OPEN)),0,V AR6,2,0),COLORAA00AA;STICKLINE((((V AR6 >= V AR7) AND (V AR6 >= VAR8)) AND (CLOSE > OPEN)),0,V AR6,1,0),COLORDD00DD;STICKLINE((((V AR6 >= V AR7) AND (V AR6 >= VAR8)) AND (CLOSE > OPEN)),0,V AR6,0.5,0),COLORFF00FF;减仓:STICKLINE((((V AR6 >= VAR7) AND (V AR6 >=V AR8)) AND (CLOSE <OPEN)),0,V AR6,3,0),COLOR880000;STICKLINE((((V AR6>= V AR7) AND (V AR6 >= VAR8)) AND (CLOSE < OPEN)),0,V AR6,2,0),COLORBB0000;STICKLINE((((V AR6>= V AR7) AND (V AR6 >= VAR8)) AND (CLOSE < OPEN)),0,V AR6,1,0),COLORDD0000;STICKLINE((((V AR6>= V AR7) AND (V AR6 >= VAR8)) AND (CLOSE < OPEN)),0,V AR6,0.5,0),COLORFF0000;洗盘:STICKLINE(((V AR8 > V AR6) AND (V AR8 >V AR7)),0,V AR8,3,0),COLOR999999;STICKLINE(((VAR8 > V AR6) AND (V AR8 >V AR7)),0,V AR8,2,0),COLORAAAAAA;STICKLINE(((V AR8 > V AR6) AND (V AR8 >V AR7)),0,VAR8,1,0),COLORDDDDDD;STICKLINE(((V AR8 > V AR6) AND (V AR8 >V AR7)),0,V AR8,0.6,0),COLORFFFFFF;高卖:STICKLINE(((V AR7 > V AR6) AND (V AR7 >V AR8)),0,V AR7,3,0),COLOR008888;STICKLINE(((VAR7 > V AR6) AND (V AR7 >V AR8)),0,V AR7,2,0),COLOR00AAAA;STICKLINE(((V AR7> V AR6) AND (V AR7 >V AR8)),0,V AR7,1,0),COLOR00DDDD;STICKLINE(((V AR7> V AR6) AND (V AR7 >V AR8)),0,V AR7,0.5,0),COLOR00FFFF;相对地量:=STICKLINE(((V AR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);白洗盘进:1,NODRAW,COLORWHITE;黄高抛低吸:1,NODRAW,COLOR00FFFF;粉庄进追:1,NODRAW,COLORFF00FF;兰绿庄撤卖:1,NODRAW,COLOR00FF00;MA V1:MA(V,M1),LINETHIC K1,COLOR00FF00;MA V2:=MA(V,M2),LINETHICK1,COLO RFF00FF;IF(MA(V,5)>=REF(MA(V,5),1),MA(V,5),DRAW NULL),COLORRED,LINETHICK2;DRAWICON(V>=3*R EF(V,1),V*1.01,23);DRAWICON(V>=2*REF(V,1),V*0.5,25);第五个:{变色成交量东郭专用系列副图}万手:VOL/10000,LINETHICK0;AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);预测:AA/10000,LINETHICK0;BB:=VOL/((HIGH-LOW)*2-ABS (CLOSE-OPEN));买:=BUYVOL;卖:=SELLVOL;主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<O PEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));主买:主动买/10000,COLORFF00FF,LINETHICK0;主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LO W)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));主卖:-主动卖/10000,COLORGREEN,LINETHICK0;差额:主买+主卖,LINETHICK0;STICKLINE(CLOSE=REF(CLOSE,1),0,VO L,3.5,0),COLORWHITE;STICKLINE(CLOSE>REF(CLOS E,1),0,VOL,3.5,0),COLORRED;STICKLINE(CLOSE<REF( CLOSE,1),0,VOL,3.5,0),COLORGREEN;STICKLINE(CURR BARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLORYELLOW ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) ,COLOR0088FF ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) ,COLOR00AAFF ;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 2.1 , 0 ) ,COLOR00CCFF ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) ,COLOR22FFFF ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) ,COLOR66FFFF ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.3 , 0 ) , COLOR99FFFF ;STICKLINE(主动买>0,0,主动买,3.2,0),COLOR000033;STICKLINE(主动买>0,0,主动买,2.7,0),COLOR000066;STICKLINE(主动买>0,0,主动买,2.1,0),COLOR000099;STICKLINE(主动买>0,0,主动买,1.5,0),COLOR0000CC;STICKLINE(主动买>0,0,主动买,0.9,0),COLOR0000FF;STICKLINE(主动买>0,0,主动买,0.3,0),COLORCC66FF;STICKLINE(主动卖<0,VOL,主动买,3.2,0),COLOR990000;STICKLINE(主动卖<0,VOL,主动买,2.7,0),COLORCC0000;STICKLINE(主动卖<0,VOL,主动买,2.1,0),COLORFF4400;STICKLINE(主动卖<0,VOL,主动买,1.5,0),COLORFF8800;STICKLINE(主动卖<0,VOL,主动买,0.9,0),COLORFFCC00;STICKLINE(主动卖<0,VOL,主动买,0.3,0),COLORCYAN;MA5:MA(V,5),COLORWHITE;MA35 :MA(V,35),COLORYELLOW;MA135:MA(V,135),COLORGR EEN;。
通达信经典成交量指标共五个源码
通达信经典成交量指标共五个源码以下是通达信经典成交量指标共五个源码(无源码的请下载附件导入)通达信经典成交量指标共五个源码第一个:{FT-自用VOL}量:VOL,LINETHICK,COLOR00FFFF;STICKLINE(CLOSE>REF(CLOSE,1),量,0,3.5,0),COLOR0054A8;STICKLINE(CLOSE1,AMOUNT/VOL/100,(HIGH+LOW+2* CLOSE)/4);空1:=IF((HIGH-LOW)>0 AND CLOSE>CB,((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)/(HIGH-CB)) *((HIGH-CB)/(HIGH-LOW)*VOL) ,0);多1:=IF((HIGH-LOW)>0 AND CLOSE>CB, VOL-空1 ,0);多2:=IF((HIGH-LOW)>0 AND CLOSEREF(CLOSE,1), VOL,0);空3:=IF((HIGH-LOW)=0 AND CLOSE<=REF(CLOSE,1), VOL,0);多方量:多1+多2+多3,NODRAW,COLORRED;空方量:空1+空2+空3,NODRAW,COLORGREEN;STICKLINE(空方量,量,O,3,0),COLOR005A00;STICKLINE(空方量,量,O,2.5,0),COLOR006600;STICKLINE(空方量,量,O,2,0),COLOR006B00;STICKLINE(空方量,量,O,1.5,0),COLOR007700;STICKLINE(空方量,量,O,1,0),COLOR007B00;STICKLINE(空方量,量,0,0.5,0),COLOR009900;STICKLINE(多方量,多方量,O,3,0),COLOR000066;STICKLINE(多方量,多方量,O,2.5,0),COLOR000077; STICKLINE(多方量,多方量,O,2,0),COLOR000099; STICKLINE(多方量,多方量,O,1.5,0),COLOR0000BB; STICKLINE(多方量,多方量,O,1,0),COLOR0000DD; STICKLINE(多方量,多方量,O,0.5,0),COLOR0000FF; 多量线:EMA(多方量,3),COLOR00DBDB,LINETHICK2;空量线:EMA(空方量,3),COLORBFBFBF,LINETHICK2; 第二个:{FT-量子力学}N:=5;QJ0:=(HIGH+LOW+CLOSE)/3;QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)); QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0); QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW); QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN)); QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));QJ6:="MACD.DIF">"MACD.DEA" AND"MACD.DEA""KDJ.D" AND "KDJ.D"小单;量振2:=特大0,A,0);B0:=IF(A<0,A,0);STICKLINE(A0,0,A0,3,0),COLOR000044; STICKLINE(A0,0,A0,2.5,0),COLOR000088; STICKLINE(A0,0,A0,1.5,0),COLOR0000AA; STICKLINE(A0,0,A0,1,0),COLOR0000CC;STICKLINE(B0,0,-B0,3,0),COLOR004400;STICKLINE(B0,0,-B0,2.5,0),COLOR008800; STICKLINE(B0,0,-B0,1.5,0),COLOR00AA00; STICKLINE(B0,0,-B0,1,0),COLOR00CC00;周趋势:MA(A,5),COLORFFFFFF;平滑值:EMA(周趋势,5),COLOR00FFFF;STICKLINE(标振1 AND 量振1 AND 周趋势>平滑值,0,A0,3,0),COLORYELLOW;DRAWTEXT(标振1 AND 量振1 AND 周趋势>平滑值,A0,'振'),COLORYELLOW;第三个:{FT-提前量}N1:=12;N2:=26;M:=9;CC:=(C+L+H+O)/4;DIFF:=EMA(CC,5)-EMA(CC,13),COLORBB00BB,LINETHI CK2;DEA:=EMA(DIFF,4),COLOR00BB00,LINETHICK2;MACD:=XMA((DIFF-DEA)*200,2),COLORSTICK;红柱持股:MACD,NODRAW;黄色高抛:MACD,NODRAW;蓝柱持币:MACD,NODRAW;紫色反弹:MACD,NODRAW;STICKLINE(MACD0,0,MACD,6,0 ),COLOR003333;STICKLINE(MACD0,0,MACD,3.5,0 ),COLOR004444;STICKLINE(MACD0,0,MACD,3,0 ),COLOR005555;STICKLINE(MACD0,0,MACD,2.5,0 ),COLOR007777; STICKLINE(MACD0,0,MACD,2,0 ),COLOR009999; STICKLINE(MACD0,0,MACD,1.5,0 ),COLOR00BBBB; STICKLINE(MACD0,0,MACD,1,0 ),COLOR00DDDD; STICKLINE(MACD0,0,MACD,0.5,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,6 ,0 ),COLOR000033;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,3.5 ,0 ),COLOR000044;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,3 ,0 ),COLOR000055;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,2.5 ,0 ),COLOR000077;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,2 ,0 ),COLOR000099;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,1.5 ,0 ),COLOR0000BB;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,1 ,0 ),COLOR0000DB;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,0.5 ,0 ),COLOR0000FF;STICKLINE(MACD>REF(MACD,1)AND MACDREF(MACD,1)AND MACDREF(MACD,1)AND MACDREF(MACD,1)ANDMACD<0,0,MACD,0.5,0 ),COLORFF00FF;STICKLINE(MACD<=REF(MACD,1)ANDMACD<0,0,MACD,6,0 ),COLOR333300;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.5,0 ),COLOR444400;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3,0 ),COLOR555500;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.5,0 ),COLOR777700;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2,0 ),COLOR999900;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.5,0 ),COLORBBBB00;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1,0 ),COLORDDDD00;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.5,0 ),COLORFFFF00;DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;DEAA:=EMA(DIF,9);RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5)) *100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);J:=3*K-2*D;主流资金:=(EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,3 4)),3))/100, COLORRED,LINETHICK2;非主流资金:=(EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH ,34)-LLV(INDEXL,34)),3))/100,COLORGREEN,LINETHIC K2;KJ共振:CROSS(DIF,DEAA) AND CROSS(K,D) AND 主流资金>非主流资金;DRAWTEXT(KJ共振,红柱持股,'B'),COLORGREEN;四连阳:EVERY(红柱持股>REF(红柱持股,1),4),NODRAW;LAST((H-L)/REF(C,1)REF(VOL,1)*2 ANDC>REF(C,1)*1.03AND "DMI.PDI">"DMI.MDI" ANDCROSS("DMI.ADX","DMI.ADXR")AND"DMI.ADXR">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND"KDJ.D">REF("KDJ.D",1);第四个:{FT-L001}{N 1.00 100.00 15.0}{M1:5;M2:10;M3:20;M4:60}公积金:FINANCE(18),COLORRED,NODRAW;现金流亿:FINANCE(26)/100000000,NODRAW;市值:FINANCE(40)/100000000,COLORFF00FF,NODRAW;SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100 >100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*10 0);能量:=SAT,VOLSTICK;DRAWTEXT(FILTER(SAT>=100,100),VOL*1.06,'爆'),COLORRED;DRAWTEXT(SAT=100 AND ISLASTBAR,VOL*1.03,'发'),COLORYELLOW;VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));成交:=VOL;买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH -LOW)),IF((CLOSE OPEN),(0 - (VAR1 * ((HIGH - CLOSE) +(OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘+ 卖盘);STICKLINE((买卖差< 0),0,买卖差,3,0),LINETHICK3,COLOR339933;STICKLINE((买卖差< 0),0,买卖差,2,0),LINETHICK3,COLOR33AA33;STICKLINE((买卖差JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);VAR30:=MA(VOL,JY2);动神:=买盘;鬼力:=VAR20;神比:=(动神/ VAR30);鬼比:=(鬼力/ VAR30);VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN)); VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW); VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);VAR9:=IF(((VOL / CAPITAL) >0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND(MA(CLOSE,10) > MA(CLOSE,30))) AND(MA(CLOSE,30) > MA(CLOSE,60)));VARC:=((MA(CLOSE,5) = VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 >VAR8)),VAR7,动神) + 动神) / 2);VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 >VAR7)),VAR8,动神) + 动神) / 2);VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSEMA(CLOSE,30)),0,VOL,2,0),COLOR0000AA;STICKLINE((CLOSE >MA(CLOSE,30)),0,VOL,1,0),COLOR0000DD;STICKLINE((CLOSE >MA(CLOSE,30)),0,VOL,0.5,0),COLOR0000FF;空头:STICKLINE((CLOSE <MA(CLOSE,30)),0,VOL,3,0),COLOR008800; STICKLINE((CLOSE 0),鬼力,0,4,0),COLORFF3399;加仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE > OPEN)),0,VAR6,3,0),COLOR880088; STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,2,0),COLORAA00AA;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE > OPEN)),0,VAR6,1,0),COLORDD00DD; STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,0.5,0),COLORFF00FF;减仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE = VAR8))AND (CLOSE VAR7)),0,VAR8,3,0),COLOR999999;STICKLINE(((VAR8 > VAR6) AND (VAR8 >VAR7)),0,VAR8,2,0),COLORAAAAAA;STICKLINE(((VAR8 > VAR6) AND (VAR8 >VAR7)),0,VAR8,1,0),COLORDDDDDD;STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,0.6,0),COLORFFFFFF;高卖:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,3,0),COLOR008888;STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,2,0),COLOR00AAAA;STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,1,0),COLOR00DDDD;STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,0.5,0),COLOR00FFFF;相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);白洗盘进:1,NODRAW,COLORWHITE;黄高抛低吸:1,NODRAW,COLOR00FFFF;粉庄进追:1,NODRAW,COLORFF00FF;兰绿庄撤卖:1,NODRAW,COLOR00FF00;MAV1:MA(V,M1),LINETHICK1,COLOR00FF00;MAV2:=MA(V,M2),LINETHICK1,COLORFF00FF;IF(MA(V,5)>=REF(MA(V,5),1),MA(V,5),DRAWNULL),COL ORRED,LINETHICK2;DRAWICON(V>=3*REF(V,1),V*1.01,23);DRAWICON(V>=2*REF(V,1),V*0.5,25);第五个:{变色成交量东郭专用系列副图}万手:VOL/10000,LINETHICK0;AA:=IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);预测:AA/10000,LINETHICK0;BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买:=BUYVOL;卖:=SELLVOL;主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSEOPEN, 0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEREF(CL OSE,1),0,VOL,3.5,0),COLORRED;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,0),COLO RGREEN;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 3.5 , 0 ) , COLORYELLOW ;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 3.2 , 0 ) , COLOR0088FF ;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 2.7 , 0 ) , COLOR00AAFF ;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00CCFF ;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 1.5 , 0 ) , COLOR22FFFF ;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,AA,1 , 0.3 , 0 ) , COLOR99FFFF ; STICKLINE(主动买>0,0,主动买,3.2,0),COLOR000033; STICKLINE(主动买>0,0,主动买,2.7,0),COLOR000066; STICKLINE(主动买>0,0,主动买,2.1,0),COLOR000099;STICKLINE(主动买>0,0,主动买,1.5,0),COLOR0000CC; STICKLINE(主动买>0,0,主动买,0.9,0),COLOR0000FF; STICKLINE(主动买>0,0,主动买,0.3,0),COLORCC66FF; STICKLINE(主动卖<0,VOL,主动买,3.2,0),COLOR990000; STICKLINE(主动卖<0,VOL,主动买,2.7,0),COLORCC0000; STICKLINE(主动卖<0,VOL,主动买,2.1,0),COLORFF4400; STICKLINE(主动卖<0,VOL,主动买,1.5,0),COLORFF8800; STICKLINE(主动卖<0,VOL,主动买,0.9,0),COLORFFCC00; STICKLINE(主动卖<0,VOL,主动买,0.3,0),COLORCYAN; MA5:MA(V,5),COLORWHITE;MA35:MA(V,35),COLORYELLOW;MA135:MA(V,135),COLORGREEN;。
通达信量柱主副图公式
通达信量柱主副图公式量柱主图水平面:MA(CLOSE,89),COLORFFA2FF;BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;IF(BBI>REF(BBI,1),BBI,DRAWNULL),COLORRED,LINETHICK2;IF(BBI<REF(BBI,1),BBI,DRAWNULL),COLORYELLOW,LINETHICK2;MA1:MA(CLOSE,24),COLOR00E300,LINETHICK1;V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); STICKLINE(V2>=1,O,C,2,0),COLORYELLOW;MA13:=MA(CLOSE,13);X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);A1:=MIN(O,C);B1:=ABS(O-C);T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);{DRAWTEXT(CROSS(FF,MA15),(LOW * 0.97),'底背离'),COLORA6E500; DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'顶背离'),COLOR1880FF;} STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,2,0),COLOR7F017F;STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,2,0),COLORGREEN;T2:=COUNT(CROSS(BBI,3),3)=1 AND CROSS(C,BBI);DRAWTEXT(T2,H*1.05,'反转'),COLORWHITE;STICKLINE(T2,O,C,2,0),COLORRED;T12:=V2>=1;T0:=BARSLAST(T12);L1:=REF(L,T0);H1:=REF(H,T0);STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),H1,H1,4,-1),COLORWHITE; STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),L1,L1,4,-1),COLORWHITE; {T11:=REF(T12,3) AND COUNT(L<L1,4)=0 AND COUNT(L>H1,4)>1; DRAWTEXT(T11,H*1.05,'三天'),COLORWHITE;STICKLINE(T11,O,C,2,0),COLORFF00FF;}{(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) };L11:=MIN(REF(L,1),L);L10:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1));T11:=T111 AND REF(T111,1)=0;STICKLINE(T11,O,C,2,0),COLORFF00FF;高:=REF(HHV(H,N),M);低:=REF(LLV(L,N),M);H19:=高-(高-低)*0.191;H38:=高-(高-低)*0.382;H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;H80:=高-(高-低)*0.809;顶点:REFDATE(高,DATE),POINTDOT,LINETHICK2,COLORWHITE;%19.8:REFDATE(H19,DA TE),POINTDOT,LINETHICK2,COLORYELLOW;%38.2:REFDATE(H38,DA TE),POINTDOT,LINETHICK2,COLORGREEN;%50:REFDATE(H中,DATE),POINTDOT,LINETHICK2,COLORRED;%61.8:REFDATE(H61,DA TE),POINTDOT,LINETHICK2,COLORMAGENTA;%80.9:REFDATE(H80,DA TE),POINTDOT,LINETHICK2,COLORBLUE;低点:REFDATE(低,DATE),POINTDOT,LINETHICK2,COLORWHITE; DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;STICKLINE(T1,A1,A1+B1/2,2,0),COLOR007575;STICKLINE(T1,A1+B1/2,A1+B1,2,0),COLORBLUE;STICKLINE(T11 AND T12,A1,A1+B1/2,2,0),COLORFF00FF;STICKLINE(T11 AND T12,A1+B1/2,A1+B1,2,0),COLORYELLOW;STICKLINE(T1 AND T12,A1+B1/3,A1+B1,2,0),COLORYELLOW;STICKLINE(T1 AND T12,A1,A1+B1/3,2,0),COLOR007575;STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,2,0),COLORBLUE;STICKLINE(T2 AND T12,A1+B1/2,A1+B1,2,0),COLORRED;STICKLINE(T2 AND T12,A1,A1+B1/2,2,0),COLORYELLOW;主图参数设置:倍量成交量VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;STICKLINE(AA,0,V,1,0),COLORYELLOW;STICKLINE(AA1,0,V,1,0),COLORGREEN;STICKLINE(AA2,0,V,1,0),COLORMAGENTA;STICKLINE(AA3,0,V,1,0),COLORWHITE;MV1:MA(VOL,5);MV2:MA(VOL,15);。
通达信柱状信号指标公式
通达信柱状信号指标公式E13:=EXPMA(C,13);M8:=MA(C,8);M21:=MA(C,21);M233:=MA(C,233);E10:=EXPMA(C,10);ZZT:=C/REF(C,1)>1.095 AND C=H;ZA:=BARSLASTCOUNT(ZZT);ZT:=BARSLAST(CROSS(ZA=3,0.5));ZLL:=REF(L,(ZT+2));ZTJ:=C<ZLL;ZAA:=COUNT(ZTJ,ZT+1)=1 AND ZTJ;ZTA:=BARSLAST(ZAA);ZLT:=BARSLAST(L=LLV(L,ZTA+1));ZTJ1:=CROSS(C,E10);ZXG:=COUNT(ZTJ1,ZLT+1)=1 AND ZTJ1 AND TOTALBARSCOUNT>200;STICKLINE(ZXG,0,7,2,0),COLORGRAY;HA:=M8/M21*100;HTJ:=BARSLASTCOUNT(RANGE(HA,99.9,100.3));HHB:=MAX(C,O)/MIN(C,O)*100-100;HTJ1:=BARSLASTCOUNT(HHB<2);HZF:=(HHV(H,5)-LLV(L,5))/LLV(L,5)*100;HDZF:=(H-L)/REF(C,1)*100;HTJ2:=COUNT(MIN(C,O)/L>1.03,5)=0;HTJ3:=COUNT(H<REF(L,1),5)=0;HTJ4:=C>M233;HXG:=HTJ>4 AND HTJ1>4 AND HZF<10 AND HTJ2 AND HTJ3 AND HTJ4;STICKLINE(CROSS(HXG,0.5),0,5,2,0),COLORLIMAGENTA;ZF:=(C-REF(C,1))/REF(C,1)*100;TJ:=EVERY(RANGE(ZF,-2.22,2.55),15);TJ1:=C>O AND C/REF(C,1)>1.03;TJ2:=COUNT(E13>=REF(E13,1),15);JD:=(ATAN((E13/REF(E13,15)-1)*100)*180/3.1415926);A:=IF(MIN(C,O)>E13,MAX(C,O)/E13*100-100,IF(MAX(C,O)<E13,E13/MIN(C,O),E13));B:=MAX(C,O)/MIN(C,O)*100-100;LL:=LLV(A,15);HH:=HHV(A,15);HB:=COUNT(BB>3,15)<2;XG:=REF(TJ,1) AND TJ1 AND TJ2>13 AND JD>72 AND REF(LL,1)<1.37 AND REF(HH,1)<11.15;STICKLINE(XG,0,6,2,0),COLORGREEN;WT:=BARSLAST(WEEKOFYEAR!=REF(WEEKOFYEAR,1));C1:=REF(C,WT+1);C2:=REF(C1,WT+1);C3:=REF(C2,WT+1);C4:=REF(C3,WT+1);C5:=REF(C4,WT+1);C6:=REF(C5,WT+1);C7:=REF(C6,WT+1);C8:=REF(C7,WT+1);C9:=REF(C8,WT+1);WM10:=(C+C1+C2+C3+C4+C5+C6+C7+C8+C9)/10;E20:=EXPMA(C,20);E120:=EXPMA(C,120);E250:=EXPMA(C,250);WA:=MACD.DIF;WB:=MACD.DEA;WT1:=BARSLAST(CROSS(WA,WB));WST:=BARSLAST(CROSS(WB,WA));WZF:=(HHV(H,110)-LLV(L,110))/LLV(L,110)*100;WTJ:=EVERY(V>REF(V,1),2);WHH:=MAX(MAX(E20,E120),E250);WLL:=MIN(MIN(E20,E120),E250);WNH:=WHH/WLL*100-100;WTJ1:=EVERY(WNH<40,25);WZZF:=(C-REF(C,10))/REF(C,10)*100 ;WTJA:=C>WM10;WXG:=WT1=0 AND WA<REF(WA,WST) AND WB<REF(WB,WST) AND WZF<70 AND WTJ AND WTJ1 AND WZZF<1.4 AND WTJA;STICKLINE(WXG,0,8,2,0),COLORWHITE;M5:=MA(C,5);M10:=MA(C,10);M15:=MA(C,15);FTJ:=M5>REF(M5,1) AND M10>REF(M10,1) AND M15>=REF(M15,10);FT:=BARSLAST(CROSS(FTJ,0.5));FTT:=BARSLAST(WEEKOFYEAR!=REF(WEEKOFYEAR,1));FHH:=MAX(MAX(M5,M10),M15);FLL:=MIN(MIN(M5,M10),M15);FNH:=FHH/FLL*100-100;FZZF:=(C-REF(C,FTT+1))/REF(C,FTT+1)*100;FZZF1:=REF(FZZF,FTT+1);FTJ2:=CROSS(FZZF>20,0.5) OR CROSS(FZZF1>20,0.5);FJD:=(ATAN((M5/REF(M5,1)-1)*100)*180/3.1415926);FTJA:=FZZF1>0 AND FZZF1>0 ;FDT:=M10/M15*100-100>1 AND H/MAX(C,O)<1.03;FBL:=MIN(C,O)/M5;FBL5:=M5/M10*100-100;FXG:=FTJ2 AND C=HHV(C,5) AND BETWEEN(FT,0,5)AND FTJA AND FNH<12 AND FDT AND FBL<1.045 AND FBL5<7.2 AND FJD<77.5;STICKLINE(CROSS(FXG,0.5),0,8,1.5,0),COLORRED;DTJ:=O>REF(H,1) AND C<O AND O/C<C/L AND V>REF(V,1);DTT:=BARSLAST(REF(ZA>1,1) AND DTJ);DXG:=COUNT(CROSS(C,REF(H,DTT)),DTT+1)=1 AND CROSS(C,REF(H,DTT));STICKLINE(DXG,0,9,1.3,0),COLORBLUE;QT:=BARSLAST(C>REF(C,1)*1.095 AND C=H);QTJ:=(C-REF(C,QT+1))/REF(C,QT+1)*100;QTJ1:=EVERY(C<O,QT);QTJ2:=COUNT(REF(C,1)/C>1.09,QT)>0 AND REF(C,1)/C>1.09;QA:=QTJ>-1 AND QTJ1 AND QTJ2;QTA:=BARSLAST(QA);QHH:=REF(H,QTA);QTJ3:=EVERY(MAX(C,O)<QHH,QTA);QTJ4:=MIN(C,O)<QHH AND MAX(C,O)>QHH AND COUNT(MIN(C,O)<QHH AND MAX(C,O)>QHH,QTA)=1;QTJ5:=REF(QTJ3,1) AND QTA<69 AND IF(C<O,O/QHH>1.007,C>O) AND IF(C<O,REF(C,1)/C<1.06,C>O);QXG:=QTJ4 AND QTJ5;STICKLINE(QXG=1,0,10,1.5,0),COLORLICYAN;DIF:=MACD.DIF;H300:=HHVBARS(DIF,300);IA:=BOLL.UB;IT:=BARSLAST(CROSS(IA>=REF(IA,1),0.5));E25:=EXPMA(C,25);IZF:=EVERY(RANGE(C/REF(C,1),0.97,1.05),IT+1);IZFF:=(HHV(H,IT+1)-LLV(L,IT+1))/LLV(L,IT+1)*100;ITJ:=EVERY(MAX(C,O)/IA<1.02 ,IT+1);IXL:=(ATAN((E25/REF(E25,IT)-1)*100)*180/3.1415926);ITJ1:=CROSS(DIF>=REF(DIF,H300),0.5) AND IZFF<17 AND IZF AND ITJ;ITJ2:=MIN(C,O)/E25>1.04;IXG:=ITJ1 AND IXL>75;STICKLINE(IXG,0,8,2,0)COLORLIGREEN;LT8:=LLVBARS(L,60);LTT8:=BARSLAST(CURRBARSCOUNT=CONST(LT8)+1);HT8:=FINDHIGHBARS(H,LT8+1,60,1);A8:=DRAWLINE(CURRBARSCOUNT=CONST(HT8)+1,H,ISLA STBAR,REF(H,HT8),0);TT8:=BARSLAST(CURRBARSCOUNT=CONST(HT8)+1);AA8:=CROSS(C,CONST(A8));TJ8:=COUNT(AA8,TT8+1)=1 AND AA8;TJ18:=COUNT(V<MA(V,277),TT8+1) ;BL8:=TJ18/(TT8+1)*100;XG8:=TJ8 AND TT8>40 AND BL8>70;XGT8:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(X G8))+1);ZH8:=REF(H,TT8);YL8:=REF(L,LTT8);XC8:=REF(C,XGT8);YZ8:=(XC8-YL8)/YL8*100;ZBL8:=YZ8/REF(LTT8,XGT8);XGA8:=XG8 AND ZBL8<2.95;STICKLINE(XGA8,0,10,1.5,0),COLORYELLOW;SNH:=E120/E250*100-100;STA:=EVERY(SNH<3 AND E120>E250,20);STB:=CROSS(E20,MAX(E120,E250));STC:=MIN(C,O)/E20<1.08;SXG:=STB AND STA AND STC;STICKLINE(SXG,0,8,2,0),COLORLIRED;DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,'周线走好-白色柱'),COLORWHITE;DRAWTEXT_FIX(ISLASTBAR,0.005,0.1,0,'周线翻红-红色柱'),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.005,0.05,0,'一壶清茶-蓝色柱'),COLORBLUE;DRAWTEXT_FIX(ISLASTBAR,0.005,0.15,0,'突破阴棒-淡青柱'),COLORLICYAN;DRAWTEXT_FIX(ISLASTBAR,0.005,0.2,0,'平步青云-淡绿柱'),COLORLIGREEN;DRAWTEXT_FIX(ISLASTBAR,0.12,0,0,'直捣老巢-深灰柱'),COLORGRAY;DRAWTEXT_FIX(ISLASTBAR,0.12,0.05,0,'锅顶突破-黄色柱'),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.12,0.1,0,'蚂蚁上树-绿色柱'),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.12,0.15,0,'含苞待放-粉红柱'),COLORLIMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0.12,0.2,0,'幸福一家-浅红柱'),COLORLIRED;。
通达信指标公式源码柱状VR资金可以非常清晰的看到主力进出
通达信指标公式源码柱状VR资金可以非常清晰的看到主力进出{n 1 100 13}HGY:=17;转强信号:FILTER(COUNT((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)- REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(E MA(C,HGY),HGY), HGY),1))<="" p="">HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY), 1)),1),5)>=4 AND ((WINNER(C*0.95)>0.5 AND COST(85)<="" bdsfid="70" p="">(100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA( C ,HGY),HGY),HGY),1))>0) OR((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HG Y),HGY),1))> REF((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),H GY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1) AND (100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>0) OR((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA( C ,HGY),HGY),HGY),1))<=0 AND(100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY ),HGY),1))>REF( (100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1))),5),COLOR 00FFFF; STICKLINE(转强信号,1,150,3,1),COLORRED,LINETHICK5;TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),26);TL:=SUM(IF(CLOSE<ref(close,1),vol,0),26);< bdsfid="90" p=""></ref(close,1),vol,0),26);<>TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);VR:100*(TH*2+TQ)/(TL*2+TQ),NODRAW;MAVR:MA(VR,10),NODRAW;STICKLINE(VR>MAVR,0,VR,3,0),COLORRED;STICKLINE(MAVR,0,MAVR,1,0),COLOR00FF00;DRAWTEXT(CROSS(VR,250) AND VR>MAVR ANDCOUNT(VR<=300,21)=21,VR,'●加速'),COLOR00FFFF;DRAWTEXT(CROSS(VR,MAVR) AND VR<=250 AND VR>=100 ANDCOUNT(MAVR<ref(mavr,1),5)<="" p=""></ref(mavr,1),5)DRAWTEXT(CROSS(VR,MAVR) AND VR<=100,VR,'●底仓'),COLOR00FFFF; {DRAWICON(MAVR>REF(MAVR,1) AND REF(MAVR,1)<="" bdsfid="102" drawicon(mavrREF(MAVR,1)>REF(MAVR,2),MAVR,2);};RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00,NO DRAW;中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED,NODRAW;RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;长线:SMA(RSV3,5,1),COLORYELLOW,NODRAW;看底:STICKLINE(中线<15,中线,15,6,0),COLORF00FF0;黄金坑:STICKLINE(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,8,0),COLOR00CCFF;看顶:STICKLINE(中线>80,80,中线,6,0),COLORFFF000;DRAWICON(CROSS(长线,15),中线,1),NODRAW;DRAWTEXT(LONGCROSS(中线,20,15),20,'追涨'),NODRAW;DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),20,'千载难逢'),NODRAW;{粘合星:DRAWTEXT(ABS(中线-长线)<2 AND 中线>REF(中线,1),中线,'*');}中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));底:DRAWTEXT(CROSS(中线2,-90) AND (长线<中线AND 长线>REF(长线,1)OR 短线<20 AND 中线<20 AND 长线<20),长线,'底'),COLORFF00FF,NODRAW;IF(COUNT(CROSS(中线2,-90),12)=3,30,5),NODRAW;IF(COUNT(CROSS(-5,中线2),12)=3 OR COUNT(CROSS(-15,中线2),6)=3,70,100),NODRAW;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);五强:=MA5>REF(MA5,1);十强:=MA10>REF(MA10,1);小均强:=五强AND 十强;强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60);强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20);强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10);强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13);开始走强1:=强势线1>REF(强势线1,1);开始走强2:=强势线2>REF(强势线2,1);开始走强3:=强势线3>REF(强势线3,1);开始走强4:=强势线4>REF(强势线3,1);双强1:=开始走强1 AND 开始走强2;双强2:=开始走强2 AND 开始走强3;双强3:=开始走强2 AND 开始走强3;双强4:=开始走强3 AND 开始走强4;三强:=开始走强1 AND 开始走强2 AND 开始走强3;四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4;强势为王:=双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强OR 四强; VV:=(C+L+H)/3;DSA:=SMA(XMA(VV,15),2,1);底部1:=DSA*0.9518;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,60);五日走强:=MA1>REF(MA1,1);十日走强:=MA2>REF(MA2,1);二十日走强:=MA3>REF(MA3,1);六十日走强:=MA4>REF(MA4,1);低位主升:=五日走强AND 十日走强AND 六十日走强;主升浪:=五日走强AND 十日走强AND 二十日走强;大主升浪:=十日走强AND 二十日走强AND 六十日走强;大主升浪2:=五日走强AND 十日走强AND 二十日走强AND 六十日走强; 总主升:=主升浪AND 大主升浪AND 大主升浪2;总主升浪:=低位主升OR 主升浪OR 大主升浪OR 大主升浪2 OR 总主升; 低买:L<底部1 AND 总主升浪AND 强势为王AND C<dsa,nodraw,colorgreen,linethick1;< bdsfid="160" p=""></dsa,nodraw,colorgreen,linethick1;<>STICKLINE(低买,0,15,3,0),COLORGREEN;猎股:L<底部1 AND C<="">王,NODRAW,COLORYELLOW,LINETHICK1;STICKLINE(猎股,15,30,3,0),COLOR0078FF;STICKLINE(猎股,15,30,0.3,0),,COLOR00F8FF;猎股大王出击:=低买AND 猎股AND H<dsa;< bdsfid="168" p=""></dsa;<>A:=MA(C,30);A1:=A*1.1;A4:=A*0.9;A2:=A1-(A1-A4)*0.191;持仓:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A1,A4);生命线:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A2,A4);主升持仓:=持仓>生命线;主升1:=持仓>REF(持仓,1);主升2:=生命线>REF(生命线,1);主升3:=主升1 AND 主升2;主升猎股王:=(猎股大王出击AND 主升持仓AND 主升3) OR (猎股AND 主升持仓AND 主升3);主升:(主升猎股王AND 小均强) OR (猎股AND 小均强),NODRAW,COLORMAGENTA,LINETHICK1;STICKLINE(主升,30,45,3,0),COLORMAGENTA;BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;超跌1:=BIAS21<=-17 AND BIAS21<=REF(BIAS21,1);阻击1:=REF(超跌1,1) AND BIAS21>REF(BIAS21,1);BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;超跌2:=BIAS20<=-17 AND BIAS20<=REF(BIAS20,1);阻击2:=REF(超跌2,1) AND BIAS20>REF(BIAS20,1);BIAS19:=(CLOSE-MA(CLOSE,19))/MA(CLOSE,19)*100;超跌3:=BIAS19<=-17 AND BIAS19<=REF(BIAS19,1);阻击3:=REF(超跌3,1) AND BIAS19>REF(BIAS19,1);BIAS18:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;超跌4:=BIAS18<=-16 AND BIAS18<=REF(BIAS18,1);阻击4:=REF(超跌4,1) AND BIAS18>REF(BIAS18,1);BIAS17:=(CLOSE-MA(CLOSE,17))/MA(CLOSE,17)*100;超跌5:=BIAS17<=-16 AND BIAS17<=REF(BIAS17,1);阻击5:=REF(超跌5,1) AND BIAS17>REF(BIAS17,1);BIAS16:=(CLOSE-MA(CLOSE,16))/MA(CLOSE,16)*100;超跌6:=BIAS16<=-16 AND BIAS16<=REF(BIAS16,1);阻击6:=REF(超跌6 ,1) AND BIAS16>=REF(BIAS16,1);BIAS15:=(CLOSE-MA(CLOSE,15))/MA(CLOSE,15)*100;超跌7:=BIAS15<=-14 AND BIAS15<=REF(BIAS15,1);阻击7:=REF(超跌7,1) AND BIAS15>REF(BIAS15,1);BIAS14:=(CLOSE-MA(CLOSE,14))/MA(CLOSE,14)*100;超跌8:=BIAS14<=-14 AND BIAS14<=REF(BIAS14,1);阻击8:=REF(超跌8,1) AND BIAS14>REF(BIAS14,1);BIAS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;超跌9:=BIAS13<=-13 AND BIAS13<=REF(BIAS13,1);阻击9:=REF(超跌9 ,1) AND BIAS13>REF(BIAS13,1);BIAS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;超跌10:=BIAS12<=-13 AND BIAS12<=REF(BIAS12,1);阻击10:=REF(超跌10,1) AND BIAS12>REF(BIAS12,1);BIAS11:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;超跌11:=BIAS11<=-13 AND BIAS11<=REF(BIAS11,1);阻击11:=REF(超跌11,1) AND BIAS11>REF(BIAS11,1);BIAS10:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100;超跌12:=BIAS10<=-12 AND BIAS10<=REF(BIAS10,1);阻击12:=REF(超跌12,1) AND BIAS10>REF(BIAS10,1);BIAS9:=(CLOSE-MA(CLOSE,9))/MA(CLOSE,9)*100;超跌13:=BIAS9<=-12 AND BIAS9<=REF(BIAS9,1);阻击13:=REF(超跌13,1) AND BIAS9>REF(BIAS9,1);CD1:= 超跌1 OR 超跌2 OR 超跌3 OR 超跌4 OR 超跌5 OR 超跌6 OR 超跌7 OR 超跌8 OR 超跌9 OR 超跌10 OR 超跌11 OR 超跌12 OR 超跌13; CD2:= 阻击1 OR 阻击2 OR 阻击3 OR 阻击4 OR 阻击5 OR 阻击6 OR 阻击7 OR 阻击8 OR 阻击9 OR 阻击10 OR 阻击11 OR 阻击12 OR 阻击13;短线超跌:IF(CD1,18,0),COLORYELLOW;短线超跌阻击:IF(CD2,28,0),COLORRED;STICKLINE(短线超跌=18,18,0,3,0),COLOR00FFFF;STICKLINE(短线超跌阻击=28,28,0,3,0),COLOR0000FF;周J:=MA("KDJ.J#WEEK"(9,3,3) ,5);AA1:IF(周J<=0 ,-4,0),COLOR00CCCC,LINETHICK3;DRAWBAND(0,RGB(250,0,0),AA1,RGB(0,0,0));T:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);SL:=(T/REF(T,1)-1)*1000;快短期趋势:=XMA(XMA(XMA(SL,3),3),3);慢短期趋势:=XMA(XMA(XMA(SL,5),5),5);X1:=快短期趋势-慢短期趋势;增速1:=X1;Y:=X1;趋势:=XMA(XMA(XMA(SL,29),29),29),COLORLIBLUE,LINETHICK1;QW1:=趋势>REF(趋势,1);趋势2:=XMA(XMA(XMA(SL,13),13),13),COLORMAGENTA,LINETHICK1;QW2:=趋势>0;趋势3:=XMA(XMA(XMA(SL,9),9),9);QW3:=趋势3>趋势;QA6:=趋势2>REF(趋势2,1);QA8:=((FILTER(ATAN(EMA(快短期趋势,13)-REF(EMA(快短期趋势,13),1))>1 ANDEMA(快短期趋势,13)>REF(EMA(快短期趋势,8),1),10)) AND QA6 AND QW2 AND (ZIG(3,12)>MA(ZIG(3,12),2))),NODRAW;XG:QA8*10,COLORGREEN,NODRAW;STICKLINE(XG,1,150,1.5,1),COLOR00ECFF,LINETHICK5;DRAWTEXT(XG,148,'●MACD'),COLOR00ECFF;DRAWTEXT(转强信号,188,'●转强'),COLOR00FFFF;。
通达信指标公式源码 自用成交量指标量价之王成交量+板块行业细分
换手率:V/CAPITAL*100;成交额:AMO/100000000,NODRAW,COLORRED;流通盘:CAPITAL/1000000;流通市值:流通盘*1*C,NODRAW;所属地域:DRAWTEXT_FIX(ISLASTBAR,0.33,0,0,HYBLOCK),COLORYELLOW; 所属概念:DRAWTEXT_FIX(ISLASTBAR,0.46,0,0,GNBLOCK),COLORYELLOW; 所属地区:DRAWTEXT_FIX(ISLASTBAR ,0.88,0,0,DYBLOCK),COLORYELLOW; VOLUME:VOL,VOLSTICK;|:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2; STICKLINE(|,0,V,1,0),COLORGREEN;DRAWTEXT(|,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICKLINE(BLZ,0,V,1,0),COLORYELLOW;倍量柱:BLZ,COLORYELLOW;DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+ 3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:|,COLORGREEN;FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINETHICK0;STICKLINE(FLZ,0,V,1,0),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA; 平量柱:FLZ,COLORMAGENTA;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);MAVOL3:MA(VOLUME,M3);DRAWTEXT_FIX(1,0.00,0.70,0,':'),COLOR00FFFF;。
通达信红色量能柱指标公式
通达信红色量能柱指标公式
通达信红色量能柱指标公式通常用于反映股票成交量的变化情况以及量能的放大或缩小。
您之前提供的信息中并没有完整的“红色量能拉升指标公式”,但根据常规做法,这类指标可能会基于成交量与价格的关系来设计,并用红色柱状图表示量能增强。
以下是一个简单的示例,展示了如何构建一个基于成交量的红色量能柱:
VOLUME:VOL; { 定义成交量为VOLUME };
量能强度: IF(CLOSE>OPEN, VOLUME, -VOLUME); { 如果收盘价高于开盘价,则取正值成交量,否则取负值 };
量能红柱: MA(量能强度, 5); { 对量能强度进行移动平均,例如使用5日简单移动平均 };
STICKLINE(量能红柱>0, 0, 量能红柱, 3, 0), COLOR0000AA; { 当量能红柱大于0时绘制红色柱状线 };
请注意,上述公式仅为示意,并非实际的“红色量能拉升指标公式”。
真实的红色量能柱指标可能包含更复杂的计算和过滤条件以适应不同的市场环境和交易策略。
如果您有具体的红色量能柱指标公式需求或者想了解某一特定公式,请提供详细信息以便我能给出精确的答案。
1。
通达信量柱指标公式源码
通达信量柱指标公式源码
```
/*通达信量柱指标公式*/
/*参数:N1(短周期),N2(长周期)*/
/*输出:BAR(量柱指标)*/
C:=C;
V:=V;
AA:MA(C,N1)/MA(C,N2)*100;
VAR:=CROSS(AA,CROSS(MA(V,N1)/MA(V,N2)*100,0));
VAR1:REF(VAR,1);
BAR:IF(VAR>VAR1,SUM(VAR-VAR1,20),0);
```
上述代码是通达信量柱指标的源码实现。
其中,N1和N2是用户可以
自定义的短期和长期参数,用来设置计算的周期长度。
C表示收盘价序列,V表示成交量序列。
公式的计算过程如下:
1.首先计算AA=MA(C,N1)/MA(C,N2)*100,表示当日短周期均线除以
长周期均线,并乘以100。
2.然后计算VAR=CROSS(AA,CROSS(MA(V,N1)/MA(V,N2)*100,0)),表
示当AA上穿0和当AA上穿成交量的均线之间时,VAR值为1,否则为0。
3.接下来计算VAR1=REF(VAR,1),表示将VAR值向前引用一天。
4.最后计算BAR=IF(VAR>VAR1,SUM(VAR-VAR1,20),0),表示如果VAR 大于VAR1,则累计20天VAR-VAR1的值,否则为0。
BAR即为量柱指标,代表了成交量的变化情况。
当BAR值大于0时,表示当日成交量较前一天有所增加,当BAR值小于0时,表示当日成交量较前一天有所减少。
通达信指标公式源码量柱擒涨停+黄金柱+涨停时间窗主图
C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW;STICKLINE(涨停,H,L,0,0),COLORYELLOW;跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0); STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;STICKLINE(大阳线,H,L,0,1),COLORRED;大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0); STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;STICKLINE(大阴线,H,L,0,1),COLORGREEN;TY:=C;AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10);C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10);CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,CIRCLEDOT;前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,CIRCLEDOT;{黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ ,5)+2*REF(JJ,6)+REF(JJ,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 ANDCLOSE>REF(HIGH,3),1,0)));TP:=TJ2=1;STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0), COLORYELLOW;TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 ANDCLOSE>REF(LOW,3),1,0)));STFZ:=TJ3=1;CL:=STFZ AND TP;TJCL:=FILTER(CL,3);DRAWTEXT(LJL,L*0.99,'黄'),COLORYELLOW;DRAWTEXT(LJL,L*0.95,'金'),COLORYELLOW;DRAWTEXT(LJL,L*0.90,'柱'),COLORYELLOW;{涨停跟踪}ZT:=C/REF(C,1)>1.097;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);CZ:=REF(H,BH)-REF(L,BH);STICKLINE(C,(REF(L,BH)+CZ*0.5),(REF(L,BH)+CZ*0.5),7,0),COLORRED; STICKLINE(C,REF(L,BH),REF(L,BH),7,0),COLORBLUE;DRAWTEXT(ZT,L*0.98,'涨停'),COLORF00FF0;VARZT:=BARSLAST(C/REF(C,1)>1.097);STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF;DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW;STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF;DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW;STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF;DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW;STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF;DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW;STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF;DRAWTEXT(VARZT=20,L*0.95,'21天'),COLORYELLOW;STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD;DRAWTEXT(VARZT=33,H*1.06,'34天'),COLORYELLOW; STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600; DRAWTEXT(VARZT=54,L*0.95,'55天'),COLORYELLOW; STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR00FF00; DRAWTEXT(VARZT=88,H*1.06,'89天'),COLORYELLOW; STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF; DRAWTEXT(VARZT=143,L*0.95,'144天'),COLORYELLOW; STICKLINE(VARZT=232 ,H*1.03,H*1.02,8,0),COLORFF0033; DRAWTEXT(VARZT=232,H*1.06,'233天'),COLORYELLOW; STICKLINE(VARZT=376,L*0.97,L*0.98,8,0),COLORFF9966; DRAWTEXT(VARZT=376,L*0.95,'377天'),COLORYELLOW;。
【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)公式
【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)公式【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)-指标公式源码黄金柱:=V/REF(V,1)>=2.0;K1:=SUMBARS(黄金柱,1) ;K2:=SUMBARS(黄金柱,2);K3:=SUMBARS(黄金柱,3);K4:=SUMBARS(黄金柱,4);K5:=SUMBARS(黄金柱,5);K6:=SUMBARS(黄金柱,6);K7:=SUMBARS(黄金柱,7);K8:=SUMBARS(黄金柱,8);K9:=SUMBARS(黄金柱,9);K10:=SUMBARS(黄金柱,10);AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW;{预定黄金柱}{预定黄金柱:=REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2)AND REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 AND REF(L,2)=LLV(L,3);}{预定:STICKLINE(预定黄金柱,H,H,30,0),COLORRED;}{DRAWICON(预定黄金柱,H,19);}{将军柱中的五星上将黄金柱}T60:=V=HHV(V,60);T100:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;T3:=REF(C,1)/REF( O,1)<3;五星上将:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3);DRAWICON(五星上将,H,23);{量柱图}C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORWHITE;STICKLINE(涨停,H,L,0,0),COLORWHITE;DRAWICON(涨停,L-0.2,11);DRAWTEXT(涨停,L-0.2,' --涨停');跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;DRAWICON(跌停,H+0.2,2);DRAWTEXT(跌停,H+0.2,' --跌停');{大阳线:=IF((C-C2)*100/C2>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;STICKLINE(大阳线,H,L,0,1),COLORRED;大阴线:=IF((C2-C)*100/C2>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;STICKLINE(大阴线,H,L,0,1),COLORGREEN;}{MA13:MA(CLOSE,13),COLORWHITE;MA34:MA(CLOSE,34),COLORYELLOW;MA55:MA(CLOSE,55),COLOR9933FF;}{MA4:MA(CLOSE,4),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA(CLOSE,20),COLOR9933FF;MA30:MA(CLOSE,30),COLORLIBLUE;MA60:MA(CLOSE,60),COLORWHITE;MA120:MA(CLOSE,120),COLORLIGREEN;}TY:=C;AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;{求位置坐标}PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3),IF(LLV(L,3)>=REF(O,3) AND REF(C,3)>REF(O,3),REF(O,3),REF(L,3))));{自动画量能平台}{NN 1 300 21}{NN:=21;TTJ:=BARSLAST(REF(倍量黄金柱,NN-1));K0:=TTJ=0;K1:=SUMBARS(K0,1);K2:=SUMBARS(K0,2);K3:=SUMBARS(K0,3);K4:=SUMBARS(K0,4);K5:=SUMBARS(K0,5);K6:=SUMBARS(K0,6);K7:=SUMBARS(K0,7);K8:=SUMBARS(K0,8);K9:=SUMBARS(K0,9);K10:=SUMBARS(K0,10);CCCC1:=REF(C,K1-1);}{在K线图上标示量柱类型}倍量:=DRAWICON((VOL>REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) AND C>REF(C,1),H+0.2,26);低量:=DRAWICON(VOL<REF(LLV(VOL,13),1),H+0.1,2);地量:=DRAWICON(VOL<REF(LLV(VOL,100),1),H+0.1,12);平量:=DRAWICON(ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,H+0.1,16);倍缩:=DRAWICON(VOL<=REF(V,1)*0.5,H+0.1,27);{画量柱标识:}{1.画倍量黄金柱标识--红箭头图标}倍量黄金柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,1);{2.画梯量黄金柱标识--橘子图标}梯量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(V,5)>REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17);{3.画平量黄金柱标识--苹果图标}平量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)<=0.03,H,19);{4.画立桩量标识--顶部红箭头图标}N:=25;立桩量:=REF(V,3)/REF(MA(V,5),4)>(N/10) ANDREF(V,3)/REF(HHV(V,60),4)>1.5 AND LLV(L,3)>REF(L,3);STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW;倍量黄金线:STICKLINE(倍量黄金柱,PHD,PHD,30,0),COLORWHITE;DRAWICON(倍量黄金柱,PHD*1.008,12);DRAWTEXT(倍量黄金柱,PHD*1.010,' 标准黄金柱精准线'),COLORFF00FF;DRAWTEXT(倍量黄金柱,PHD,'================='),COLORWHITE;{平量黄金线:STICKLINE(平量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW;DRAWTEXT(平量黄金柱,PHD*1.015,'平量黄金线'),COLORLIGREEN ;梯量黄金线:STICKLINE(梯量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW;DRAWTEXT(梯量黄金柱,PHD*1.015,'梯量黄金线'),COLORFF00FF ;}立桩量标识:DRAWICON(立桩量,H*1.002,1);DRAWTEXT(立桩量,H*1.06,'立'),COLORRED;DRAWTEXT(立桩量,H*1.04,'桩'),COLORRED;DRAWTEXT(立桩量,H*1.02,'量'),COLORRED;{DA:STICKLINE(K4<=30,REF(C,K4-1)*1.002,REF(C,K4-1),10,0),COLORBLUE;EA:STICKLINE(K5<=30,REF(C,K5-1)*1.002,REF(C,K5-1),10,0),COLORBLUE;FA:STICKLINE(K6<=30,REF(C,K6-1)*1.002,REF(C,K6-1),10,0),COLORBLUE;GA:STICKLINE(K7<=30,REF(C,K7-1)*1.002,REF(C,K7-1),10,0),COLORBLUE;HA:STICKLINE(K8<=30,REF(C,K8-1)*1.002,REF(C,K8-1),10,0),COLORBLUE;IA:STICKLINE(K9<=30,REF(C,K9-1)*1.002,REF(C,K9-1),10,0),COLORBLUE;JA:STICKLINE(K10<=30,REF(C,K10-1)*1.002,REF(C,K10-1),10,0),COLORBLUE;}AAA:=CONST(HHV(H,90));TS1:=0+0.03;TS2:=TS1+0.03;TS3:=TS2+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS1),'<一>.量柱的阶段性拐点标志--空间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS2),' 1.平台起柱:在K线整理平台上突然起柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS3),' 2.凹口起柱:在K线逐步回调形成凹口时起柱.常见凹口倍量;'),COLORFF00FF ;TS4:=TS3+0.03;TS5:=TS4+0.03;TS6:=TS5+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS4),' 3.过顶起柱:过左峰起柱.常见过顶倍量;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS5),' 4.触底起柱:触前期谷底起柱.常见触底倍量.'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS6),'<二>.量柱的集合定性--组合量柱:'),COLORFF00FF ;TS7:=TS6+0.03;TS8:=TS7+0.03;TS9:=TS8+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS7),' 1.低量柱+倍量柱:后市必大涨!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS8),' 2.倍量柱+倍量柱:主庄控盘良好,急于拉升!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS9),' 3.缩倍柱+倍量柱:机会就在眼前!'),COLORFF00FF ;{============================}BBB:=CONST(HHV(H,190));TT1:=0+0.03;TT2:=TT1+0.03;TT3:=TT2+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT1),'<三>.量柱的三日定性--时间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT2),' 1.后三日价升量缩:转化为黄金柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT3),' 2.后三日量柱先阴后阳:该量柱官升一级;'),COLORFF00FF ;TT4:=TT3+0.03;TT5:=TT4+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT4),' 3.后三日量柱阴阳相间:量柱退化,走势面临调整;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT5),' 4.后三日量柱实体逐步缩小:力量将衰退,面临调整.'),COLORFF00FF ;{底部趋势拐点}VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);VOLUME:=VOL;AAG:=VOL>=REF(V,1)*1.91 AND C>REF(C,1);AA1G:=VOL<REF(LLV(VOL,21),1);AA2G:=VOL<REF(LLV(VOL,55),1);AA3G:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;MAVOL5:=MA(VOLUME,5);MAVOL35:=MA(VOLUME,35);MAVOL135:=MA(VOLUME,135);VOLUME5:=MA(VOLUME,5);VOLUME35:=MA(VOLUME,35);VOLUME135:=MA(VOLUME,135);买入:=CROSS(VOLUME5,VOLUME135);DRAWICON(买入,L,9);买入1:=CROSS(VOLUME35,VOLUME135);DRAWICON(买入1,L,5);买入2:=CROSS(VOLUME5,VOLUME35);DRAWICON(买入2,L,1);{非常棒}EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←低吸'),COLORLIRED;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←高抛'),COLORGREEN;DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20 );卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2);买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LIN ETHICK3,COLORYELLOW;VC:=((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;S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLO RGREEN;A0:=(L+H+C*2)/4;A1B:EMA(A0,14),COLORBLUE,LINETHICK2;A2B:=EMA(A0,25),COLORLIBLUE,LINETHICK2;A1X:=(A1B-REF(A1B,1))/REF(A1B,1)*100,NODRAW;A2X:=(A2B-REF(A2B,1))/REF(A2B,1)*100,NODRAW;看多:IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1 X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2};逃顶:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A 1X))),DRAWNULL),COLORCYAN,{LINETHICK2};买入持股:IF(A1X>=0,A1B,DRAWNULL)COLORRED,LINETHICK3;卖出空仓:IF(A1X<0 AND A2X<0,A1B,DRAWNULL)COLORGREEN,LINETHICK3;{STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
DRAWBAND(MA(CLOSE,60),RGB(80,0,0),MA(CLOSE,120),RGB(0,91,0)); DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68)); DRAWKLINE(H,O,L,C);MA5:=MA(CLOSE,5),COLORWHITE;MA10:=MA(CLOSE,10),COLORYELLOW;MA30:=MA(CLOSE,30),COLORMAGENTA;MA60:=MA(CLOSE,60),COLORGREEN;MA120:=MA(CLOSE,120),COLORLIMAGENTA;MA240:=MA(CLOSE,240),COLORBLUE,NODRAW;VOL5:=MA(VOL,5),COLORWHITE;VOL10:=MA(VOL,10),COLORYELLOW;VOL40:=MA(VOL,40),COLORFF00FF ;量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1); DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10));BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;芙蓉出水:=BB1 AND CC1,COLOR00FF00;DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF;STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);ZJ:=AMOUNT/10000;{资金}TM:=V-MA(V,10);{量填满}一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ;DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF;STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);前期高位:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT;STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE;{高点:=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW;STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,H,C,0.8,0),COLORBLUE;}三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));三日价涨A:=C>=REF(C,1);三日价涨B:=C<REF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);TIM:=IF(DATE<1170214,1,0);缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;百日低量:=(VOL=LLV(VOL,100))*TIM;倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;高量黄金柱:=四日前高量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;黄金柱:=倍量黄金柱OR 高量黄金柱;次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱AND 三日量缩AND 三日不破AND 三日价涨B AND 前三引用不成立;次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱AND 三日量缩AND 三日不破AND 三日价涨B AND 前三引用不成立;次黄金柱:=次倍量黄金柱OR 次高量黄金柱;准倍量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前倍量柱AND ((三日量缩AND 三日价涨C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立;准高量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前高量柱AND (三日量缩AND 三日价涨C) AND 前三引用不成立;准黄金柱:=准倍量黄金柱OR 准高量黄金柱;倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱) AND 四日前倍量柱AND 三日不破AND 三日价涨A AND 前三引用不成立;高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱) AND 四日前高量柱AND 三日不破AND 三日价涨A AND 前三引用不成立;将军柱:=倍量将军柱OR 高量将军柱;次倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱) AND 四日前倍量柱AND 三日不破AND 三日价涨B AND 前三引用不成立;次高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱) AND 四日前高量柱AND 三日不破AND 三日价涨B AND 前三引用不成立;次将军柱:=次倍量将军柱OR 次高量将军柱;准倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱) AND 四日前倍量柱AND 三日价涨C AND 前三引用不成立;准高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱) AND 四日前高量柱AND 三日价涨C AND 前三引用不成立;准将军柱:=准倍量将军柱OR 准高量将军柱;BACKSET100:=BACKSET(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱OR 准将军柱,4);FILTER100:=FILTER(BACKSET100,3),NODRAW;BACKSET101:=BACKSET(黄金柱,4);FILTER101:=FILTER(BACKSET101,3);BACKSET102:=BACKSET(次黄金柱,4);FILTER102:=FILTER(BACKSET102,3);BACKSET103:=BACKSET(准黄金柱,4);FILTER103:=FILTER(BACKSET103,3);BACKSET104:=BACKSET(将军柱,4);FILTER104:=FILTER(BACKSET104,3);BACKSET105:=BACKSET(次将军柱,4);FILTER105:=FILTER(BACKSET105,3);BACKSET106:=BACKSET(准将军柱,4);FILTER106:=FILTER(BACKSET106,3);黄金线下影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3); 黄金线实体下端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3)) AND MIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0;黄金线上影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3); 黄金线实体上端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<REF(H,3);黄金线实体中间:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3));黄金线实体中间1:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间2:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间3:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND L=MIN(MIN(L,REF(L,1)),REF(L,2));BACKSET201:=BACKSET(黄金线下影线,4);FILTER201:=FILTER(BACKSET201,3),NODRAW;BACKSET202:=BACKSET(黄金线实体下端,4);FILTER202:=FILTER(BACKSET202,3),NODRAW;BACKSET203:=BACKSET(黄金线上影线,4);FILTER203:=FILTER(BACKSET203,3),NODRAW;BACKSET204:=BACKSET(黄金线实体上端,4);FILTER204:=FILTER(BACKSET204,3),NODRAW;BACKSET205:=BACKSET(黄金线实体中间,4);FILTER205:=FILTER(BACKSET205,3),NODRAW;BACKSET2051:=BACKSET(黄金线实体中间1,4);FILTER2051:=FILTER(BACKSET2051,3),NODRAW;BACKSET2052:=BACKSET(黄金线实体中间2,4);FILTER2052:=FILTER(BACKSET2052,3),NODRAW;BACKSET2053:=BACKSET(黄金线实体中间3,4);FILTER2053:=FILTER(BACKSET2053,3),NODRAW;BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2 01));BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2 02));BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2 03));BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2 04));BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2 05));BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTE R2051));BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTE R2052));BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTE R2053));最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT20 53);DAY1:=SUMBARS(FILTER100,1),NODRAW;HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,REF(LOW,DAY1-1)),0),NOD RAW;HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),R EF(OPEN,DAY1-1))),0),NODRAW;HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),NO DRAW;HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1),R EF(OPEN,DAY1-1))),0),NODRAW;HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LOW,IF(DAY1<2,DRAWNULL,R EF(LOW,DAY1-2))),0),NODRAW;HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LOW,IF(DAY1<3,DRAWNULL,R EF(LOW,DAY1-3))),0),NODRAW;HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LOW,IF(DAY1<4,DRAWNULL,R EF(LOW,DAY1-4))),0),NODRAW;黄金线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,N ODRAW;立桩量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1);立桩量三日突破:=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)));立桩量三日不破:=BARSLAST(立桩量)=3 AND REF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));BACKSET300:=BACKSET(立桩量三日不破,4);BACKSET301:=BACKSET(立桩量三日突破,4);立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;DRAWTEXT(立桩量成立,HIGH*1.01,'↙立桩量'),COLOR00FF00;DRAWTEXT(FILTER101,LOW*0.986,'↖黄金柱'),COLORYELLOW;STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;DRAWTEXT(FILTER102,LOW*0.986,'↖次黄金柱'),COLORYELLOW;DRAWTEXT(FILTER104,LOW*0.986,'↖将军柱'),COLORYELLOW;STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW;K1:=SUMBARS(FILTER104,1);STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),10,0),COLORYELLOW;K2:=SUMBARS(FILTER101,1);STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),10,0),COLORYELLOW;。