通达信机构建仓趋势线源码(通达信k线源码)
本文目录一览:
- 1、求通达信分时“买卖力道”源码
- 2、知道通达信这个指标源码,怎样编出这个指标的选股公式?
- 3、求通达信顶底趋势指标源码
- 4、求通达信用的机构资金公式源码?
- 5、求通达信公式高手将指标源码拆解成两个通达信选股公式,重酬
- 6、通达信金牛判势指标源码和机构震仓指标怎么写,如下图效果
求通达信分时“买卖力道”源码
通达信分时买卖力道指标公式股票软件源码如下:
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);
A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));
A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));
A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));
机构买盘:(A2),LINETHICK0;
机构卖盘:(A3),LINETHICK0;
散户买盘:(A4),LINETHICK0;
散户卖盘:(A5),LINETHICK0;
STICKLINE(机构买盘0 AND 机构买盘=机构卖盘 AND 机构买盘=REF(机构买盘,1),20,20+100,1,0),COLORRED;
STICKLINE(机构卖盘0 AND 机构卖盘=机构买盘 AND 机构卖盘=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;
STICKLINE(散户买盘0 AND 散户买盘=散户卖盘 AND 散户买盘=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;
STICKLINE(散户卖盘0 AND 散户卖盘=散户买盘 AND 散户卖盘=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;
VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
买卖力道: SMA(VAR2,3,1),COLORLIGRAY;
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR4:=(IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
VAR5:=AMOUNT/(100*VOL);
VAR6:=MA(VAR5,40);
VAR7:=100*(CLOSE-VAR6)/VAR6;
底部追击:= IF(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,300,200),COLORGREEN;
STICKLINE(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,1200,200,10,0) , COLORGREEN;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR9:=SMA(VAR8,3,1);
VARA:=SMA(VAR9,3,1);
D: SMA(VARA,5,1)*20, COLORCYAN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:= EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:(趋势线=13 AND V1213) AND FILTER((趋势线=13 AND V1213),10);
买入股票:= (趋势线=13 AND V1213),COLORRED;
CCC:=(趋势线=90 AND V12) AND FILTER((趋势线=90 AND V12),10);
清仓:=FILTER(趋势线=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;
卖出区: 清仓+1800,COLORYELLOW;
中:(0+卖出区)/2, COLORGREEN;
{股旁网-股票公式网站 }
STICKLINE(买卖力道=中 AND 买卖力道=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;
STICKLINE(买卖力道=中 AND 买卖力道 REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;
STICKLINE(买卖力道中 AND 买卖力道=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;
STICKLINE(买卖力道中 AND 买卖力道 REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;
DRAWICON(买入股票,中,15);
DRAWTEXT (BB,0,'买股'),COLORYELLOW;
DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;
STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE;
DRAWICON(CROSS(D,中),中,13);
DRAWICON(CROSS(中,买卖力道),买卖力道,2);
DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));
DEA:=(EMA(DIF,6));
MACD:=(DIF-DEA)*3;
红线:=IF(MACD=0 AND MACDREF(MACD,1),中,DRAWNULL);
青线:=IF(MACD=0 AND MACD REF(MACD,1),中,DRAWNULL);
粉线:=IF(MACD0 AND MACD=REF(MACD,1),中,DRAWNULL);
蓝线:=IF(MACD0 AND MACD REF(MACD,1),中,DRAWNULL);
STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;
STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;
STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1;
STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;
DRAWICON(CROSS((A2),(A3)),200,23);
知道通达信这个指标源码,怎样编出这个指标的选股公式?
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
W底选股:SSS-SSB=2 AND SSSREF(SSS,1);
N:=20;
MID:=MA(C,N);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
BOLL:=REF(MID,1);
UB:=REF(UPPER,1);
LB:=REF(LOWER,1);
LOWER1:=MID-VART3;
LB1:=REF(LOWER1,1);
股价线:=(C-LB1)/(UB-LB)*100;
趋势线:=MA(股价线,6);
VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
准备建仓:EMA(IF(L= LLV(L,30),VARC,0),3);
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区:VARO710;
下单:CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10);
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离1:=MA(BIAS,3);
低买:CROSS(BIAS,乖离1) AND 乖离1-9;
TTR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD 0) AND (HD LD)),HD,0),5) );
DMM:=SUM(IF(((LD 0) AND (LD HD)),LD,0),5);
神偷线:=(((DMP ) * 100) /TTR);
辅助线:=((DMM * 100) /TTR);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
TYP:=(HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;
K:=SMA(RSV,3,1);
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*500-250;
X:CROSS(CCI,-100) AND K-100 ;
X改成:=CROSS(CCI,-100) AND K-100 AND CROSS(RSI1,-90);
MA2:=EMA(C,2);MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
YCX:=MA5=REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA34);
L1:=MIN(MIN(MA5,MA13),MA34);
一阳穿三线:= H1C AND OL1 AND YCX AND MA2REF(MA2,1);
满仓选股:一阳穿三线;
准备:=动向趋势线 88 AND (神偷线 5.8);
VAR2:=0.0001*AMOUNT,;
MA1:=0.0001*MA(AMOUNT,5);
M2:=0.0001*MA(AMOUNT,10);
百日地量:=(VAR2,100)=VAR2;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
买点选股:(CROSS(SK,SD) AND SK-0.04 AND (C-REF(C,1))/REF(C,1)=0.03)
OR (CROSS(SK,SD) AND SK=-0.14 ) OR (CROSS(SK,SD) AND SK=0.05
AND (V/MA(V,5)2 OR C/REF(C,1)0.035));
AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
AA10:=MA(C,10);AA20:=MA(C,20);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
(AA20-AA30)REF((AA20-AA30),1) AND AA20REF(AA20,1) AND AA30REF(AA30,1);
(AA30-AA20)REF((AA30-AA20),1) AND AA20REF(AA20,1) AND AA30REF(AA30,1);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
强势狙击选股:=FILTER(BB3030 AND BB1045 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)=1 AND AA05REF(AA05,1) AND 三拾日乖离率REF(三拾日乖离率,1) AND AA10REF(AA10,1)
AND 加速度5REF(加速度5,1) AND 速度5REF(速度5,1) ,10) ;
MR:=COUNT(CROSS(五日乖离率,0),3)=1 AND 三拾日乖离率REF(三拾日乖离率,1) AND AA05REF(AA05,1) AND (C/REF(C,1)-1)*1005 AND REF(C,1)AA30;
青云直上选股:=FILTER(MR,10);
QUANCLOSE:=(DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13))*100=-28 AND (CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100=-19
AND C/REF(C,25)=1.1 AND IF((((HIGH (LOW * 1.051)) AND (COUNT((HIGH (LOW * 1.051)),5) 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) 78) OR
(((CLOSE / MA(CLOSE,60)) * 100) 74))),2,0) AND
(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)15 AND IF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)
AND REF(SMA((CLOSE-LLV(LOW,8))/
(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)
AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)23 ,1.5,0) AND FILTER((C/MA(C,48))0.75 AND (C/MA(C,70))0.70 AND
((C-L)/C0.02 OR CREF(C,1)*1.01) AND VREF(V,1)*2.8 AND (COUNT(CO*0.93,2)=2 OR COUNT(H/L1.1,5)3),3) ;
AA:=1;
BB:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
CC:=IF(AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100100,100,AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100);
DD:=CC/BB;
量异动:=IF(AA,DD/REF(DD,1),0);
选股:=DD/REF(DD,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
逃顶:CROSS(80,RSI);
{很高兴回答你的问题,希望帮到你}
求通达信顶底趋势指标源码
顶底趋势指标(通达信)
此指标是我精心收藏的指标,无未来函数,真正的好指标。图片演示在下面网址里.
趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN;
STICKLINE(趋势50,趋势,50,4,0),COLOR32329B;
STICKLINE(50趋势,趋势,50,4,0),COLOR326400;
IF(趋势50, 趋势,DRAWNULL), COLORRED;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(KD AND CCI0 AND DIFFDEA AND MACD0,1,0);
STICKLINE(转点=1,50,50,6,0),COLORYELLOW;
STICKLINE(转点=0,50,50,6,0),COLORCYAN;
顶部:90,COLORYELLOW;
底部:10,COLORCYAN;
判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;
IF( 趋势判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;
IF( 趋势判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;
DRAWICON(CROSS(趋势,判断),判断,1);
DRAWICON(CROSS(趋势,顶部),顶部,2);
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
短线1: IF(VAR645,VAR6-45,0),COLORA6B8C1;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
VR2:=REF(LOW,1);
VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;
VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);
VR5:=LLV(LOW,30);
VR6:=HHV(VR4,30);
VR7:=IF(MA(CLOSE,58),1,0);
VR8:=EMA(IF(LOW=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;
VR9:=IF(VR8100,100,VR8);
主力进场:STICKLINE(VR9-150,0,VR9,3,0), , COLORFF00FF;
洗盘:IF(VR9REF(VR9,1),VR9,0),COLORGREEN,NODRAW;
STICKLINE(VR9REF(VR9,1),0,VR9,3,0),COLORGREEN;
短线获利:STICKLINE(REF("KDJ.J",1)0 AND "KDJ.J"0,60,25,2,0),COLORYELLOW;
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
逃顶:=CROSS(82,RSI);
STICKLINE( 逃顶,逃顶,20,5,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,30,3,0),COLORFF8800;
STICKLINE( 逃顶,逃顶,30,2,0),COLORFFAA00;
STICKLINE( 逃顶,逃顶,30,1,0),COLORFFCC00;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
风险区:80,COLORFF85FF;
安全区:20,COLORYELLOW,POINTDOT;
天线:100,COLORFFFF00;
强弱线:50,COLORGREEN,POINTDOT;
DRAWICON(BBUY,(LOW *1),1);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),HIGH,15);
DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW;
MAV:=(2*C+H+L)/4;
VAR9:=LLV(LOW,34);
VAR7:=HHV(HIGH,34);
SK:= EMA((MAV-VAR9)/(VAR7-VAR9)*100,13);
SD: EMA(0.667*REF(SK,1)+0.333*SK,2);
高抛:80, POINTDOT;
低吸:20, POINTDOT;
强弱分界:50, POINTDOT;
DRAWTEXT(CROSS(SD,16),低吸,'●主力'),COLORF0FF00,LINETHICK3;
求通达信用的机构资金公式源码?
通达信机构建仓趋势线源码我有个机构持仓量通达信机构建仓趋势线源码的 给你吧 希望对你有帮助
机构持仓量
换手:=V*100/CAPITAL;
主力:=MA(换手,4);
大户:=MA(换手,9);
中户:=MA(换手,17);
散户:=MA(换手,34);
均量:=(主力+大户+中户+散户)/4;
主力能量:=(主力-均量);
操盘:STICKLINE(主力能量=0 AND 主力能量=REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;
减仓:STICKLINE(主力能量=0 AND 主力能量 REF(主力能量,1),0,主力能量,3,3),COLORGREEN;
反弹:STICKLINE(主力能量0 AND 主力能量=REF(主力能量,1),0,主力能量,3,3),COLORRED;
寻底:STICKLINE(主力能量0 AND 主力能量 REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;
求通达信公式高手将指标源码拆解成两个通达信选股公式,重酬
1、粉色柱出现第一天选股买入股票:
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
主力进:=IF(V4=0,V4,0),COLORFF00FF;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
XG:REF(主力进 AND 趋势线13,1)=0 AND 主力进 AND 趋势线13=1;
2、绿柱出现第一天预警卖出股票:
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金撤走:=IF(VB=0,VB,0),COLORGREEN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
卖出:REF(大盘资金撤走 AND 趋势线90,1)=0 AND 大盘资金撤走 AND 趋势线90=1;
不为别的,为了你的高分,必须滴!不许食言啊!
通达信金牛判势指标源码和机构震仓指标怎么写,如下图效果
TJ:=FILTER(C,239)0,NODRAW;
TJJ:=SUM(TJ,0),NODRAW;
TJA:=CONST(TJJ),NODRAW;
C1:=CLOSE;
V1:=TIME;
A1:=COUNT(BARSCOUNT(C)=1 AND TIME102000 ,0 );
T:=IF(V1130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),
(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;
成交额:=AMOUNT,NODRAW;
VV2:=SUM(AMOUNT,T),NODRAW;
VV3:=VV2/T;
SS:=IF(CAPITAL150000000,0.3,IF(CAPITAL20000000,0.5,IF(CAPITAL10000000,0.8,IF(CAPITAL200000,5,IF(CAPITAL1000000,3,
IF(CAPITAL5000000,1.5,1)))))),NODRAW;
VV5:=(REF(VV3,T-1)/CEILING(REF(VV3,T-1)/CAPITAL *10000+0.1))*SS,NODRAW;
大额线:=IF(REF(VV3,T)=REF(VV3,T-1),VV5,REF(VV3,T)),NODRAW;
起算量:=大额线*100,COLOR00FFFF,NODRAW;
初正1:=IF(T=1 AND DYNAINFO(4)=DYNAINFO(3),VV2,0);
初负1:=IF(T=1 AND DYNAINFO(4)DYNAINFO(3),VV2,0);
初正:=SUM(IF(初正1=大额线 AND T=1,初正1,0),T),NODRAW;
初负:=SUM(IF(初负1=大额线 AND T=1,初负1,0),T),NODRAW;
初正2:=SUM(初正1,T),NODRAW;
初负2:=SUM(初负1,T),NODRAW;
T00:=IF(C1REF(C1,1),0.9,-0.9);
T01:=IF(C1REF(C1,1),-0.9,0.9);
T02:=T00+T01,NODRAW;
TT1:=BARSLAST(CROSS(T02,+1.5)),NODRAW;
TT2:=BARSLAST(CROSS(-1.5,T02)),NODRAW;
TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));
正V1:=IF(TT=1 OR (TT=0 AND TT1TT2),成交额,0),NODRAW;
负V1:=IF(TT=-1 OR (TT=0 AND TT1TT2),成交额,0),NODRAW;
正负0:=IF(成交额!= 0 AND (正V1=0 AND 负V1=0),成交额,0);
正V0:=IF(正负0!= 0 AND REF(正V1,1)!= 0 ,正负0,0);
负V0:=IF(正负0!= 0 AND REF(负V1,1)!= 0 ,正负0,0);
正V11:=正V1+正V0,NODRAW;
负V11:=负V1+负V0,NODRAW;
正V:=IF(正V11=大额线,正V11,0);
负V:=IF(负V11=大额线,负V11,0);
正V2:=IF(正V11大额线,正V11,0);
负V2:=IF(负V11大额线,负V11,0);
正总:=IF(TJJ2,初正,0)+SUM(正V,T),NODRAW,COLOR0000FF;
负总:=IF(TJJ2,初负,0)+SUM(负V,T),NODRAW,COLOR00FF00;
正总1:=IF(TJJ2,初正2,0)+SUM(正V11,T),NODRAW,COLOR0000FF;
负总1:=IF(TJJ2,初负2,0)+SUM(负V11,T),NODRAW,COLOR00FF00;
大差%:(正总-负总)/(正总+负总)*100,COLOR00FF00,NODRAW;
小差%:(正总1-负总1)/(正总1+负总1)*100,COLOR00FF00,NODRAW;
TJJB:=IF(FILTER(T,239)0 AND TJA1,REF((正总-负总),T),0),NODRAW;
TJJJB:=SUM(TJJB,0)+IF(TJA1,(正总-负总),0),NODRAW;
TJJC:=IF(FILTER(T,239)0 AND TJA1,REF((正总+负总),T),0),NODRAW;
TJJJC:=SUM(TJJC,0)+IF(TJA1,(正总+负总),0),NODRAW;
N今:TJJJB/10000,NODRAW;
TJJJB/TJJJC*100,NODRAW;
TJJB2:=IF(FILTER(T,239)0,REF((正总-负总),T),0),NODRAW;
TJJJB2:=SUM(TJJB2,0),NODRAW;
TJJC2:=IF(FILTER(T,239)0,REF((正总+负总),T),0),NODRAW;
TJJJC2:=SUM(TJJC2,0),NODRAW;
N昨:TJJJB2/10000,NODRAW;
TJJJB2/TJJJC2*100;
KL:=1;
DRAWBAND(12000*KL,RGB(50,50,50),-5000*KL,DRAWNULL);
Q4:=IF(大差%=0,12000*KL,0),NODRAW;
Q5:=IF(大差%=0,-5000*KL,0),NODRAW;
DRAWBAND(Q4,RGB(100,100,100),Q5,RGB(50,50,50));
STICKLINE(CROSS(大差%,0),Q4,Q5,10,0),COLOR777777;
STICKLINE(CROSS(0,大差%),Q4,Q5,10,0),COLOR777777;
DIF:=EMA(CLOSE,20)-EMA(CLOSE,5);
DEA:=EMA(DIF,10);
MACD:=300*(DIF-DEA)*2/EMA(C,30);
VARA:=EMA(REF(CLOSE,1),4);
青山:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
绿水:=青山3.5,COLORDBDBDB;
火红通达信机构建仓趋势线源码的:=FILTER(MACD0 AND MACDREF(MACD,1) AND 青山20,5);
太阳:=CROSS(青山,90),COLOR00FF00;
DRAWBAND(IF((TJA2 OR PERIOD!= 0),12000*KL,0),RGB(150,00,100),0,DRAWNULL);
DD:=IF(MACD=0,MACD,DRAWNULL)*1.5;
STICKLINE(DD AND DDREF(DD,1),0,DD*80*KL,4,0),COLOR0000FF;
STICKLINE(DD AND DDREF(DD,1),0,DD*80*KL,3,1),COLOR0000FF;
IF(TJA2,(青山-25)*150*KL,DRAWNULL),COLOR5BE000,LINETHICK6;
DRAWBAND(IF((TJA2 OR PERIOD!= 0) AND (青山-25)*1.50,(青山-25)*150*KL,0),RGB(00,200,50),0,DRAWNULL);
DRAWBAND(0,RGB(00,180,120),IF((TJA2 OR PERIOD!= 0),-5000*KL,0),DRAWNULL);
ZJ2:=V/((H-L)*2-ABS(C-O));
ZJ3:=IF(CO,ZJ2*(H-L),IF(CO,ZJ2*(H-O+(C-L)),V/2))+IF(CO,0-ZJ2*(H-C+(O-L)),IF(CO,0-ZJ2*(H-L),0-V/2));
攻击流量:=ZJ3/20/1.15;
ZJ5:=攻击流量*0.55+REF(攻击流量,1)*0.33+REF(攻击流量,2)*0.22;
日流量:=EMA(ZJ5,3);
STICKLINE(C0 AND 日流量=0,日流量,0,2,0),COLORFF38FF;
STICKLINE(C0 AND 日流量=0,日流量,0,2,0),COLORFA3300;
AR1:=LLV(LOW,10);
AR2:=HHV(H,25);
AR3:=EMA((C-AR1)/(AR2-AR1)*4,4);
红红通达信机构建仓趋势线源码的天:=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),LINETHICK0;
IF((TJA2 OR PERIOD!= 0) AND CROSS(红红通达信机构建仓趋势线源码的天,2),7000*KL,-5000*KL),COLOR0000FF;
IF(红红的天10,-5000*KL,DRAWNULL),CIRCLEDOT,COLORGREEN;
IF(红红的天=10,-5000*KL,DRAWNULL),CIRCLEDOT,COLOR0000CC;
N:=IF(TJA2 AND PERIOD=0,20,6);
L1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200-60;
有心就有:IF((TJA2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF77FF;
好运通达信机构建仓趋势线源码!:IF((TJA2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
STICKLINE(CROSS(3.5,AR3),10000*KL,12000*KL,2,0), COLOR00FFFF,LINETHICK2;
STICKLINE(CROSS(AR3,0.3),-5000*KL,-3000*KL,2,0),COLORRED,LINETHICK2;
DRAWTEXT(CROSS( 0,MACD)AND 青山75 OR 太阳,9800*KL,'ヲ'),COLORDBDBDB;
DRAWTEXT(绿水,-3000*KL,'ャ'),COLORDBDBDB;
DRAWTEXT(绿水,-3000*KL,'︼'),COLOR688EC1;
IF(PERIOD=0,2500,DRAWNULL),COLORAAAAAA,LINETHICK2;
{盘龙驸凤}
望喜:IF(PERIOD=0,小差%*100+2500,DRAWNULL),COLOR000000,LINETHICK1;
IF(PERIOD=0 AND TJA1,小差%*100+2500,DRAWNULL),COLORFFFF00;
盘龙:IF(PERIOD=0,大差%*100+2500,DRAWNULL),COLOR00FFFF,LINETHICK2;
STICKLINE(PERIOD=0 AND FILTER(T,239)0,12000*KL,-5000*KL,1,0),COLORWHITE;
A7:=C-REF(C,1);
A8:=IF(((TJA2 OR PERIOD!= 0) OR PERIOD!= 0),5000*EMA(EMA(A7,11),11)/EMA(EMA(ABS(A7),11),11),DRAWNULL),LINETHICK2;
SHORT:=3; LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
买进:=LLV(A8,2)=LLV(A8,7) AND COUNT(A80,2) AND REF(DOWN,1)REF(DOWN,2) AND UPREF(DOWN,1);
卖出:=(HHV(A8,2)=HHV(A8,7) OR A8=HHV(A8,2)) AND DOWNREF(UP,1);
DRAWICON(买进=0,A8*1.1,1);
DRAWICON(买进=1,A8,23);
RV:=((CLOSE-LLV(LOW,5))/(HHV(HIGH,27)-LLV(LOW,27))*200-60)*100*KL;
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
龙K:IF(((TJA2 OR PERIOD!= 0) OR PERIOD!= 0),SMA(L1,3,1)*100*KL,DRAWNULL),COLORRED;
凤D:IF(((TJA2 OR PERIOD!= 0) OR PERIOD!= 0),SMA(龙K,3,1),DRAWNULL),COLORBBFFBB;
N1:=7;
LC:=REF(CLOSE,1);
X:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*1000,COLORMAGENTA;
牛相:=DRAWLINE(X=HHV(X,N1),X,X=LLV(X,N1),X,1);
TJ1:=X=牛相;
TJ2:=XREF(X,1);
DRAWICON(TJ1 AND TJ2,X,1);
DRAWTEXT(TJ1 AND TJ2,X,'买')COLORRED;
VAR1R:=(HIGH+LOW+CLOSE*2)/4;
VAR2R:=EMA(VAR1R,21);
VAR3R:=STD(VAR1R,21);
VAR4R:=((VAR1R-VAR2R)/VAR3R*100+200)/4;
VAR5R:=(EMA(VAR4R,5)-25)*1.56;
AK:=EMA(VAR5R,2)*1.22;
AD1:=EMA(AK,2);
拐点:=CROSS(AD1,AK);
DRAWTEXT(拐点,X,'变盘');
VAR6R:=((C+2*L)/3-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100;
VAR7R:=SMA(VAR6R,2,1);
DRAWTEXT(X50 AND X=80 AND CROSS(X,VAR7R),X,'追'),COLORYELLOW;
DRAWTEXT(CROSS(X,70) AND VAR7R15,X,'底'),COLORRED;
DRAWTEXT(CROSS(X,85) AND VAR7R10,X,'涨'),COLORMAGENTA;
DRAWTEXT(VAR7R11 AND VAR7RREF(VAR7R,1),VAR7R,'涨'),COLORRED;
DRAWTEXT(CROSS(X,70) AND VAR7R20,X,'底'),COLORRED;
DRAWTEXT(ISLASTBAR,X,' 金牛判势'),COLORRED;