通达信分时主图/副图指标 贴图

叶子分时主图:

均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
 T:=0;
 RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100)/2;
 K:=SMA(SMA( RSV,18,1),3,1);
 D:=MA(EMA(K,18),3);
 J:=3*K-2*D;
 DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;
 DEA:=EMA(DIFF,18);
多头:=(-3*(DIFF-DEA))*2;
 LC:=REF(CLOSE,1);
 RSI:=((SMA(MAX(CLOSE - LC,0),4.1,1))/(SMA(ABS(CLOSE - LC),4.1,1)))*(100);
买:=(CROSS(RSI,11))*(80) AND J<-20,COLORRED;
 VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100,COLORRED;
卖:= CROSS(82,VARR1) AND C/(SUM(AMOUNT,0)/SUM(VOL*100,0))>1.01 AND 多头>6,COLORGREEN ;

DRAWTEXT(买,L * 0.998,'B'),LINETHICK5 ,COLORRED;
 DRAWTEXT(卖,H*1.002,'卖'),LINETHICK5 ,COLORGREEN;
 DRAWICON(买,L,25);
 DRAWICON(卖,H,27);


叶子分时:

VAR0:=(EMA(CLOSE,5) * 7 + EMA(CLOSE,10) * 3)/10;
 VAR1:=SUM((CLOSE - VAR0)/VAR0 * 100 + 20,1);
 VAR2:=SUM((HIGH - VAR0)/VAR0 * 100 + 20,1);
 VAR3:=SUM((LOW - VAR0)/VAR0 * 100 + 20,1);
 VAR4:=SUM(VAR1 - VAR2,1);
 VAR5:=SUM(VAR1 - VAR3,1);
 VAR6:=SUM(CLOSE - VAR0,1);
 VAR7:=MA(VAR6,8);
 VAR8:=(CLOSE - LLV(LOW,60))/(HHV(HIGH,60) - LLV(LOW,60)) * 80;
 VAR9:=SMA(VAR8,7,1);
 VAR10:=SMA(VAR9,5,1);
 VAR11:=REF(CLOSE,1);
 VAR12:=SMA(MAX(CLOSE - VAR11,0),12,1)/SMA(ABS(CLOSE - VAR11),12,1) * 100;
 VAR13:=SMA(MAX(CLOSE - VAR11,0),18,1)/SMA(ABS(CLOSE - VAR11),18,1) * 100;
 VAR14:=MA(3 * VAR12 - 2 * SMA(MAX(CLOSE - VAR11,0),16,1)/SMA(ABS(CLOSE - VAR11),16,1) * 100,3);
 VAR15:=EMA(VAR14,8);
 VAR16:=IF(CROSS(VAR6,VAR7) AND VAR15 < 40 AND VAR10 < 40 AND VAR7 < 0,-15,-30);
 VAR17:=IF((CLOSE - VAR0)/VAR0 * 100 < -10,-11,-20);
 VAR18:=REF(VAR17,1);
 VAR19:=IF(CROSS(VAR7,VAR6) AND VAR10 > 60 AND VAR15 > 70 AND VAR7 > 0,15,20);

T:=0;
 RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100)/2;
 K1:=SMA(SMA( RSV,18,1),3,1);
 D1:=MA(EMA(K1,18),3);
 J1:=3*K1-2*D1;
买:FILTER(IF(CROSS(VAR6,VAR7) AND VAR15 < 40 AND VAR10 < 40 AND VAR7 < 0,-15,-30)=-15,10) AND J1<-10,COLORRED;
 

DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;
 DEA:=EMA(DIFF,18);
多头:=(-3*(DIFF-DEA))*2;
卖:FILTER(VAR19=15,5) AND 多头>2.5,COLORGREEN;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图