通达信日赚5%看股王公式源码

以下是多方资金(指标 副图 通达信) _通达信

通达信日赚5%看股王公式 :

MA1:MA(CLOSE,M1);

EXP2:EMA(CLOSE,M2);

EXP3:EMA(CLOSE,M3);

LC:=REF(CLOSE,1);

DIF:=EMA(CLOSE,6)-EMA(CLOSE,18);

DEA:=EMA(DIF,6);

AAA:=(DIF-DEA)*2*55;

起爆:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;

DRAWTEXT(起爆,L*0.99,'�暴涨'),COLORYELLOW,LINETHICK2;

RSI:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;

VAR27:=REF(CLOSE,1);

VAR28:=SMA(MAX(CLOSE-VAR27,0),5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;

VARA:=((AMOUNT)/(VOL))/(100);

VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);

VARC:=((SUM(AMOUNT,7))/(VARA))/(100);

VARD:=DMA(VARB,(VOL)/(VARC));

VARE:=((CLOSE-VARD)/(VARD))*(100);

VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);

VARJ:=MA(VARE,20)+STD(VARE,20);

VARH:=(C+L+H)/3;

VARL:=EMA(VARH,6);

VARG:=EMA(VARL,5);

BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);

AA:=SMA(VARF,3,1);

VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);

VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);

STICKLINE(VAR1,H,L,2,0),COLORFF00FF,LINETHICK2;{高位红色}

STICKLINE(VAR1,H,L,2,0),COLORFF00FF,LINETHICK2;{高位红色}

STICKLINE(VAR1,H,L,1,0),COLORFF00FF,LINETHICK2;{高位红色}

STICKLINE(VAR2,H,L,2,0),COLORWHITE,LINETHICK2;{底位白色}

STICKLINE(VAR2,H,L,2,0),COLORWHITE,LINETHICK2;{底位白色};

所属板块:=STRCAT('所属板块: ',STRCAT(STRCAT(STRCAT('[行业]-',HYBLOCK),STRCAT(' [地域]-',DYBLOCK)),STRCAT(' [概念]-',GNBLOCK)));

总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');

流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');

全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));

市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');

股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值));

{业绩}

净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(29)/FINANCE(19)*100,2));

毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));

主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));

当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(净资收益率,毛利率),主营利润率));

{主图显示}

DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,所属板块),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,股本市值),COLORGREEN;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,当前业绩),COLORGREEN;

{BZ-预测明天(主图)-----------------<<预测明天公式>> 通达信修改版}

P1:=5;

P2:=10;

P3:=20;

P4:=30;

P5:=60;

P6:=120;

P7:=240;

P8:=340;

N:=4;

WX:=MA(CLOSE,0);

M1:=MA(CLOSE,P1);

M2:=(MA(CLOSE,P2) * IF((N < 2),WX,1));

M3:=(MA(CLOSE,P3) * IF((N < 3),WX,1));

M4:=(MA(CLOSE,P4) * IF((N < 4),WX,1));

M5:=(MA(CLOSE,P5) * IF((N < 5),WX,1));

M6:=(MA(CLOSE,P6) * IF((N < 6),WX,1));

M7:=(MA(CLOSE,P7) * IF((N < 7),WX,1));

M8:=(MA(CLOSE,P8) * IF((N < 8),WX,1));

C1:=REF(CLOSE,1);

C2:=HHV(C1,2);

C3:=LLV(C1,1);

ET:=HHV(C1,2);

ET1:=REF(ET,1);

XB:=LLV(C1,1);

XB1:=REF(XB,1);

M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1)));

M11:=REF(M,1);

N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1)));

N1:=REF(N9,1);

M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1);

N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1);

ET2:=HHV(ET,M21);

XB2:=LLV(XB,N2);

A:=IF((((M - N9) > 0) AND (M11 <= N1)),1,IF((((N9 - M) > 0) AND (N1 <= M11)),0,2));

H1:=IF(((M - N9) > 0),CLOSE,ET2);

H2:=IF((A = 1),CLOSE,C2);

H3:=IF(((M - N9) < 0),CLOSE,XB2);

H4:=IF((A = 1),CLOSE,XB2);

H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3);

H6:=REF(H5,1);

H7:=REF(H5,2);

H8:=(H5 > H6);

H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2)));

H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2)));

W:=((H8 OR H9) OR H10);

T9:=((H5 < H6) AND (H5 < REF(H5,2)));

T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2)));

T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1)));

T12:=((H5 = REF(H5,1)) AND (H3 = H4));

T13:=((H2 = REF(H2,1)) AND (H2 = H5));

TW:=((((T9 OR T10) OR T11) OR T12) OR T13);

PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);

PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4));

BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);

以下是妙手擒庄(指标 选股/副图 通达信) _指标_通达信