通达信天天黑马淘宝上卖的公式

[复制链接]
查看32 | 回复0 | 2022-7-24 07:10:57 | 显示全部楼层 |阅读模式

通达信天天黑马淘宝上卖的公式

JJ:=(CLOSE+HIGH+LOW)/3;
 A:=EMA(JJ,10);
 B:=REF(A,1);
M1:EMA(CLOSE,3);
 M2:EMA(CLOSE,8);
 M3:EMA(M2,13);
 M4:EMA(M2,55);
 VAR1:=EMA(M3,55);
 M5:EMA(M4,81), COLORRED,LINETHICK2;
 AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
 AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
 AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
 BB1:=0;
 B1万元:=DVOL*DCLOSE/100;
 B1差:=B1万元-REF(B1万元,1);
 B2万元:=DVOL*DCLOSE/100;
 B2比:=B2万元/REF(B2万元,1);
 净流入万元:=(AAA2-AAA3-0.5*AAA4);
 PM:=MA(净流入万元,1);
 PMA:=PM/REF(PM,1)>1;
 PMB:=REF(PMA,1)<1 AND PMA;
密码:=(EMA(MA(B1万元,2),2))/100000;
 二日比:=密码/REF(密码,1);
 选股:=PMB AND 密码>REF(密码,1) AND 二日比>1;
 DIFF1:=EMA(CLOSE,8)-EMA(CLOSE,13);
 DEA11:=EMA(DIFF1,5);
 A1:=DIFF1>DEA11;
 RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
 K:=SMA(RSV1,3,1);
 D1:=SMA(K,3,1);
 A2:=K>D1;
 LC:=REF(CLOSE,1);
 RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
 RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
 A3:=RSI1>RSI2;
 RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
 LWR1:=SMA(RSV,3,1);
 LWR2:=SMA(LWR1,3,1);
 A4:=LWR1>LWR2;
 BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
 A5:=CLOSE>BBI;
 MTM:=CLOSE-REF(CLOSE,1);
 MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
 MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
 A6:=MMS>MMM;
 上涨:=IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,7,0);
 DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
 DEA1:=EMA(DIF1,9);
 {柱状线}
 AAA1:=(DIF1-DEA1)*2*60;
 AAA上:=IF(AAA1>REF(AAA1,1),AAA1,REF(AAA1,1));
 AAA下:=IF(AAA1<REF(AAA1,1),AAA1,REF(AAA1,1));
 买入线:=5;
 房子:=AAA1-REF(AAA1,1);
 天天黑马:=CROSS(房子,买入线) AND 上涨 AND 选股;
 DRAWICON(天天黑马,L*0.99,24);
 DRAWTEXT(天天黑马,L*0.97,'买入'),COLOR00FFFF;
 AAA:=CONST(LLV(L,50));

950444281.jpg

950444281.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则