通达信超级单指标源码(上升三法选股公式源码?)
1. 上升三法选股公式源码?
上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。以下是上升三法的选股公式源码:
A1:=REF(CLOSE,3)/REF(OPEN,3)>1.03;
A2:=DOWNNDAY(CLOSE,3);
A3:=H<REF(H,3) AND REF(H,2)<REF(H,3) AND REF(H,1)<REF(H,3);
A4:=REF(L,3)<L AND REF(L,3)<REF(L,2) AND REF(L,3)<REF(L,1);
A5:=CLOSE>REF(CLOSE,1);
A6:=HHV(HIGH,3)/LLV(LOW,3)<1.12;
A7:=BETWEEN(CLOSE,REF(OPEN,3)*1.005,REF(OPEN,3)*1.025);
A8:=BETWEEN(OPEN,REF(CLOSE,3)*0.995,REF(CLOSE,3)*0.975);
A9:=BETWEEN(CLOSE,REF(OPEN,3),REF(CLOSE,3));
A10:=BETWEEN(HIGH,REF(HIGH,1),REF(LOW,1));
A11:=BETWEEN(LOW,REF(HIGH,1),REF(LOW,1));
A12:=BETWEEN(CLOSE/REF(CLOSE,1)-1)*100-5 AND BETWEEN(CLOSE/REF(CLOSE,1)-1)*100+5;
A1:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12;
STICKLINE(A1,O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25),O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),O*IF(MA(CROSS(CROSS(-0.05,C/O),-0.05),4)/MA(CROSS(CROSS(-0.05,C/O),+0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),30,RGB(255,0,0));
以上源码可能会涉及到一些自定义指标,如MA、CROSS等,具体使用方法需要根据具体指标进行设置。同时,在使用选股公式时,也需要注意股票市场的具体情况,以及个人的投资偏好和风险承受能力。
2. 上升三法选股公式源码?
上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。以下是上升三法的选股公式源码:
A1:=REF(CLOSE,3)/REF(OPEN,3)>1.03;
A2:=DOWNNDAY(CLOSE,3);
A3:=H<REF(H,3) AND REF(H,2)<REF(H,3) AND REF(H,1)<REF(H,3);
A4:=REF(L,3)<L AND REF(L,3)<REF(L,2) AND REF(L,3)<REF(L,1);
A5:=CLOSE>REF(CLOSE,1);
A6:=HHV(HIGH,3)/LLV(LOW,3)<1.12;
A7:=BETWEEN(CLOSE,REF(OPEN,3)*1.005,REF(OPEN,3)*1.025);
A8:=BETWEEN(OPEN,REF(CLOSE,3)*0.995,REF(CLOSE,3)*0.975);
A9:=BETWEEN(CLOSE,REF(OPEN,3),REF(CLOSE,3));
A10:=BETWEEN(HIGH,REF(HIGH,1),REF(LOW,1));
A11:=BETWEEN(LOW,REF(HIGH,1),REF(LOW,1));
A12:=BETWEEN(CLOSE/REF(CLOSE,1)-1)*100-5 AND BETWEEN(CLOSE/REF(CLOSE,1)-1)*100+5;
A1:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12;
STICKLINE(A1,O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25),O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),O*IF(MA(CROSS(CROSS(-0.05,C/O),-0.05),4)/MA(CROSS(CROSS(-0.05,C/O),+0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),30,RGB(255,0,0));
以上源码可能会涉及到一些自定义指标,如MA、CROSS等,具体使用方法需要根据具体指标进行设置。同时,在使用选股公式时,也需要注意股票市场的具体情况,以及个人的投资偏好和风险承受能力。
3. 上升三法选股公式源码?
上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。以下是上升三法的选股公式源码:
A1:=REF(CLOSE,3)/REF(OPEN,3)>1.03;
A2:=DOWNNDAY(CLOSE,3);
A3:=H<REF(H,3) AND REF(H,2)<REF(H,3) AND REF(H,1)<REF(H,3);
A4:=REF(L,3)<L AND REF(L,3)<REF(L,2) AND REF(L,3)<REF(L,1);
A5:=CLOSE>REF(CLOSE,1);
A6:=HHV(HIGH,3)/LLV(LOW,3)<1.12;
A7:=BETWEEN(CLOSE,REF(OPEN,3)*1.005,REF(OPEN,3)*1.025);
A8:=BETWEEN(OPEN,REF(CLOSE,3)*0.995,REF(CLOSE,3)*0.975);
A9:=BETWEEN(CLOSE,REF(OPEN,3),REF(CLOSE,3));
A10:=BETWEEN(HIGH,REF(HIGH,1),REF(LOW,1));
A11:=BETWEEN(LOW,REF(HIGH,1),REF(LOW,1));
A12:=BETWEEN(CLOSE/REF(CLOSE,1)-1)*100-5 AND BETWEEN(CLOSE/REF(CLOSE,1)-1)*100+5;
A1:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12;
STICKLINE(A1,O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25),O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),O*IF(MA(CROSS(CROSS(-0.05,C/O),-0.05),4)/MA(CROSS(CROSS(-0.05,C/O),+0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),30,RGB(255,0,0));
以上源码可能会涉及到一些自定义指标,如MA、CROSS等,具体使用方法需要根据具体指标进行设置。同时,在使用选股公式时,也需要注意股票市场的具体情况,以及个人的投资偏好和风险承受能力。
4. 上升三法选股公式源码?
上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。上升三法是一种K线形态,它由五根K线组成,其中第一根K线是阳线,然后是三根连续的小阴线,最后是一根阳线。以下是上升三法的选股公式源码:
A1:=REF(CLOSE,3)/REF(OPEN,3)>1.03;
A2:=DOWNNDAY(CLOSE,3);
A3:=H<REF(H,3) AND REF(H,2)<REF(H,3) AND REF(H,1)<REF(H,3);
A4:=REF(L,3)<L AND REF(L,3)<REF(L,2) AND REF(L,3)<REF(L,1);
A5:=CLOSE>REF(CLOSE,1);
A6:=HHV(HIGH,3)/LLV(LOW,3)<1.12;
A7:=BETWEEN(CLOSE,REF(OPEN,3)*1.005,REF(OPEN,3)*1.025);
A8:=BETWEEN(OPEN,REF(CLOSE,3)*0.995,REF(CLOSE,3)*0.975);
A9:=BETWEEN(CLOSE,REF(OPEN,3),REF(CLOSE,3));
A10:=BETWEEN(HIGH,REF(HIGH,1),REF(LOW,1));
A11:=BETWEEN(LOW,REF(HIGH,1),REF(LOW,1));
A12:=BETWEEN(CLOSE/REF(CLOSE,1)-1)*100-5 AND BETWEEN(CLOSE/REF(CLOSE,1)-1)*100+5;
A1:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12;
STICKLINE(A1,O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25),O*IF(MA(CROSS(CROSS(C/O,-0.05),+0.05),4)/MA(CROSS(CROSS(-0.05,C/O),-0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),O*IF(MA(CROSS(CROSS(-0.05,C/O),-0.05),4)/MA(CROSS(CROSS(-0.05,C/O),+0.05),4)>=1.25)*0.995 AND CROSS(-0.05,C/O),30,RGB(255,0,0));
以上源码可能会涉及到一些自定义指标,如MA、CROSS等,具体使用方法需要根据具体指标进行设置。同时,在使用选股公式时,也需要注意股票市场的具体情况,以及个人的投资偏好和风险承受能力。
5. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
6. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
7. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
8. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
9. 如何编写通达信主力成本股价指标源码?
通达信 主力成本指标
ZJ:=(O H L C)/4;
YZ:=IF(BARSCOUNT(C)
10. kdj指标原版公式源码?
以下是kdj指标源码(无源码的请下载附件导入)
通达信副图公式原码:
{参数:n:2,90,9。m1:2,30,3。m2:2,30,3}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
通达信选股公式原码:
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:=SMA(RSV,M1,1),LINETHICK1;
D:=SMA(K,M2,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
COUNT(J<0,8)>=3 AND CROSS(J,1) AND K>=REF(K,1);
11. expma指标源码?
AEXP12:EXPMA(CLOSE,12)COLORBLUE,LINETHICK1;
AEXP21:EXPMA(CLOSE,21)COLORGREEN,LINETHICK2;
AEXP50:EXPMA(CLOSE,50)COLORGREEN,LINETHICK2;
IF(AEXP12>(REFV(AEXP12,1)),AEXP12,DRAWNULL),COLORRED,LINETHICK1;
IF(AEXP21>(REFV(AEXP21,1)),AEXP21,DRAWNULL),COLORMAGENTA,LINETHICK2;
A1:=EMA(C,14),COLORA2A200,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
DRAWTEXT_FIX(1,0,0.07,0,'【所属板块】'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.07,0,DYBLOCK),COLOR0080FF; {地域}
DRAWTEXT_FIX(1,0.122,0.07,0,GNBLOCK),COLORCFB53B; {概念}
DRAWTEXT_FIX(1,0,0.19,0,'【莸利比例】'),COLORWHITE;
DRAWNUMBER_FIX(1,0.09,0.19,0,CONST(WINNER(C )*100)),COLORYELLOW;
DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED; {行业}
{DRAWTEXT_FIX(1,0.124,0,0,FGBLOCK),COLORYELLOW;} {风格}
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
DRAWTEXT_FIX(1,0,0.31,0,'【量能饱和度】')COLORWHITE;
DRAWNUMBER_FIX(1,0.1,0.31,0,CONST(SAT)),COLORYELLOW;
突破:REF(EMA(C,14),1),NODRAW;
距离:(C-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORB000B0,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORFFFF00,LINETHICK1;
涨幅:IF(A1X>=0,(C-出击)/出击*100,DRAWNULL)NODRAW;
跌幅:IF(A1X<0,(C-休假)/休假*100,DRAWNULL)NODRAW;
TT:=240/FROMOPEN;比:=TT;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);
AZ2:=EMA(AY2,9);LT2:=(AY2-AZ2);
L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;
ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L211,80);ZDD2:=CONST(ZDD);
YYA4:=MA(CLOSE,20);YYA5:=(CLOSE > MA(CLOSE,5));YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YYA7:=(CLOSE > MA(CLOSE,10));YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YYA9:=(CLOSE > MA(CLOSE,20));YYA10:=REF(YYA4,1);YYA11:=(YYA4 > YYA10);
YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);
YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);J1:=CONST(IF( YYAVX > 0,200,100));
J2:=CONST(IF( YYAVX > 0,00,100));J3:=CONST(IF( YYAVX > 0,100,100));
ZGD3:=ZGD2;ZDD3:=ZDD2;ZGD4:=ZGD2;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLOR00FFFF;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLOR606000;
情况1:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW;
情况2:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况3:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));
情况4:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));
情况5:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况6:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况7:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况8:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况9:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况10:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况11:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)),NODRAW;
情况12:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况13:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况14:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况15:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况16:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
大盘1:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0));
大盘2:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0));
大盘3:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0));
大盘4:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0));
大盘5:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0));
大盘6:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0));
大盘7:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0));
大盘8:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0));
MFI:=(HIGH-LOW)*1000000/(VOL*比);
绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM1:=CONST(绿灯);
衰退:=MFI<REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM2:=CONST(衰退);
伪装:=MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM3:=CONST(伪装);
蛰伏:=MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM4:=CONST(蛰伏);
WJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX(O,C));V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);V7:=(V2*V5);V8:=(V3*V5);V9:=(V4*V5);
买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;
买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);
{买卖差:=买盘-卖盘;}
量大:=(卖盘+买盘)/REF(VOL,1)>2;
MMM5:=CONST(量大);
量缩:=REF(VOL,1)/(卖盘+买盘)>1.5;
MMM6:=CONST(量缩);
卖量大:=(卖盘-买盘)/买盘>0.4;
MMM7:=CONST(卖量大);
买量大:=(买盘-卖盘)/卖盘>0.4;
MMM8:=CONST(买量大);
TS1:=IF(情况1=1,0.06+0.06,0.06); TS2:=IF(情况2=1,TS1+0.06,TS1);
TS3:=IF(情况3=1,TS2+0.06,TS2); TS4:=IF(情况4=1,TS3+0.06,TS3);
TS5:=IF(情况5=1,TS4+0.06,TS4); TS6:=IF(情况6=1,TS5+0.06,TS5);
TS7:=IF(情况7=1,TS6+0.06,TS6); TS8:=IF(情况8=1,TS7+0.06,TS7);
TS9:=IF(情况9=1,TS8+0.06,TS8); TS10:=IF(情况10=1,TS9+0.06,TS9);
TS11:=IF(情况11=1,TS10+0.06,TS10); TS12:=IF(情况12=1,TS11+0.06,TS11);
TS13:=IF(情况13=1,TS12+0.06,TS12); TS14:=IF(情况14=1,TS13+0.06,TS13);
TS15:=IF(情况15=1,TS14+0.06,TS14); TS16:=IF(情况16=1,TS15+0.06,TS15);
TS17:=IF(大盘1=1,TS16+0.06,TS16); TS18:=IF(大盘2=1,TS17+0.06,TS17);
TS19:=IF(大盘3=1,TS18+0.06,TS18); TS20:=IF(大盘4=1,TS19+0.06,TS19);
TS21:=IF(大盘5=1,TS20+0.06,TS20); TS22:=IF(大盘6=1,TS21+0.06,TS21);
TS23:=IF(大盘7=1,TS22+0.06,TS22); TS24:=IF(大盘8=1,TS23+0.06,TS23);
TS25:=IF(MMM1=1,TS24+0.06,TS24);
TS26:=IF(MMM2=1,TS25+0.06,TS25);
TS27:=IF(MMM3=1,TS26+0.06,TS26);
TS28:=IF(MMM4=1,TS27+0.06,TS27);
TS29:=IF(MMM5=1,TS28+0.03,TS28);
TS30:=IF(MMM6=1,TS29+0.03,TS29);
TS31:=IF(MMM7=1,TS30+0.03,TS30);
TS32:=IF(MMM8=1,TS31+0.03,TS31);
DRAWTEXT_FIX(MMM5,0,0.42,0,'★今天比昨天的成交量放大一倍以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM6,0,0.42,0,'★今天比昨天的成交量缩量一半以上。'),COLORYELLOW;
DRAWTEXT_FIX(MMM7,0,0.48,0,'☆该股今天卖出量大于买入量40%以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM8,0,0.48,0,'☆该股今天买入量大于卖出量40%以上。'),COLORYELLOW;
12. 通达信5日主力净额公式源码?
回答:通达信5日主力净额公式源码
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:买/AMOUNT*100,COLORRED,NODRAW;
流入亿元:AMOUNT*买%/100亿,COLORMAGENTA,NODRAW;
流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW;
净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;
净流亿元5:SUM(流入亿元-流出亿元,5),COLORCYAN,NODRAW;
STICKLINE(AMOUNT,0,AMOUNT,2,1),COLORGREEN;
STICKLINE(买,0,买,2,0),COLORRED;
A:MA(买,3)COLORYELLOW;
B:MA(买,5)COLORMAGENTA;
13. 如何编写通达信主力成本股价指标源码?
通达信 主力成本指标
ZJ:=(O H L C)/4;
YZ:=IF(BARSCOUNT(C)
14. 通达信5日主力净额公式源码?
回答:通达信5日主力净额公式源码
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:买/AMOUNT*100,COLORRED,NODRAW;
流入亿元:AMOUNT*买%/100亿,COLORMAGENTA,NODRAW;
流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW;
净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;
净流亿元5:SUM(流入亿元-流出亿元,5),COLORCYAN,NODRAW;
STICKLINE(AMOUNT,0,AMOUNT,2,1),COLORGREEN;
STICKLINE(买,0,买,2,0),COLORRED;
A:MA(买,3)COLORYELLOW;
B:MA(买,5)COLORMAGENTA;
15. 跪求:通达信版L2大单净量指标源码,请友友割爱哟?
你的软件有LV-2数据吗 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=-L2_AMO(0,3)/10000.0; 大S:=-L2_AMO(1,3)/10000.0; 中S:=-L2_AMO(2,3)/10000.0; 小S:=-L2_AMO(3,3)/10000.0; 超大单:=(超B)+(超S)
; 大单:=(大B)+(大S)
; 中单:=(中B)+(中S)
; 小单:=(小B)+(小S)
; 净流入:(超B+大B+中B+小B)+(超S+大S+中S+小S),LINETHICK2COLORRED;
16. 跪求:通达信版L2大单净量指标源码,请友友割爱哟?
你的软件有LV-2数据吗 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=-L2_AMO(0,3)/10000.0; 大S:=-L2_AMO(1,3)/10000.0; 中S:=-L2_AMO(2,3)/10000.0; 小S:=-L2_AMO(3,3)/10000.0; 超大单:=(超B)+(超S)
; 大单:=(大B)+(大S)
; 中单:=(中B)+(中S)
; 小单:=(小B)+(小S)
; 净流入:(超B+大B+中B+小B)+(超S+大S+中S+小S),LINETHICK2COLORRED;
17. kdj指标原版公式源码?
以下是kdj指标源码(无源码的请下载附件导入)
通达信副图公式原码:
{参数:n:2,90,9。m1:2,30,3。m2:2,30,3}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
通达信选股公式原码:
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:=SMA(RSV,M1,1),LINETHICK1;
D:=SMA(K,M2,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
COUNT(J<0,8)>=3 AND CROSS(J,1) AND K>=REF(K,1);
18. 求通达信放量创新高并标记的公式?
CXG:=C=HHV(C,60) AND V=HHV(V,60);
STICKLINE(CXG,C,O,2,0),COLORFF00FF;
STICKLINE(CXG,L,H,0,0),COLORFF00FF;
DRAWTEXT(CXG,C*0.98,'创'),COLORYELLOW;
DRAWTEXT(CXG,C*0.96,'新'),COLORYELLOW;
DRAWTEXT(CXG,C*0.94,'高'),COLORYELLOW;
放量,量是成交量,成交量比前一段时间成交明显放大。
股市操作中经常发现有些个股走势出现异动,例如成交量突然成倍增大,短期就实现巨量换手,主力的意图则要综合多方面的信息来判断,有时属于主力出货,有时属于主力换庄,投资者可根据放量出现的位置、K线形态等方面来判别:
1、“放量滞涨”,不祥之兆。若成交连放出大量,股价却在原地踏步,通常为主力对倒作量吸引跟风盘,表明主力去意已决,后市不容乐观。
2、下跌途中放量连收小阳,需谨防主力构筑假底部,跌穿假底之后往往是新一轮跌势的开始。
3、高位放量下挫,这是股价转弱的一种可靠信号,投资者宜及时止损。
19. 跪求:通达信版L2大单净量指标源码,请友友割爱哟?
你的软件有LV-2数据吗 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=-L2_AMO(0,3)/10000.0; 大S:=-L2_AMO(1,3)/10000.0; 中S:=-L2_AMO(2,3)/10000.0; 小S:=-L2_AMO(3,3)/10000.0; 超大单:=(超B)+(超S)
; 大单:=(大B)+(大S)
; 中单:=(中B)+(中S)
; 小单:=(小B)+(小S)
; 净流入:(超B+大B+中B+小B)+(超S+大S+中S+小S),LINETHICK2COLORRED;
20. expma指标源码?
AEXP12:EXPMA(CLOSE,12)COLORBLUE,LINETHICK1;
AEXP21:EXPMA(CLOSE,21)COLORGREEN,LINETHICK2;
AEXP50:EXPMA(CLOSE,50)COLORGREEN,LINETHICK2;
IF(AEXP12>(REFV(AEXP12,1)),AEXP12,DRAWNULL),COLORRED,LINETHICK1;
IF(AEXP21>(REFV(AEXP21,1)),AEXP21,DRAWNULL),COLORMAGENTA,LINETHICK2;
A1:=EMA(C,14),COLORA2A200,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
DRAWTEXT_FIX(1,0,0.07,0,'【所属板块】'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.07,0,DYBLOCK),COLOR0080FF; {地域}
DRAWTEXT_FIX(1,0.122,0.07,0,GNBLOCK),COLORCFB53B; {概念}
DRAWTEXT_FIX(1,0,0.19,0,'【莸利比例】'),COLORWHITE;
DRAWNUMBER_FIX(1,0.09,0.19,0,CONST(WINNER(C )*100)),COLORYELLOW;
DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED; {行业}
{DRAWTEXT_FIX(1,0.124,0,0,FGBLOCK),COLORYELLOW;} {风格}
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
DRAWTEXT_FIX(1,0,0.31,0,'【量能饱和度】')COLORWHITE;
DRAWNUMBER_FIX(1,0.1,0.31,0,CONST(SAT)),COLORYELLOW;
突破:REF(EMA(C,14),1),NODRAW;
距离:(C-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORB000B0,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORFFFF00,LINETHICK1;
涨幅:IF(A1X>=0,(C-出击)/出击*100,DRAWNULL)NODRAW;
跌幅:IF(A1X<0,(C-休假)/休假*100,DRAWNULL)NODRAW;
TT:=240/FROMOPEN;比:=TT;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);
AZ2:=EMA(AY2,9);LT2:=(AY2-AZ2);
L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;
ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L211,80);ZDD2:=CONST(ZDD);
YYA4:=MA(CLOSE,20);YYA5:=(CLOSE > MA(CLOSE,5));YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YYA7:=(CLOSE > MA(CLOSE,10));YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YYA9:=(CLOSE > MA(CLOSE,20));YYA10:=REF(YYA4,1);YYA11:=(YYA4 > YYA10);
YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);
YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);J1:=CONST(IF( YYAVX > 0,200,100));
J2:=CONST(IF( YYAVX > 0,00,100));J3:=CONST(IF( YYAVX > 0,100,100));
ZGD3:=ZGD2;ZDD3:=ZDD2;ZGD4:=ZGD2;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLOR00FFFF;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLOR606000;
情况1:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW;
情况2:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况3:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));
情况4:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));
情况5:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况6:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况7:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况8:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况9:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况10:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况11:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)),NODRAW;
情况12:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况13:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况14:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况15:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况16:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
大盘1:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0));
大盘2:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0));
大盘3:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0));
大盘4:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0));
大盘5:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0));
大盘6:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0));
大盘7:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0));
大盘8:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0));
MFI:=(HIGH-LOW)*1000000/(VOL*比);
绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM1:=CONST(绿灯);
衰退:=MFI<REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM2:=CONST(衰退);
伪装:=MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM3:=CONST(伪装);
蛰伏:=MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM4:=CONST(蛰伏);
WJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX(O,C));V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);V7:=(V2*V5);V8:=(V3*V5);V9:=(V4*V5);
买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;
买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);
{买卖差:=买盘-卖盘;}
量大:=(卖盘+买盘)/REF(VOL,1)>2;
MMM5:=CONST(量大);
量缩:=REF(VOL,1)/(卖盘+买盘)>1.5;
MMM6:=CONST(量缩);
卖量大:=(卖盘-买盘)/买盘>0.4;
MMM7:=CONST(卖量大);
买量大:=(买盘-卖盘)/卖盘>0.4;
MMM8:=CONST(买量大);
TS1:=IF(情况1=1,0.06+0.06,0.06); TS2:=IF(情况2=1,TS1+0.06,TS1);
TS3:=IF(情况3=1,TS2+0.06,TS2); TS4:=IF(情况4=1,TS3+0.06,TS3);
TS5:=IF(情况5=1,TS4+0.06,TS4); TS6:=IF(情况6=1,TS5+0.06,TS5);
TS7:=IF(情况7=1,TS6+0.06,TS6); TS8:=IF(情况8=1,TS7+0.06,TS7);
TS9:=IF(情况9=1,TS8+0.06,TS8); TS10:=IF(情况10=1,TS9+0.06,TS9);
TS11:=IF(情况11=1,TS10+0.06,TS10); TS12:=IF(情况12=1,TS11+0.06,TS11);
TS13:=IF(情况13=1,TS12+0.06,TS12); TS14:=IF(情况14=1,TS13+0.06,TS13);
TS15:=IF(情况15=1,TS14+0.06,TS14); TS16:=IF(情况16=1,TS15+0.06,TS15);
TS17:=IF(大盘1=1,TS16+0.06,TS16); TS18:=IF(大盘2=1,TS17+0.06,TS17);
TS19:=IF(大盘3=1,TS18+0.06,TS18); TS20:=IF(大盘4=1,TS19+0.06,TS19);
TS21:=IF(大盘5=1,TS20+0.06,TS20); TS22:=IF(大盘6=1,TS21+0.06,TS21);
TS23:=IF(大盘7=1,TS22+0.06,TS22); TS24:=IF(大盘8=1,TS23+0.06,TS23);
TS25:=IF(MMM1=1,TS24+0.06,TS24);
TS26:=IF(MMM2=1,TS25+0.06,TS25);
TS27:=IF(MMM3=1,TS26+0.06,TS26);
TS28:=IF(MMM4=1,TS27+0.06,TS27);
TS29:=IF(MMM5=1,TS28+0.03,TS28);
TS30:=IF(MMM6=1,TS29+0.03,TS29);
TS31:=IF(MMM7=1,TS30+0.03,TS30);
TS32:=IF(MMM8=1,TS31+0.03,TS31);
DRAWTEXT_FIX(MMM5,0,0.42,0,'★今天比昨天的成交量放大一倍以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM6,0,0.42,0,'★今天比昨天的成交量缩量一半以上。'),COLORYELLOW;
DRAWTEXT_FIX(MMM7,0,0.48,0,'☆该股今天卖出量大于买入量40%以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM8,0,0.48,0,'☆该股今天买入量大于卖出量40%以上。'),COLORYELLOW;
21. 跪求:通达信版L2大单净量指标源码,请友友割爱哟?
你的软件有LV-2数据吗 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=-L2_AMO(0,3)/10000.0; 大S:=-L2_AMO(1,3)/10000.0; 中S:=-L2_AMO(2,3)/10000.0; 小S:=-L2_AMO(3,3)/10000.0; 超大单:=(超B)+(超S)
; 大单:=(大B)+(大S)
; 中单:=(中B)+(中S)
; 小单:=(小B)+(小S)
; 净流入:(超B+大B+中B+小B)+(超S+大S+中S+小S),LINETHICK2COLORRED;
22. expma指标源码?
AEXP12:EXPMA(CLOSE,12)COLORBLUE,LINETHICK1;
AEXP21:EXPMA(CLOSE,21)COLORGREEN,LINETHICK2;
AEXP50:EXPMA(CLOSE,50)COLORGREEN,LINETHICK2;
IF(AEXP12>(REFV(AEXP12,1)),AEXP12,DRAWNULL),COLORRED,LINETHICK1;
IF(AEXP21>(REFV(AEXP21,1)),AEXP21,DRAWNULL),COLORMAGENTA,LINETHICK2;
A1:=EMA(C,14),COLORA2A200,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
DRAWTEXT_FIX(1,0,0.07,0,'【所属板块】'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.07,0,DYBLOCK),COLOR0080FF; {地域}
DRAWTEXT_FIX(1,0.122,0.07,0,GNBLOCK),COLORCFB53B; {概念}
DRAWTEXT_FIX(1,0,0.19,0,'【莸利比例】'),COLORWHITE;
DRAWNUMBER_FIX(1,0.09,0.19,0,CONST(WINNER(C )*100)),COLORYELLOW;
DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED; {行业}
{DRAWTEXT_FIX(1,0.124,0,0,FGBLOCK),COLORYELLOW;} {风格}
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
DRAWTEXT_FIX(1,0,0.31,0,'【量能饱和度】')COLORWHITE;
DRAWNUMBER_FIX(1,0.1,0.31,0,CONST(SAT)),COLORYELLOW;
突破:REF(EMA(C,14),1),NODRAW;
距离:(C-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORB000B0,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORFFFF00,LINETHICK1;
涨幅:IF(A1X>=0,(C-出击)/出击*100,DRAWNULL)NODRAW;
跌幅:IF(A1X<0,(C-休假)/休假*100,DRAWNULL)NODRAW;
TT:=240/FROMOPEN;比:=TT;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);
AZ2:=EMA(AY2,9);LT2:=(AY2-AZ2);
L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;
ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L211,80);ZDD2:=CONST(ZDD);
YYA4:=MA(CLOSE,20);YYA5:=(CLOSE > MA(CLOSE,5));YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YYA7:=(CLOSE > MA(CLOSE,10));YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YYA9:=(CLOSE > MA(CLOSE,20));YYA10:=REF(YYA4,1);YYA11:=(YYA4 > YYA10);
YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);
YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);J1:=CONST(IF( YYAVX > 0,200,100));
J2:=CONST(IF( YYAVX > 0,00,100));J3:=CONST(IF( YYAVX > 0,100,100));
ZGD3:=ZGD2;ZDD3:=ZDD2;ZGD4:=ZGD2;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLOR00FFFF;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLOR606000;
情况1:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW;
情况2:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况3:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));
情况4:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));
情况5:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况6:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况7:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况8:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况9:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况10:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况11:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)),NODRAW;
情况12:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况13:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况14:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况15:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况16:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
大盘1:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0));
大盘2:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0));
大盘3:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0));
大盘4:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0));
大盘5:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0));
大盘6:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0));
大盘7:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0));
大盘8:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0));
MFI:=(HIGH-LOW)*1000000/(VOL*比);
绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM1:=CONST(绿灯);
衰退:=MFI<REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM2:=CONST(衰退);
伪装:=MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM3:=CONST(伪装);
蛰伏:=MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM4:=CONST(蛰伏);
WJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX(O,C));V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);V7:=(V2*V5);V8:=(V3*V5);V9:=(V4*V5);
买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;
买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);
{买卖差:=买盘-卖盘;}
量大:=(卖盘+买盘)/REF(VOL,1)>2;
MMM5:=CONST(量大);
量缩:=REF(VOL,1)/(卖盘+买盘)>1.5;
MMM6:=CONST(量缩);
卖量大:=(卖盘-买盘)/买盘>0.4;
MMM7:=CONST(卖量大);
买量大:=(买盘-卖盘)/卖盘>0.4;
MMM8:=CONST(买量大);
TS1:=IF(情况1=1,0.06+0.06,0.06); TS2:=IF(情况2=1,TS1+0.06,TS1);
TS3:=IF(情况3=1,TS2+0.06,TS2); TS4:=IF(情况4=1,TS3+0.06,TS3);
TS5:=IF(情况5=1,TS4+0.06,TS4); TS6:=IF(情况6=1,TS5+0.06,TS5);
TS7:=IF(情况7=1,TS6+0.06,TS6); TS8:=IF(情况8=1,TS7+0.06,TS7);
TS9:=IF(情况9=1,TS8+0.06,TS8); TS10:=IF(情况10=1,TS9+0.06,TS9);
TS11:=IF(情况11=1,TS10+0.06,TS10); TS12:=IF(情况12=1,TS11+0.06,TS11);
TS13:=IF(情况13=1,TS12+0.06,TS12); TS14:=IF(情况14=1,TS13+0.06,TS13);
TS15:=IF(情况15=1,TS14+0.06,TS14); TS16:=IF(情况16=1,TS15+0.06,TS15);
TS17:=IF(大盘1=1,TS16+0.06,TS16); TS18:=IF(大盘2=1,TS17+0.06,TS17);
TS19:=IF(大盘3=1,TS18+0.06,TS18); TS20:=IF(大盘4=1,TS19+0.06,TS19);
TS21:=IF(大盘5=1,TS20+0.06,TS20); TS22:=IF(大盘6=1,TS21+0.06,TS21);
TS23:=IF(大盘7=1,TS22+0.06,TS22); TS24:=IF(大盘8=1,TS23+0.06,TS23);
TS25:=IF(MMM1=1,TS24+0.06,TS24);
TS26:=IF(MMM2=1,TS25+0.06,TS25);
TS27:=IF(MMM3=1,TS26+0.06,TS26);
TS28:=IF(MMM4=1,TS27+0.06,TS27);
TS29:=IF(MMM5=1,TS28+0.03,TS28);
TS30:=IF(MMM6=1,TS29+0.03,TS29);
TS31:=IF(MMM7=1,TS30+0.03,TS30);
TS32:=IF(MMM8=1,TS31+0.03,TS31);
DRAWTEXT_FIX(MMM5,0,0.42,0,'★今天比昨天的成交量放大一倍以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM6,0,0.42,0,'★今天比昨天的成交量缩量一半以上。'),COLORYELLOW;
DRAWTEXT_FIX(MMM7,0,0.48,0,'☆该股今天卖出量大于买入量40%以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM8,0,0.48,0,'☆该股今天买入量大于卖出量40%以上。'),COLORYELLOW;
23. 求通达信放量创新高并标记的公式?
CXG:=C=HHV(C,60) AND V=HHV(V,60);
STICKLINE(CXG,C,O,2,0),COLORFF00FF;
STICKLINE(CXG,L,H,0,0),COLORFF00FF;
DRAWTEXT(CXG,C*0.98,'创'),COLORYELLOW;
DRAWTEXT(CXG,C*0.96,'新'),COLORYELLOW;
DRAWTEXT(CXG,C*0.94,'高'),COLORYELLOW;
放量,量是成交量,成交量比前一段时间成交明显放大。
股市操作中经常发现有些个股走势出现异动,例如成交量突然成倍增大,短期就实现巨量换手,主力的意图则要综合多方面的信息来判断,有时属于主力出货,有时属于主力换庄,投资者可根据放量出现的位置、K线形态等方面来判别:
1、“放量滞涨”,不祥之兆。若成交连放出大量,股价却在原地踏步,通常为主力对倒作量吸引跟风盘,表明主力去意已决,后市不容乐观。
2、下跌途中放量连收小阳,需谨防主力构筑假底部,跌穿假底之后往往是新一轮跌势的开始。
3、高位放量下挫,这是股价转弱的一种可靠信号,投资者宜及时止损。
24. 如何编写通达信主力成本股价指标源码?
通达信 主力成本指标
ZJ:=(O H L C)/4;
YZ:=IF(BARSCOUNT(C)
25. 如何编写通达信主力成本股价指标源码?
通达信 主力成本指标
ZJ:=(O H L C)/4;
YZ:=IF(BARSCOUNT(C)
26. 求通达信放量创新高并标记的公式?
CXG:=C=HHV(C,60) AND V=HHV(V,60);
STICKLINE(CXG,C,O,2,0),COLORFF00FF;
STICKLINE(CXG,L,H,0,0),COLORFF00FF;
DRAWTEXT(CXG,C*0.98,'创'),COLORYELLOW;
DRAWTEXT(CXG,C*0.96,'新'),COLORYELLOW;
DRAWTEXT(CXG,C*0.94,'高'),COLORYELLOW;
放量,量是成交量,成交量比前一段时间成交明显放大。
股市操作中经常发现有些个股走势出现异动,例如成交量突然成倍增大,短期就实现巨量换手,主力的意图则要综合多方面的信息来判断,有时属于主力出货,有时属于主力换庄,投资者可根据放量出现的位置、K线形态等方面来判别:
1、“放量滞涨”,不祥之兆。若成交连放出大量,股价却在原地踏步,通常为主力对倒作量吸引跟风盘,表明主力去意已决,后市不容乐观。
2、下跌途中放量连收小阳,需谨防主力构筑假底部,跌穿假底之后往往是新一轮跌势的开始。
3、高位放量下挫,这是股价转弱的一种可靠信号,投资者宜及时止损。
27. 通达信[CYS上穿10直线处用红箭头表示]指标公式源码?
CYS上穿10平行线处的红箭头可以用以下函数来表达:y = 10 + f(x),其中f(x)表示红箭头所在直线的斜率和截距。
如果我们已知红箭头所在直线的斜率和截距,就可以用该函数来计算红箭头的坐标位置。
此外,由于是在10平行线上穿越,说明该函数在x=10处与10平行线的交点就是红箭头所在的位置,因此也可以通过求解f(10)=0来确定红箭头的横坐标。
28. 求通达信放量创新高并标记的公式?
CXG:=C=HHV(C,60) AND V=HHV(V,60);
STICKLINE(CXG,C,O,2,0),COLORFF00FF;
STICKLINE(CXG,L,H,0,0),COLORFF00FF;
DRAWTEXT(CXG,C*0.98,'创'),COLORYELLOW;
DRAWTEXT(CXG,C*0.96,'新'),COLORYELLOW;
DRAWTEXT(CXG,C*0.94,'高'),COLORYELLOW;
放量,量是成交量,成交量比前一段时间成交明显放大。
股市操作中经常发现有些个股走势出现异动,例如成交量突然成倍增大,短期就实现巨量换手,主力的意图则要综合多方面的信息来判断,有时属于主力出货,有时属于主力换庄,投资者可根据放量出现的位置、K线形态等方面来判别:
1、“放量滞涨”,不祥之兆。若成交连放出大量,股价却在原地踏步,通常为主力对倒作量吸引跟风盘,表明主力去意已决,后市不容乐观。
2、下跌途中放量连收小阳,需谨防主力构筑假底部,跌穿假底之后往往是新一轮跌势的开始。
3、高位放量下挫,这是股价转弱的一种可靠信号,投资者宜及时止损。
29. 通达信5日主力净额公式源码?
回答:通达信5日主力净额公式源码
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:买/AMOUNT*100,COLORRED,NODRAW;
流入亿元:AMOUNT*买%/100亿,COLORMAGENTA,NODRAW;
流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW;
净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;
净流亿元5:SUM(流入亿元-流出亿元,5),COLORCYAN,NODRAW;
STICKLINE(AMOUNT,0,AMOUNT,2,1),COLORGREEN;
STICKLINE(买,0,买,2,0),COLORRED;
A:MA(买,3)COLORYELLOW;
B:MA(买,5)COLORMAGENTA;
30. 通达信根据指标源码怎样编选股公式?
1、打开通达信软件的功能菜单,点击选股器中的条件选股。
2、下一步选择自编公式并设置相关的参数以后,需要点击上面的加入条件。
3、这个时候如果没问题的话,就直接点击下面的选股入板块。
4、这样一来通过选择新建板块来命名板块,点击确定即可自编公式编到定制选股里去。
31. 通达信根据指标源码怎样编选股公式?
1、打开通达信软件的功能菜单,点击选股器中的条件选股。
2、下一步选择自编公式并设置相关的参数以后,需要点击上面的加入条件。
3、这个时候如果没问题的话,就直接点击下面的选股入板块。
4、这样一来通过选择新建板块来命名板块,点击确定即可自编公式编到定制选股里去。
32. 通达信根据指标源码怎样编选股公式?
1、打开通达信软件的功能菜单,点击选股器中的条件选股。
2、下一步选择自编公式并设置相关的参数以后,需要点击上面的加入条件。
3、这个时候如果没问题的话,就直接点击下面的选股入板块。
4、这样一来通过选择新建板块来命名板块,点击确定即可自编公式编到定制选股里去。
33. 通达信根据指标源码怎样编选股公式?
1、打开通达信软件的功能菜单,点击选股器中的条件选股。
2、下一步选择自编公式并设置相关的参数以后,需要点击上面的加入条件。
3、这个时候如果没问题的话,就直接点击下面的选股入板块。
4、这样一来通过选择新建板块来命名板块,点击确定即可自编公式编到定制选股里去。
34. 通达信5日主力净额公式源码?
回答:通达信5日主力净额公式源码
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:买/AMOUNT*100,COLORRED,NODRAW;
流入亿元:AMOUNT*买%/100亿,COLORMAGENTA,NODRAW;
流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW;
净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;
净流亿元5:SUM(流入亿元-流出亿元,5),COLORCYAN,NODRAW;
STICKLINE(AMOUNT,0,AMOUNT,2,1),COLORGREEN;
STICKLINE(买,0,买,2,0),COLORRED;
A:MA(买,3)COLORYELLOW;
B:MA(买,5)COLORMAGENTA;
35. 通达信[CYS上穿10直线处用红箭头表示]指标公式源码?
CYS上穿10平行线处的红箭头可以用以下函数来表达:y = 10 + f(x),其中f(x)表示红箭头所在直线的斜率和截距。
如果我们已知红箭头所在直线的斜率和截距,就可以用该函数来计算红箭头的坐标位置。
此外,由于是在10平行线上穿越,说明该函数在x=10处与10平行线的交点就是红箭头所在的位置,因此也可以通过求解f(10)=0来确定红箭头的横坐标。
36. kdj指标原版公式源码?
以下是kdj指标源码(无源码的请下载附件导入)
通达信副图公式原码:
{参数:n:2,90,9。m1:2,30,3。m2:2,30,3}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
通达信选股公式原码:
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:=SMA(RSV,M1,1),LINETHICK1;
D:=SMA(K,M2,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
COUNT(J<0,8)>=3 AND CROSS(J,1) AND K>=REF(K,1);
37. 通达信[CYS上穿10直线处用红箭头表示]指标公式源码?
CYS上穿10平行线处的红箭头可以用以下函数来表达:y = 10 + f(x),其中f(x)表示红箭头所在直线的斜率和截距。
如果我们已知红箭头所在直线的斜率和截距,就可以用该函数来计算红箭头的坐标位置。
此外,由于是在10平行线上穿越,说明该函数在x=10处与10平行线的交点就是红箭头所在的位置,因此也可以通过求解f(10)=0来确定红箭头的横坐标。
38. 通达信[CYS上穿10直线处用红箭头表示]指标公式源码?
CYS上穿10平行线处的红箭头可以用以下函数来表达:y = 10 + f(x),其中f(x)表示红箭头所在直线的斜率和截距。
如果我们已知红箭头所在直线的斜率和截距,就可以用该函数来计算红箭头的坐标位置。
此外,由于是在10平行线上穿越,说明该函数在x=10处与10平行线的交点就是红箭头所在的位置,因此也可以通过求解f(10)=0来确定红箭头的横坐标。
39. expma指标源码?
AEXP12:EXPMA(CLOSE,12)COLORBLUE,LINETHICK1;
AEXP21:EXPMA(CLOSE,21)COLORGREEN,LINETHICK2;
AEXP50:EXPMA(CLOSE,50)COLORGREEN,LINETHICK2;
IF(AEXP12>(REFV(AEXP12,1)),AEXP12,DRAWNULL),COLORRED,LINETHICK1;
IF(AEXP21>(REFV(AEXP21,1)),AEXP21,DRAWNULL),COLORMAGENTA,LINETHICK2;
A1:=EMA(C,14),COLORA2A200,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
DRAWTEXT_FIX(1,0,0.07,0,'【所属板块】'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.07,0,DYBLOCK),COLOR0080FF; {地域}
DRAWTEXT_FIX(1,0.122,0.07,0,GNBLOCK),COLORCFB53B; {概念}
DRAWTEXT_FIX(1,0,0.19,0,'【莸利比例】'),COLORWHITE;
DRAWNUMBER_FIX(1,0.09,0.19,0,CONST(WINNER(C )*100)),COLORYELLOW;
DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED; {行业}
{DRAWTEXT_FIX(1,0.124,0,0,FGBLOCK),COLORYELLOW;} {风格}
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
DRAWTEXT_FIX(1,0,0.31,0,'【量能饱和度】')COLORWHITE;
DRAWNUMBER_FIX(1,0.1,0.31,0,CONST(SAT)),COLORYELLOW;
突破:REF(EMA(C,14),1),NODRAW;
距离:(C-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORB000B0,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORFFFF00,LINETHICK1;
涨幅:IF(A1X>=0,(C-出击)/出击*100,DRAWNULL)NODRAW;
跌幅:IF(A1X<0,(C-休假)/休假*100,DRAWNULL)NODRAW;
TT:=240/FROMOPEN;比:=TT;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);
AZ2:=EMA(AY2,9);LT2:=(AY2-AZ2);
L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;
ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L211,80);ZDD2:=CONST(ZDD);
YYA4:=MA(CLOSE,20);YYA5:=(CLOSE > MA(CLOSE,5));YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YYA7:=(CLOSE > MA(CLOSE,10));YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YYA9:=(CLOSE > MA(CLOSE,20));YYA10:=REF(YYA4,1);YYA11:=(YYA4 > YYA10);
YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);
YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);J1:=CONST(IF( YYAVX > 0,200,100));
J2:=CONST(IF( YYAVX > 0,00,100));J3:=CONST(IF( YYAVX > 0,100,100));
ZGD3:=ZGD2;ZDD3:=ZDD2;ZGD4:=ZGD2;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLOR00FFFF;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLOR606000;
情况1:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW;
情况2:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况3:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));
情况4:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));
情况5:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况6:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况7:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况8:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况9:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况10:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况11:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)),NODRAW;
情况12:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况13:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况14:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况15:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况16:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
大盘1:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0));
大盘2:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0));
大盘3:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0));
大盘4:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0));
大盘5:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0));
大盘6:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0));
大盘7:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0));
大盘8:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0));
MFI:=(HIGH-LOW)*1000000/(VOL*比);
绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM1:=CONST(绿灯);
衰退:=MFI<REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM2:=CONST(衰退);
伪装:=MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1);
MMM3:=CONST(伪装);
蛰伏:=MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM4:=CONST(蛰伏);
WJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX(O,C));V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);V7:=(V2*V5);V8:=(V3*V5);V9:=(V4*V5);
买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;
买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);
{买卖差:=买盘-卖盘;}
量大:=(卖盘+买盘)/REF(VOL,1)>2;
MMM5:=CONST(量大);
量缩:=REF(VOL,1)/(卖盘+买盘)>1.5;
MMM6:=CONST(量缩);
卖量大:=(卖盘-买盘)/买盘>0.4;
MMM7:=CONST(卖量大);
买量大:=(买盘-卖盘)/卖盘>0.4;
MMM8:=CONST(买量大);
TS1:=IF(情况1=1,0.06+0.06,0.06); TS2:=IF(情况2=1,TS1+0.06,TS1);
TS3:=IF(情况3=1,TS2+0.06,TS2); TS4:=IF(情况4=1,TS3+0.06,TS3);
TS5:=IF(情况5=1,TS4+0.06,TS4); TS6:=IF(情况6=1,TS5+0.06,TS5);
TS7:=IF(情况7=1,TS6+0.06,TS6); TS8:=IF(情况8=1,TS7+0.06,TS7);
TS9:=IF(情况9=1,TS8+0.06,TS8); TS10:=IF(情况10=1,TS9+0.06,TS9);
TS11:=IF(情况11=1,TS10+0.06,TS10); TS12:=IF(情况12=1,TS11+0.06,TS11);
TS13:=IF(情况13=1,TS12+0.06,TS12); TS14:=IF(情况14=1,TS13+0.06,TS13);
TS15:=IF(情况15=1,TS14+0.06,TS14); TS16:=IF(情况16=1,TS15+0.06,TS15);
TS17:=IF(大盘1=1,TS16+0.06,TS16); TS18:=IF(大盘2=1,TS17+0.06,TS17);
TS19:=IF(大盘3=1,TS18+0.06,TS18); TS20:=IF(大盘4=1,TS19+0.06,TS19);
TS21:=IF(大盘5=1,TS20+0.06,TS20); TS22:=IF(大盘6=1,TS21+0.06,TS21);
TS23:=IF(大盘7=1,TS22+0.06,TS22); TS24:=IF(大盘8=1,TS23+0.06,TS23);
TS25:=IF(MMM1=1,TS24+0.06,TS24);
TS26:=IF(MMM2=1,TS25+0.06,TS25);
TS27:=IF(MMM3=1,TS26+0.06,TS26);
TS28:=IF(MMM4=1,TS27+0.06,TS27);
TS29:=IF(MMM5=1,TS28+0.03,TS28);
TS30:=IF(MMM6=1,TS29+0.03,TS29);
TS31:=IF(MMM7=1,TS30+0.03,TS30);
TS32:=IF(MMM8=1,TS31+0.03,TS31);
DRAWTEXT_FIX(MMM5,0,0.42,0,'★今天比昨天的成交量放大一倍以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM6,0,0.42,0,'★今天比昨天的成交量缩量一半以上。'),COLORYELLOW;
DRAWTEXT_FIX(MMM7,0,0.48,0,'☆该股今天卖出量大于买入量40%以上。'),COLORGREEN;
DRAWTEXT_FIX(MMM8,0,0.48,0,'☆该股今天买入量大于卖出量40%以上。'),COLORYELLOW;
40. kdj指标原版公式源码?
以下是kdj指标源码(无源码的请下载附件导入)
通达信副图公式原码:
{参数:n:2,90,9。m1:2,30,3。m2:2,30,3}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
通达信选股公式原码:
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:=SMA(RSV,M1,1),LINETHICK1;
D:=SMA(K,M2,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
COUNT(J<0,8)>=3 AND CROSS(J,1) AND K>=REF(K,1);