通达信指标公式源码主力进货洗盘拉升出货

合集下载

【股票指标公式】-【通达信】主力进场洗盘(副图)

【股票指标公式】-【通达信】主力进场洗盘(副图)

【通达信】主力进场洗盘(副图)-指标公式源码主力进场洗盘》——一个很好的发现主力寻找底部的指标!可以提早在主力拉升前及早介入!(已经通过函数检测无未来)其实网友可以发现,我的主图指标左下角有未来函数提醒,而副图《提前买入》没有。

指标副图如下图:看红色突箭:果断介入!提示!综合其他指标作出决策!{主力进场洗盘}{N1: 1 100 9N2: 1 100 5}ATR :=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),1 4);HD := HIGH-REF(HIGH,1); LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100/TR;MDI:=DMM*100/TR;0, ;持币区:PDI-MDI;IF(持币区<0,持币区,0),COLORGREEN, LINETHICK2;持股区:IF(持币区>0,持币区,0),COLORMAGENTA, LINETHICK2;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),COLORBLUE,NODRAW;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLORBLUE;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLORGREEN;{}VAR51:=3;VAR52:=(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));准备启动:CROSS(VAR52,VAR51),STICK,COLORLIRED;DRAWICON(准备启动>0,-8,1);进洗不参与:0,COLORCYAN;【通达信】主力进场洗盘(副图)-指标公式效果图(文档来源:好股票网)。

通达信主力资金进入指标公式

通达信主力资金进入指标公式

通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF; VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。

通达信主力大户资金进出指标指标公式源码

通达信主力大户资金进出指标指标公式源码

通达信主力大户资金进出指标指标公式源码1.主力动向指标(DMI)的计算公式如下:DMI=((H-L)/(H+L))*100其中,H表示当日最高价,L表示当日最低价。

主力动向指标表达的是主力动能的强弱程度,当主力动向指标较大时,主力资金进出的力度较强,市场上涨的概率较大。

2.主力资金净流入指标(MF)的计算公式如下:MF=主力买入资金-主力卖出资金主力买入资金表示当日主力买入的成交额,主力卖出资金表示当日主力卖出的成交额。

主力资金净流入指标表达的是主力资金的净流入情况,当主力资金净流入较大时,意味着主力资金在市场中较为活跃,市场上涨的概率较大。

通过计算主力动向指标和主力资金净流入指标,可以综合判断主力资金的进出方向,以及主力资金净流入的大小。

当主力动向指标和主力资金净流入指标同时为正时,意味着主力资金正在大量流入市场,通常预示着市场的上涨趋势;当主力动向指标为负,主力资金净流入指标为负时,意味着主力资金正在大规模流出市场,通常预示着市场的下跌趋势。

在通达信软件中,可以通过编写相应的公式源码来计算主力大户资金进出指标。

以下是一个示例的源码:```cpp//定义主力动向指标(DMI)计算公式float DMI(float high, float low)return ((high - low) / (high + low)) * 100;//定义主力资金净流入指标(MF)计算公式float MF(float buy, float sell)return buy - sell;//主函数int maifloat high, low, buy, sell;//输入当日最高价、最低价、主力买入资金、主力卖出资金cout << "请输入当日最高价:";cin >> high;cout << "请输入当日最低价:";cin >> low;cout << "请输入主力买入资金:";cin >> buy;cout << "请输入主力卖出资金:";cin >> sell;//计算主力动向指标和主力资金净流入指标float dmi = DMI(high, low);float mf = MF(buy, sell);//输出结果cout << "主力动向指标(DMI)为:" << dmi << endl;cout << "主力资金净流入指标(MF)为:" << mf << endl;return 0;```以上是简单示例源码,可以根据具体需求进行修改和优化。

通达信指标公式源码主力进出非常准的指标

通达信指标公式源码主力进出非常准的指标

通达信指标公式源码主力进出非常准的指标通达信指标公式是一个用于计算市场技术指标的软件,这些指标可用
于分析股票、期货或其他金融产品的价格走势。

其中,主力进出指标(Main Force Index)是一种常用的量化技术指标,旨在衡量市场主力资
金的流入和流出情况。

下面是主力进出指标的通达信源码公式:主力买卖指标:=((CLOSE-OPEN)*VOL-(HHV(HIGH,N)-
CLOSE)*SUM(VOL,N)/N+(CLOSE-
LLV(LOW,N))*SUM(VOL,N)/N)/(HHV(HIGH,N)-LLV(LOW,N))/100;
其中,CLOSE表示当日收盘价,OPEN表示当日开盘价,VOL表示当日
成交量,HHV表示最高值函数,HIGH表示当日最高价,LLV表示最低值函数,LOW表示当日最低价,N为计算指标的周期,在这个指标中通常取20。

以上是用于计算主力买卖指标的基本公式,该指标为震荡型指标,主
要分析主力资金的买卖情况。

当主力买卖指标走势上升时,说明主力资金
在加入市场,有可能出现上涨行情;当主力买卖指标走势下降时,说明主
力资金在撤离市场,有可能出现下跌行情。

需要注意的是,主力买卖指标仅仅是市场的一个参考指标,在实际操
作中还需要综合考虑其他技术指标和市场趋势等因素进行综合判断。

以上所述仅为通达信中计算主力买卖指标的源码公式及其基本解释,
该指标的具体使用方式还需根据个人的实际情况进行合理运用。

通达信指标公式主力建仓出货副图公式指标源码

通达信指标公式主力建仓出货副图公式指标源码

通达信指标公式主力建仓出货副图公式指标源码{主力建仓&出货通达信}VAR0:=DYNAINFO(5);VAR1:=BARSCOUNT(HIGH);VAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);低位金叉跟进:=IF((VAR1 > 20),VAR2,0);VAR11:=IF((HIGH < VAR0),0,IF((LOW > VAR0),1,(((VAR0 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));AAA:=(DMA(VAR11,(VOL /SUM(VOL,90))) * 60);BBB:=(DMA(VAR11,(VOL / CAPITAL)) * 60);VAR12:=IF(C>1000,AAA,BBB);VAR3:=IF((((VAR12 > 0) AND (VAR12 > REF(VAR12,1))) AND (低位金叉跟进 >= 88)),VAR2,0);VAR4:=((3 * SMA((((CLOSE - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1),3,1)));VAR5:=EMA(VAR4,8);VAR6:=((3 * SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));VAR7:=(EMA(VAR6,3) - 10);A:=1.1*C;B:=0.9*C;B1:=100*(WINNER(A)-WINNER(B));C1:=MA(C,13)<ref(ma(c,13),1);< p=''></ref(ma(c,13),1);<> D1:=IF(C>1000,CROSS(VAR3,22),CROSS(VAR3,24));锁定筹码:=100-B1,COLOR0084FF;锁定区:STICKLINE(锁定筹码>70 AND C1,0,锁定筹码-65,3,0),COLOR0000FF;出仓区:STICKLINE(((VAR3>0) AND ((VAR7 < 20) OR ((VAR7 > REF(VAR7,1)) AND (VAR7 < 50)))),0,VAR3,3,0),,COLORGREEN;明天买:IF(CROSS(锁定筹码,90)AND C1,锁定筹码-50,0),COLORBBEEFF,LINETHICK2;明天卖:IF(D1,VAR3+10,0),COLORFFAA00,LINETHICK2;。

通达信指标公式源码拉升出货副图指标

通达信指标公式源码拉升出货副图指标

拉升出货副图指标通达信贴图有未来未加密X_1:=IF(CLOSE>REF(CLOSE,1),88,0);X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 ANDX_1>0,91,0);X_3:=FILTER(X_2>90,45);STICKLINE(X_3,150,0,4,0),COLOR000099;STICKLINE(X_3,150,0,2,0),COLOR0000BB;STICKLINE(X_3,150,0,1,0),COLOR0000DD;STICKLINE(X_3,150,0,0.9,0),COLORRED;DRAWTEXT(X_3>0,130,1),COLOR00C5FF;X_4:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;X_5:=EMA(X_4,9);X_6:=2*(X_4-X_5);X_7:=ABS((CROSS(MACD.DIF,MACD.DEA) ANDMACD.DEA<=(-0.07))*MACD.DIF)*1.09;STICKLINE(X_7,0,50,4,0),COLOR770077;STICKLINE(X_7,0,50,3,0),COLOR990099;STICKLINE(X_7,0,50,2,0),COLORBB00BB;STICKLINE(X_7,0,50,1,0),COLORDD00DD;STICKLINE(X_7,0,50,0.3,0),COLORMAGENTA;DRAWTEXT(X_7>0,38,2),COLOR00C5FF;X_8:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,20);X_9:=CROSS((-5),X_8);STICKLINE(X_9,0,50,4,0),COLOR770077;STICKLINE(X_9,0,50,3,0),COLOR990099;STICKLINE(X_9,0,50,2,0),COLORBB00BB;STICKLINE(X_9,0,50,1,0),COLORDD00DD;STICKLINE(X_9,0,50,0.3,0),COLORMAGENTA;DRAWTEXT(X_9>0,48,3),COLOR00C5FF;X_10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;X_11:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;X_12:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;X_13:=(X_10+2*X_11+3*X_12)/6;X_14:=MA(X_13,3);X_15:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);X_16:=(CLOSE-X_15)/X_15*100;X_17:=REF(X_16,1)<0-40 AND X_16>REF(X_16,1) ANDREF(X_16,1)<REF(X_16,2) AND X_16-REF(X_16,1)>2.5;X_18:=REF(CLOSE,1);X_19:=SMA(MAX(CLOSE-X_18,0),5,1)/SMA(ABS(CLOSE-X_18),5,1)*100;X_20:=(HIGH+LOW+CLOSE)/3;X_21:=(X_20-MA(X_20,14))/(0.015*AVEDEV(X_20,14));X_22:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100 )/(MA(AMOUNT,5)/MA(VOL,5)/100)<0-0.273;X_23:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.125;X_24:=X_22 AND X_23;X_25:=X_10>=0-45 AND X_10<=0-10 AND X_11<=0-15 AND X_12<=0-20; X_26:=COUNT(X_25,1)>=1;X_27:=X_24 AND X_26;X_28:=1;X_29:=CLOSE*VOL;X_30:=EMA((MA(X_29,4)/MA(VOL,4)+MA(X_29,6)/MA(VOL,6)+MA(X_29,13)/ MA(VOL,13)+MA(X_29,24)/MA(VOL,24))/4,1);X_31:=1*X_30;X_32:=X_30*0.92;X_33:=EMA(CLOSE,34);X_34:=MA(X_33*1.12,5);X_35:=MA(X_33*0.82,5);X_36:=CLOSE<X_35;X_37:=(MA(AMOUNT,5)*X_28/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,12 5)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(0-0.4)*X_28;X_38:=HHV(HIGH,500);X_39:=LLV(LOW,500);X_40:=HHV(HIGH,250);X_41:=LLV(LOW,250);X_42:=HHV(HIGH,125);X_43:=LLV(LOW,125);X_44:=MA((X_38*0.45+X_40*0.5+X_39+X_41+X_43)/5,35);X_45:=MA((X_40*0.62+X_43)/2,35);X_46:=MA((X_40*0.75+X_43)/2,18);X_47:=MA((X_40*0.93+X_44*2+X_45*1.8+X_46*1.5)/4,18);X_48:=MA((X_38*0.95+X_44*3+X_45*2)/3,35);X_49:=X_44;X_50:=X_45;X_51:=X_46;X_52:=X_47;X_53:=X_48;X_54:=CLOSE-REF(MA(CLOSE,20),11)<0-2;X_55:=X_29/(X_29+X_30)*X_28;X_56:=X_30/(X_29+X_30)*X_28;X_57:=EMA(X_55,10);X_58:=EMA(X_56,10);X_59:=EMA(X_57,10);X_60:=EMA(X_58,20);X_61:=EMA(X_57,3);X_62:=EMA(X_59,6);X_63:=EMA(X_60,2);X_64:=X_62-X_63;X_65:=X_62-REF(X_62,1)>0 AND REF(X_62,1)-REF(X_62,2)<0;X_66:=IF(CROSS(X_61,X_62) AND X_62<=20,30,0);X_67:=X_66;X_68:=SMA(AMOUNT/VOL/100,13,1)*1.15;X_69:=SMA(AMOUNT/VOL/100,13,1)*0.85;X_70:=CLOSE-REF(MA(CLOSE,20),11);X_71:=CLOSE<X_35 AND X_37 AND CLOSE<X_69;X_72:=X_71 OR (CLOSE<X_35 AND X_54 AND X_37) OR (CLOSE<X_35 AND CLOSE<X_69);X_73:=X_72 OR (CLOSE<X_35 AND X_37 AND CLOSE<X_69) OR (X_37 AND CLOSE<X_49) OR (X_37 AND X_54 AND X_70<0-1.5) OR (X_37 AND CLOSE<X_35) OR (X_37 AND X_70<0-1.5) OR (X_54 AND CLOSE<X_69) OR (CLOSE<X_49 AND X_70<0-1.5) OR (CLOSE<X_35 AND X_54);X_74:=(HIGH+LOW+CLOSE)/3;X_75:=(X_74-MA(X_74,14))/(0.015*AVEDEV(X_74,14));X_76:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100 )/(MA(AMOUNT,5)/MA(VOL,5)/100)<0-0.273;X_77:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.125;X_78:=X_22 AND X_23;X_79:=X_10>=0-45 AND X_10<=0-7 AND X_11<=0-11 AND X_12<=0-14; X_80:=COUNT(X_79,1)>=1;X_81:=X_78 AND X_80;X_82:=X_37 AND CLOSE<X_35 AND X_54 AND CLOSE<X_49 AND X_73 AND X_81;X_83:=X_10>=0-15.8 AND X_10<=0-12.2 AND X_11<=0-20.799999 ANDX_12<=0-27.5 AND X_19<=11.7 AND X_75<=0-145;X_84:=10+0.26;X_85:=COST(10)*0;X_86:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100 )/(MA(AMOUNT,5)/MA(VOL,5)/100);X_87:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5);X_88:=CROSS(0-5,X_87) AND X_86<0-0.4 AND(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.19;X_89:=MA(CLOSE,3);X_90:=REF(CLOSE,2)*0.865;X_91:=REF(CLOSE,13)*0.772;X_92:=MIN(X_90,X_91);X_93:=100*VOL/CAPITAL;抄底:IF(X_17 OR X_27 OR X_82 OR X_83 OR ((CLOSE-X_92)/CLOSE<0.03 AND SUM(X_93,5)/5<1.8),80,0),COLORRED,LINETHICK4;DRAWTEXT(抄底>0,抄底,4),COLOR00C5FF;X_94:=REF(CLOSE,1)<REF(OPEN,1) AND OPEN>REF(CLOSE,1) AND CLOSE>=REF(CLOSE,1)*1.08;STICKLINE(X_94,20,0,4,0),COLOR000099;STICKLINE(X_94,30,0,2,0),COLOR0000BB;STICKLINE(X_94,40,0,1,0),COLOR0000DD;STICKLINE(X_94,60,0,0.9,0),COLORRED;DRAWICON(X_94,60,34);DRAWTEXT(X_94>0,30,5),COLOR00C5FF;X_95:=DATE<115123096;X_96:=MA(CLOSE,13);X_97:=MA(CLOSE,34);X_98:=MA(CLOSE,55);X_99:=OPEN<X_96 AND CLOSE>X_96;X_100:=OPEN<X_97 AND CLOSE>X_97;X_101:=OPEN<X_98 AND CLOSE>X_98;X_102:=CLOSE/OPEN>=1.04;X_103:=VOL>HHV(HIGH,10);X_104:=X_96>=REF(X_96,1);X_105:=X_99 AND X_100 AND X_101 AND X_102 AND X_103 AND X_104; IF(X_105,57,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK4; STICKLINE(X_105,26,20,1,0),COLORWHITE;STICKLINE(X_105,33,25,1,0),COLOR8800CC;STICKLINE(X_105,46,32,1,0),COLORAA00DD;STICKLINE(X_105,37,34,1,0),COLOR00AAFF;STICKLINE(X_105,50,44,1,0),COLORBLACK;DRAWICON(X_105,39,9);X_106:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);X_107:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_106),0);X_108:=EMA(X_107,3)-MA(X_107,9);X_109:=EMA(IF(X_108>0,X_108,0),3);X_110:=MA(CLOSE,3);X_111:=12;X_112:=26;X_113:=9;DIF:EMA(CLOSE,X_111)-EMA(CLOSE,X_112),COLORYELLOW;主力买:IF(DIF>REF(DIF,1),DIF,0),NODRAW;主力卖:IF(DIF<REF(DIF,1),DIF,0),NODRAW;STICKLINE(X_109>REF(X_109,1) ANDX_110>REF(X_110,1),0,X_6,4.9,0),COLORYELLOW;X_114:=X_6<0 AND X_6>REF(X_6,1);X_115:=X_6>0 AND X_6>REF(X_6,1);X_116:=X_6>0 AND X_6<REF(X_6,1);X_117:=X_6<0 AND X_6<REF(X_6,1);STICKLINE(X_114,0,X_6,2.8,0),COLORRED;STICKLINE(X_115,0,X_6,2.8,0),COLORRED;STICKLINE(X_116,0,X_6,3.8,0),COLORGREEN;STICKLINE(X_117,0,X_6,2.8,0),COLORGREEN;主力吸筹:X_114,NODRAW,COLORYELLOW;主力拉升:X_115,NODRAW,COLORRED;主力出逃:X_116,NODRAW,COLORGREEN;主力砸盘:X_117,NODRAW,COLORFFAA00;X_118:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;X_119:=SMA(X_118,2,1);X_120:=SMA(X_119,2,1);X_121:=3*X_119-2*X_120;X_122:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;X_123:=100;X_124:=X_122>=100;X_125:=X_122<100;DRAWICON(CROSS(X_124,X_125),X_124,27);DRAWTEXT_FIX(1,0,0.01,0,6),COLORYELLOW;DRAWTEXT(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*0.1,7),COLORGREEN; DRAWICON(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*0.1,9);X_126:=EMA(CLOSE,60)-EMA(CLOSE,300);X_127:=CLOSE/REF(CLOSE,3)>=1.1;X_128:=BACKSET(X_127,3);买入暴张:IF(X_128 ANDCOUNT(X_128,3)=1,30,0),COLORYELLOW,LINETHICK3;DRAWTEXT(X_128*0.8>0,32,8),COLOR00C5FF;买卖盘比▇:1/DYNAINFO(51),NODRAW,COLORGRAY;IF(买卖盘比▇>0.9,买卖盘比▇,DRAWNULL),NODRAW,COLORWHITE; IF(买卖盘比▇>1.3,买卖盘比▇,DRAWNULL),NODRAW,COLORRED; DRAWTEXT_FIX(1,0.5,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.51,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.52,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.53,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.54,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.55,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.56,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.57,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.58,0,0,9),COLORGRAY;DRAWTEXT_FIX(买卖盘比▇>0.5,0.5,0,0,9),COLORLIGREEN; DRAWTEXT_FIX(买卖盘比▇>0.6,0.51,0,0,9),COLORLIGREEN; DRAWTEXT_FIX(买卖盘比▇>0.7,0.52,0,0,9),COLORLIGREEN; DRAWTEXT_FIX(买卖盘比▇>0.75,0.53,0,0,9),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比▇>0.8,0.54,0,0,9),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比▇>0.85,0.55,0,0,9),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比▇>0.9,0.56,0,0,9),COLOR000066; DRAWTEXT_FIX(买卖盘比▇>0.95,0.57,0,0,9),COLOR000066; DRAWTEXT_FIX(买卖盘比▇>1,0.58,0,0,9),COLOR000066; DRAWTEXT_FIX(1,0.56,0,0,10),COLORBLACK;DRAWTEXT_FIX(1,0.6,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.61,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.62,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.63,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.64,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.65,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.66,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.67,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.68,0,0,9),COLORGRAY;DRAWTEXT_FIX(买卖盘比▇>1.05,0.6,0,0,9),COLORGREEN; DRAWTEXT_FIX(买卖盘比▇>1.1,0.61,0,0,9),COLORGREEN; DRAWTEXT_FIX(买卖盘比▇>1.15,0.62,0,0,9),COLORGREEN; DRAWTEXT_FIX(买卖盘比▇>1.2,0.63,0,0,9),COLORYELLOW; DRAWTEXT_FIX(买卖盘比▇>1.25,0.64,0,0,9),COLORYELLOW; DRAWTEXT_FIX(买卖盘比▇>1.3,0.65,0,0,9),COLORYELLOW; DRAWTEXT_FIX(买卖盘比▇>1.4,0.66,0,0,9),COLORRED; DRAWTEXT_FIX(买卖盘比▇>1.5,0.67,0,0,9),COLORRED; DRAWTEXT_FIX(买卖盘比▇>1.6,0.68,0,0,9),COLORRED; DRAWTEXT_FIX(1,0.65,0,0,11),COLORBLACK;MA1:EXPMA(CLOSE,5),COLORYELLOW,LINETHICK6;X_129:=MA1<REF(MA1,1);IF(X_129,MA1,DRAWNULL),COLORGREEN,LINETHICK6;X_130:=MA1>REF(MA1,1);IF(X_130,MA1,DRAWNULL),COLORBLUE,LINETHICK6;X_131:=(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))*100-30;X_132:=SMA(X_131,30,1)+100;X_133:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;X_134:=SMA(X_133,3,1);X_135:=SMA(X_134,3,1)+100;X_136:=X_135-X_132;控盘程度:IF(X_136>1,X_136-1,0)*2.5,COLORRED,LINETHICK0;控盘度:100,COLORWHITE,LINETHICK4;持币:IF(SAR(10,2,20)>=HIGH,100,DRAWNULL),COLORBLUE,LINETHICK4;持股:IF(SAR(10,2,20)<=LOW,100,DRAWNULL),COLORRED,LINETHICK4;X_137:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),6,1)*100;DRAWICON(CROSS(82,X_137),60,5);DRAWTEXT(CROSS(82,X_137),60,12),COLORGREEN,LINETHICK4;。

通达信主力资金进入指标公式控盘出货 吸货 对倒出货洗盘 黄色底部吸货 多头买入 多头卖出

通达信主力资金进入指标公式控盘出货 吸货 对倒出货洗盘 黄色底部吸货 多头买入 多头卖出

通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE; 主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00; STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。

通达信主力资金进入指标公式

通达信主力资金进入指标公式

通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF; VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。

通达信指标公式源码主力动向

通达信指标公式源码主力动向

通达信指标公式源码主力动向以下是通达信指标公式源码中与主力动向相关的指标:一、主力资金流入流出指标(MF)1.MF公式:MF:=(2*CLOSE-LOW-HIGH)/(HIGH-LOW)*VOL;解释:主力资金流入流出指标(MF)通过计算当前K线的收盘价、最低价、最高价和成交量,来反映市场的主力资金动向。

公式中的CLOSE代表收盘价,LOW代表最低价,HIGH代表最高价,VOL代表成交量。

二、主力排名指标(MI)1.MI公式:MI:=IF(REF(VOL,1)>0,((VOL-REF(VOL,1))/REF(VOL,1))*100,0);解释:主力排名指标(MI)通过计算当前K线的成交量与前一天的成交量的差值,来反映市场主力资金的排名变化情况。

公式中的VOL代表成交量,REF(VOL,1)代表前一天的成交量。

三、主力资金流向指标(MFI)1.MFI公式:MFI:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),12)/SUM(IF(CLOSE<REF(C LOSE,1),VOL,0),12);解释:主力资金流向指标(MFI)通过计算当前K线的收盘价与前一天的收盘价的大小关系,来反映市场主力资金的流向情况。

公式中的CLOSE代表收盘价,REF(CLOSE,1)代表前一天的收盘价,VOL代表成交量。

SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),12)表示过去12天内,收盘价上涨的天数的成交量之和,SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),12)表示过去12天内,收盘价下跌的天数的成交量之和。

四、主力净流入指标(NI)1.NI公式:NI:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,-VOL),12);解释:主力净流入指标(NI)通过计算当前K线的收盘价与前一天的收盘价的大小关系,并乘以成交量的正负值,来反映市场主力资金的净流入情况。

通达信指标公式源码 主力进出副图指标

通达信指标公式源码 主力进出副图指标

{主力进出N:1,100,8;M:1,100,13;P:1,100,60;S:1,100,3}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),COLOR00FF00,LINETHICK2;主力开始进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;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),COLORRED,LINETHICK2;大资金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;说明:当主力开始进大于0时,即紫线开始出现时,可以跟进,当主力大于100时,可以开始减仓,当主力开始出大于0时,即绿线出现时,坚决离场。

通达信经典划线指标(压力支撑);明天HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY: =0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF, POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW ,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55B B,LINETHICK2;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENT A,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,PO INTDOT;通达信趋势WW1:=FILTER(OPEN<REF(LOW,1) AND CLOSE>OPEN AND VOL>REF(VOL,1),13);LC:=REF(CLOSE,1);JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;SZ:=FILTER(CROSS(JH,35),13);SX:=FILTER(CROSS(JH,30),7);SQ:=FILTER(CROSS(71,JH)<0,74);SD:=FILTER(CROSS(80,JH)<0,74);AA:=IF(CAPITAL<1,SZ,SX);BB:=IF(CAPITAL<1,SQ,SD);W10:=BARSLAST(AA);W11:=BARSLAST(BB);W12:=IF(W10>0 AND W10<W11,W10,0);W13:=IF(W11>0 AND W11<W10,W11,0);{VERTLINE(AA),LINEDOT,COLOR0000FF;VERTLINE(BB),LINEDOT,COLOR00FB00;}STICKLINE(CLOSE>REF(CLOSE,1),HIGH,LOW,0,1),COLORRED;STICKLINE(CLOSE>REF(CLOSE,1),CLOSE,OPEN,3,1),COLORRED;STICKLINE(CLOSE<REF(CLOSE,1),HIGH,LOW,0,1),COLORGREEN;STICKLINE(CLOSE<REF(CLOSE,1),CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,1),COLORFFFFFF;STICKLINE(CLOSE=REF(CLOSE,1),CLOSE,OPEN,3,1),COLORBBBBBB;STICKLINE(WW1,HIGH,LOW,0,0),COLOR00CCFF;{黄}STICKLINE(WW1,CLOSE,OPEN,3,0),COLOR00CCFF;STICKLINE(AA,HIGH,LOW,0,0),COLOR9900FF;{粉}STICKLINE(AA,CLOSE,OPEN,3,0),COLORFF99FF;{红柱牛股.粉柱买入.黄柱洗盘.绿柱卖出}{解盘}AAA:=CONST(HHV(H,90));A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10)))+ IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10)));DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T1:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T2:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T3:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)),1,0));T4:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)),1,0));T5:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T6:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T7:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T8:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0)); T9:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)),1,0)); T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0)); T24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0)); T25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0)); DRAWTEXT(T1=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'量能理想,明显走强,中线参与,仓位在2/3左右'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'走势趋强,还显不足,短线进场,仓位在1/2左右'),COLORFF00FF ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'量价良好,没有明显走强,短线进场,仓位1/2左右'),COLORFF00FF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右'),COLORFF00FF ; DRAWTEXT(T5=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'形态变坏,重仓者减持大半,清仓者观望'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=60,AAA*0.98,'随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓'),COLORFF00FF ; DRAWTEXT(T7=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'该股放量下跌,走势明显偏弱,离场观望'),COLORFF00FF ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'该股缩量下跌,走势偏弱,离场观望。

通达信抄底指标源码主力进场主力拉升

通达信抄底指标源码主力进场主力拉升

通达信抄底指标源码主力进场主力拉升通达信抄底指标源码主力进场主力拉升一、引言在股票市场中,抄底是指投资者在股票价格下跌到一个相对较低的水平时,以较低的价格买入股票,以期待未来价格回升获取利润。

而主力进场和主力拉升是指大资金或机构投资者进入市场并推动股价上涨的行为。

本文将介绍通达信抄底指标源码中的主力进场和主力拉升指标。

二、通达信抄底指标源码1. 主力进场指标源码主力进场指标是通过分析成交量和价格走势来判断大资金或机构投资者是否进入市场。

以下是通达信抄底指标源码中的一个示例:```MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);VOL_MA5:MA(VOL,5);VOL_MA10:MA(VOL,10);// 计算主力进场信号IF(MA5 > MA10 AND VOL_MA5 > VOL_MA10, 1, 0);```上述代码中,首先计算了收盘价的5日移动平均线(MA5)和10日移动平均线(MA10),以及成交量的5日移动平均线(VOL_MA5)和10日移动平均线(VOL_MA10)。

然后通过判断MA5是否大于MA10,并且VOL_MA5是否大于VOL_MA10来确定主力进场信号。

如果满足条件,则输出1,表示主力进场;否则输出0,表示非主力进场。

2. 主力拉升指标源码主力拉升指标是通过分析成交量和价格走势来判断大资金或机构投资者是否在推动股价上涨。

以下是通达信抄底指标源码中的一个示例:```REF_HIGH:REF(HIGH,1);REF_LOW:REF(LOW,1);UP:IF(CLOSE>REF_HIGH,1,0);DOWN:IF(CLOSE<REF_LOW,-1,0);// 计算主力拉升信号IF(SUM(UP,5)>3 AND SUM(DOWN,5)<-3, 1, 0);```上述代码中,首先计算了前一天的最高价(REF_HIGH)和最低价(REF_LOW)。

通达信指标公式源码拉升出货副图指标

通达信指标公式源码拉升出货副图指标

拉升出货副图指标通达信贴图有未来未加密X_1:=IF(CLOSE>REF(CLOSE,1),88,0);X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 ANDX_1>0,91,0);X_3:=FILTER(X_2>90,45);STICKLINE(X_3,150,0,4,0),COLOR000099;STICKLINE(X_3,150,0,2,0),COLOR0000BB;STICKLINE(X_3,150,0,1,0),COLOR0000DD;STICKLINE(X_3,150,0,0.9,0),COLORRED;DRAWTEXT(X_3>0,130,1),COLOR00C5FF;X_4:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;X_5:=EMA(X_4,9);X_6:=2*(X_4-X_5);X_7:=ABS((CROSS(MACD.DIF,MACD.DEA) ANDMACD.DEA<=(-0.07))*MACD.DIF)*1.09;STICKLINE(X_7,0,50,4,0),COLOR770077;STICKLINE(X_7,0,50,3,0),COLOR990099;STICKLINE(X_7,0,50,2,0),COLORBB00BB;STICKLINE(X_7,0,50,1,0),COLORDD00DD;STICKLINE(X_7,0,50,0.3,0),COLORMAGENTA;DRAWTEXT(X_7>0,38,2),COLOR00C5FF;X_8:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,20);X_9:=CROSS((-5),X_8);STICKLINE(X_9,0,50,4,0),COLOR770077;STICKLINE(X_9,0,50,3,0),COLOR990099;STICKLINE(X_9,0,50,2,0),COLORBB00BB;STICKLINE(X_9,0,50,1,0),COLORDD00DD;STICKLINE(X_9,0,50,0.3,0),COLORMAGENTA;DRAWTEXT(X_9>0,48,3),COLOR00C5FF;X_10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;X_11:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;X_12:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;X_13:=(X_10+2*X_11+3*X_12)/6;X_14:=MA(X_13,3);X_15:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);X_16:=(CLOSE-X_15)/X_15*100;X_17:=REF(X_16,1)<0-40 AND X_16>REF(X_16,1) ANDREF(X_16,1)<REF(X_16,2) AND X_16-REF(X_16,1)>2.5;X_18:=REF(CLOSE,1);X_19:=SMA(MAX(CLOSE-X_18,0),5,1)/SMA(ABS(CLOSE-X_18),5,1)*100;X_20:=(HIGH+LOW+CLOSE)/3;X_21:=(X_20-MA(X_20,14))/(0.015*AVEDEV(X_20,14));X_22:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100 )/(MA(AMOUNT,5)/MA(VOL,5)/100)<0-0.273;X_23:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.125;X_24:=X_22 AND X_23;X_25:=X_10>=0-45 AND X_10<=0-10 AND X_11<=0-15 AND X_12<=0-20; X_26:=COUNT(X_25,1)>=1;X_27:=X_24 AND X_26;X_28:=1;X_29:=CLOSE*VOL;X_30:=EMA((MA(X_29,4)/MA(VOL,4)+MA(X_29,6)/MA(VOL,6)+MA(X_29,13)/ MA(VOL,13)+MA(X_29,24)/MA(VOL,24))/4,1);X_31:=1*X_30;X_32:=X_30*0.92;X_33:=EMA(CLOSE,34);X_34:=MA(X_33*1.12,5);X_35:=MA(X_33*0.82,5);X_36:=CLOSE<X_35;X_37:=(MA(AMOUNT,5)*X_28/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,12 5)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(0-0.4)*X_28;X_38:=HHV(HIGH,500);X_39:=LLV(LOW,500);X_40:=HHV(HIGH,250);X_41:=LLV(LOW,250);X_42:=HHV(HIGH,125);X_43:=LLV(LOW,125);X_44:=MA((X_38*0.45+X_40*0.5+X_39+X_41+X_43)/5,35);X_45:=MA((X_40*0.62+X_43)/2,35);X_46:=MA((X_40*0.75+X_43)/2,18);X_47:=MA((X_40*0.93+X_44*2+X_45*1.8+X_46*1.5)/4,18);X_48:=MA((X_38*0.95+X_44*3+X_45*2)/3,35);X_49:=X_44;X_50:=X_45;X_51:=X_46;X_52:=X_47;X_53:=X_48;X_54:=CLOSE-REF(MA(CLOSE,20),11)<0-2;X_55:=X_29/(X_29+X_30)*X_28;X_56:=X_30/(X_29+X_30)*X_28;X_57:=EMA(X_55,10);X_58:=EMA(X_56,10);X_59:=EMA(X_57,10);X_60:=EMA(X_58,20);X_61:=EMA(X_57,3);X_62:=EMA(X_59,6);X_63:=EMA(X_60,2);X_64:=X_62-X_63;X_65:=X_62-REF(X_62,1)>0 AND REF(X_62,1)-REF(X_62,2)<0;X_66:=IF(CROSS(X_61,X_62) AND X_62<=20,30,0);X_67:=X_66;X_68:=SMA(AMOUNT/VOL/100,13,1)*1.15;X_69:=SMA(AMOUNT/VOL/100,13,1)*0.85;X_70:=CLOSE-REF(MA(CLOSE,20),11);X_71:=CLOSE<X_35 AND X_37 AND CLOSE<X_69;X_72:=X_71 OR (CLOSE<X_35 AND X_54 AND X_37) OR (CLOSE<X_35 AND CLOSE<X_69);X_73:=X_72 OR (CLOSE<X_35 AND X_37 AND CLOSE<X_69) OR (X_37 AND CLOSE<X_49) OR (X_37 AND X_54 AND X_70<0-1.5) OR (X_37 AND CLOSE<X_35) OR (X_37 AND X_70<0-1.5) OR (X_54 AND CLOSE<X_69) OR (CLOSE<X_49 AND X_70<0-1.5) OR (CLOSE<X_35 AND X_54);X_74:=(HIGH+LOW+CLOSE)/3;X_75:=(X_74-MA(X_74,14))/(0.015*AVEDEV(X_74,14));X_76:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100 )/(MA(AMOUNT,5)/MA(VOL,5)/100)<0-0.273;X_77:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.125;X_78:=X_22 AND X_23;X_79:=X_10>=0-45 AND X_10<=0-7 AND X_11<=0-11 AND X_12<=0-14; X_80:=COUNT(X_79,1)>=1;X_81:=X_78 AND X_80;X_82:=X_37 AND CLOSE<X_35 AND X_54 AND CLOSE<X_49 AND X_73 AND X_81;X_83:=X_10>=0-15.8 AND X_10<=0-12.2 AND X_11<=0-20.799999 ANDX_12<=0-27.5 AND X_19<=11.7 AND X_75<=0-145;X_84:=10+0.26;X_85:=COST(10)*0;X_86:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100 )/(MA(AMOUNT,5)/MA(VOL,5)/100);X_87:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5);X_88:=CROSS(0-5,X_87) AND X_86<0-0.4 AND(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.19;X_89:=MA(CLOSE,3);X_90:=REF(CLOSE,2)*0.865;X_91:=REF(CLOSE,13)*0.772;X_92:=MIN(X_90,X_91);X_93:=100*VOL/CAPITAL;抄底:IF(X_17 OR X_27 OR X_82 OR X_83 OR ((CLOSE-X_92)/CLOSE<0.03 AND SUM(X_93,5)/5<1.8),80,0),COLORRED,LINETHICK4;DRAWTEXT(抄底>0,抄底,4),COLOR00C5FF;X_94:=REF(CLOSE,1)<REF(OPEN,1) AND OPEN>REF(CLOSE,1) AND CLOSE>=REF(CLOSE,1)*1.08;STICKLINE(X_94,20,0,4,0),COLOR000099;STICKLINE(X_94,30,0,2,0),COLOR0000BB;STICKLINE(X_94,40,0,1,0),COLOR0000DD;STICKLINE(X_94,60,0,0.9,0),COLORRED;DRAWICON(X_94,60,34);DRAWTEXT(X_94>0,30,5),COLOR00C5FF;X_95:=DATE<115123096;X_96:=MA(CLOSE,13);X_97:=MA(CLOSE,34);X_98:=MA(CLOSE,55);X_99:=OPEN<X_96 AND CLOSE>X_96;X_100:=OPEN<X_97 AND CLOSE>X_97;X_101:=OPEN<X_98 AND CLOSE>X_98;X_102:=CLOSE/OPEN>=1.04;X_103:=VOL>HHV(HIGH,10);X_104:=X_96>=REF(X_96,1);X_105:=X_99 AND X_100 AND X_101 AND X_102 AND X_103 AND X_104; IF(X_105,57,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK4; STICKLINE(X_105,26,20,1,0),COLORWHITE;STICKLINE(X_105,33,25,1,0),COLOR8800CC;STICKLINE(X_105,46,32,1,0),COLORAA00DD;STICKLINE(X_105,37,34,1,0),COLOR00AAFF;STICKLINE(X_105,50,44,1,0),COLORBLACK;DRAWICON(X_105,39,9);X_106:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);X_107:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_106),0);X_108:=EMA(X_107,3)-MA(X_107,9);X_109:=EMA(IF(X_108>0,X_108,0),3);X_110:=MA(CLOSE,3);X_111:=12;X_112:=26;X_113:=9;DIF:EMA(CLOSE,X_111)-EMA(CLOSE,X_112),COLORYELLOW;主力买:IF(DIF>REF(DIF,1),DIF,0),NODRAW;主力卖:IF(DIF<REF(DIF,1),DIF,0),NODRAW;STICKLINE(X_109>REF(X_109,1) ANDX_110>REF(X_110,1),0,X_6,4.9,0),COLORYELLOW;X_114:=X_6<0 AND X_6>REF(X_6,1);X_115:=X_6>0 AND X_6>REF(X_6,1);X_116:=X_6>0 AND X_6<REF(X_6,1);X_117:=X_6<0 AND X_6<REF(X_6,1);STICKLINE(X_114,0,X_6,2.8,0),COLORRED;STICKLINE(X_115,0,X_6,2.8,0),COLORRED;STICKLINE(X_116,0,X_6,3.8,0),COLORGREEN;STICKLINE(X_117,0,X_6,2.8,0),COLORGREEN;主力吸筹:X_114,NODRAW,COLORYELLOW;主力拉升:X_115,NODRAW,COLORRED;主力出逃:X_116,NODRAW,COLORGREEN;主力砸盘:X_117,NODRAW,COLORFFAA00;X_118:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;X_119:=SMA(X_118,2,1);X_120:=SMA(X_119,2,1);X_121:=3*X_119-2*X_120;X_122:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;X_123:=100;X_124:=X_122>=100;X_125:=X_122<100;DRAWICON(CROSS(X_124,X_125),X_124,27);DRAWTEXT_FIX(1,0,0.01,0,6),COLORYELLOW;DRAWTEXT(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*0.1,7),COLORGREEN; DRAWICON(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*0.1,9);X_126:=EMA(CLOSE,60)-EMA(CLOSE,300);X_127:=CLOSE/REF(CLOSE,3)>=1.1;X_128:=BACKSET(X_127,3);买入暴张:IF(X_128 ANDCOUNT(X_128,3)=1,30,0),COLORYELLOW,LINETHICK3;DRAWTEXT(X_128*0.8>0,32,8),COLOR00C5FF;买卖盘比▇:1/DYNAINFO(51),NODRAW,COLORGRAY;IF(买卖盘比▇>0.9,买卖盘比▇,DRAWNULL),NODRAW,COLORWHITE; IF(买卖盘比▇>1.3,买卖盘比▇,DRAWNULL),NODRAW,COLORRED; DRAWTEXT_FIX(1,0.5,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.51,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.52,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.53,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.54,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.55,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.56,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.57,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.58,0,0,9),COLORGRAY;DRAWTEXT_FIX(买卖盘比▇>0.5,0.5,0,0,9),COLORLIGREEN; DRAWTEXT_FIX(买卖盘比▇>0.6,0.51,0,0,9),COLORLIGREEN; DRAWTEXT_FIX(买卖盘比▇>0.7,0.52,0,0,9),COLORLIGREEN; DRAWTEXT_FIX(买卖盘比▇>0.75,0.53,0,0,9),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比▇>0.8,0.54,0,0,9),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比▇>0.85,0.55,0,0,9),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比▇>0.9,0.56,0,0,9),COLOR000066; DRAWTEXT_FIX(买卖盘比▇>0.95,0.57,0,0,9),COLOR000066; DRAWTEXT_FIX(买卖盘比▇>1,0.58,0,0,9),COLOR000066; DRAWTEXT_FIX(1,0.56,0,0,10),COLORBLACK;DRAWTEXT_FIX(1,0.6,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.61,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.62,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.63,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.64,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.65,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.66,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.67,0,0,9),COLORGRAY;DRAWTEXT_FIX(1,0.68,0,0,9),COLORGRAY;DRAWTEXT_FIX(买卖盘比▇>1.05,0.6,0,0,9),COLORGREEN; DRAWTEXT_FIX(买卖盘比▇>1.1,0.61,0,0,9),COLORGREEN; DRAWTEXT_FIX(买卖盘比▇>1.15,0.62,0,0,9),COLORGREEN; DRAWTEXT_FIX(买卖盘比▇>1.2,0.63,0,0,9),COLORYELLOW; DRAWTEXT_FIX(买卖盘比▇>1.25,0.64,0,0,9),COLORYELLOW; DRAWTEXT_FIX(买卖盘比▇>1.3,0.65,0,0,9),COLORYELLOW; DRAWTEXT_FIX(买卖盘比▇>1.4,0.66,0,0,9),COLORRED; DRAWTEXT_FIX(买卖盘比▇>1.5,0.67,0,0,9),COLORRED; DRAWTEXT_FIX(买卖盘比▇>1.6,0.68,0,0,9),COLORRED; DRAWTEXT_FIX(1,0.65,0,0,11),COLORBLACK;MA1:EXPMA(CLOSE,5),COLORYELLOW,LINETHICK6;X_129:=MA1<REF(MA1,1);IF(X_129,MA1,DRAWNULL),COLORGREEN,LINETHICK6;X_130:=MA1>REF(MA1,1);IF(X_130,MA1,DRAWNULL),COLORBLUE,LINETHICK6;X_131:=(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))*100-30;X_132:=SMA(X_131,30,1)+100;X_133:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;X_134:=SMA(X_133,3,1);X_135:=SMA(X_134,3,1)+100;X_136:=X_135-X_132;控盘程度:IF(X_136>1,X_136-1,0)*2.5,COLORRED,LINETHICK0;控盘度:100,COLORWHITE,LINETHICK4;持币:IF(SAR(10,2,20)>=HIGH,100,DRAWNULL),COLORBLUE,LINETHICK4;持股:IF(SAR(10,2,20)<=LOW,100,DRAWNULL),COLORRED,LINETHICK4;X_137:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),6,1)*100;DRAWICON(CROSS(82,X_137),60,5);DRAWTEXT(CROSS(82,X_137),60,12),COLORGREEN,LINETHICK4;。

主力洗盘护盘主图通达信指标公式源码

主力洗盘护盘主图通达信指标公式源码

分享主图源码仅供参考DIF:=EMA(CLOSE,6)-EMA(CLOSE,16);DEA:=EMA(DIF,9);资金窗:CROSS(DIF,DEA) AND DEA>-0.05,COLORFFFFFF,NODRAW;DRAWICON(资金窗,LOW*0.98, 5);DRAWTEXT(资金窗>0, LOW*0.99,'资金窗'),COLORFFFFFF;VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR27:=EMA(VAR26,100);VAR28:=2*(VAR26-VAR27);VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR2B:=EMA(VAR2A*0.97,3);VAR2C:=(HIGH+LOW+CLOSE)/3;VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));龙抬头:=IF( VAR28>0.1,VAR29,0)*5,COLORCYAN;护盘: CROSS(VAR28,1),COLORFF9900,NODRAW;DRAWICON(护盘,LOW*0.96,31);DRAWTEXT(护盘>0, LOW*0.95,'护盘'),COLORFF9900;后金窗:COUNT(L=LLV(L,20),20)=1 AND L=LLV(L,20),NODRAW,COLORFF00FF; DRAWICON(后金窗,LOW*1, 22);DRAWTEXT(后金窗>0, LOW*0.99,'后金窗'),COLORFF00FF;STICKLINE(后金窗AND FILTER(后金窗,31)>0,L*1.01,L*1.01,300,0),COLORYELLOW; C3:=REF(C,1);{好股票网 整理}涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;RC1:=REF(C,1);涨停率10:=10-1/RC1;涨停率5:=5-1/RC1;比前涨率:=(C-RC1+0.004)*100/RC1;比前跌率:=(RC1-C-0.004)*100/RC1;本日涨率:=(C-O+0.004)*100/O;本日跌率:=(O-C-0.004)*100/O;大阳线:=C>O AND (比前涨率>=涨停率5 OR 本日涨率>=涨停率5) AND 比前涨率<涨停率10 AND 涨停=0;STICKLINE(大阳线,O,C,3,0),COLOR0000BB;大阴线:=C<O AND (比前跌率>=涨停率5 OR 本日跌率>=涨停率5) AND 比前跌率<涨停率10 AND 跌停=0;STICKLINE(大阴线,O,C,3,0),COLORLIGREEN;HIGHN:=10;AAB:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AAB,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); DRAWICON(CC,H*1.01,2);DRAWTEXT(CC>0, H*1,'洗盘'),COLORFFFFFF;涨停2 := (C /REF(C,1)) > 1.095;STICKLINE(涨停2, HIGH, OPEN, 1, 0), COLORYELLOW;跌停2 := C/REF(C,1) < 0.9 ;STICKLINE(跌停2, HIGH, LOW, 1, 0), COLORGREEN;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

通达信指标公式源码主力进货洗盘拉升出货标签属性:炒股技术技术指标指标公式公式源码炒股指标炒股公式炒股源码指标源码技术源码使用介绍如下:值得拥有的副图指标,感觉还不错,值得一看,让你抓着真正的波段,不会被下跌途中的小反抽欺骗。

可修改指标与其它软件通用。

从菜单“功能”-“公式系统”-“公式管理”-“新建加入”公式源码如下:回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;经典K:=SMA(经典RL,3,1); 经典D:=SMA(经典K,3,1); 经典J:=3*经典K-2*经典D;MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20)))/(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));MAHL2:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A} MAHL3:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A} 回归斜率带:DRAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线A,2),RGB(0,104,154)); 上线:=SMA(C,6.5,1);一号支撑线:SMA(C,14.5,1);上线1:=SMA(C,3,1);一号支撑线1:=SMA(C,8,1);上线2:=SMA(C,3.5,1);DRAWTEXT(CROSS(一号支撑线1,上线1),H*1.08,'洗盘'),COLOR00FF00;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,55),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) AND CLOSE<上线1 , HIGH*1.04,'减仓') ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),COLORBLUE,LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;DRAWTEXT( CROSS(上线1,上线) AND 上线1>操作,LOW *0.92,'买进' ),COLORYELLOW; VAR1:LLV(A7,21);VAR2:HHV(A7,30);DRAWTEXT( CROSS(上线1,操作) AND 上线1<一号支撑线AND 上线1<一号支撑线1 AND 上线1<上线AND CLOSE>VAR1,LOW *0.98,'见底' ),COLORYELLOW;YCX:=操作>=REF(操作,1);H1:=MAX(MAX(上线,一号支撑线1),一号支撑线);L1:=MIN(MIN(上线,一号支撑线1),一号支撑线);DRAWTEXT(CROSS(上线1,一号支撑线1) AND 上线1>操作,LOW *0.98,'全仓' ),COLORYELLOW;SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);M1:=1000*操作/一号支撑线<=1015 AND 1000*操作/一号支撑线>=975;M2:=1000*一号支撑线1/一号支撑线<=1020 AND 一号支撑线1/一号支撑线>=980;M3:=1000*上线/一号支撑线<=1015 AND 上线/一号支撑线>=985;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(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*0.94,'买进') ,COLORYELLOW;D:=MA(CLOSE,89)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.88,'抄底'),COLORBROWN;RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:=3*K-2*D1;VAR3:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点}VAR4:=EMA(EMA(EMA(VAR3,4),4),4);{可将3该为4,信号少点}E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;F:=MA(E,3)+0.03;G:=MA(E,1);DRAWICON(CROSS(F,G) AND J>65,HIGH*1.02,15),COLORGREEN;DRAWICON(CROSS(G,F),LOW *0.9,9),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND H1<C AND O<L1 AND YCX AND CROSS(上线1,操作) AND LOW>VAR1 AND 上线1>一号支撑线AND J<90,LOW *0.9,'主升' ),COLORRED; DRAWTEXT( CROSS(上线1,操作) AND M1 AND M2 AND M3,LOW *0.94,'买进' ),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CLOSE>MA(CLOSE,一号支撑线) AND 操作>=REF(CLOSE,操作) AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.9,'主升' ),COLORRED;DRAWTEXT(CLOSE>OPEN AND 操作>上线AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.86,'回踩买进' ),COLORRED;DRAWTEXT(CLOSE>OPEN AND CROSS(上线,一号支撑线) AND LOW>VAR1 AND J<90,LOW *0.86,'回踩买进' ),COLORRED;STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED;STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;{红K}; STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{红K}; STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF; STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN; STICKLINE(C<REF(C,1) AND C>O,C,O,3,0),COLORFFCC00; STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,3,0 ),COLOR990000; STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000; STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400; STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800; STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,3.2,0),COLORBB00FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.7,0),COLORFF33FF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.1,0), COLORFF66FF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,1.5,0),COLORFF99FF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.9,0),COLORFFBBFF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.3,0),COLORFFDDFF;。

相关文档
最新文档