分时T+0,分时副图(通达信公式 副图 源码 测试图)

[复制链接]
查看72 | 回复0 | 2022-6-27 17:00:08 | 显示全部楼层 |阅读模式
{分时T0}
 
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),COLORBLUE;
买入: IF(V4>=0,V4,0),COLORFF00FF;
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;
资金流出:IF(VB<=0,VB,0),COLORGREEN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线: EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备操作: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,30,'准备操作'),COLORCC9900;
买入了: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;
DRAWTEXT (BB,60,'买入了'),COLOR0099FF;
分水岭: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;
清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 买入<REF(买入,1),8);
DRAWTEXT( 清仓,90,'逃顶'),COLORYELLOW;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
STICKLINE(资金流入 AND 趋势线<13,0,30,10,0),COLORRED;
STICKLINE(资金流出 AND 趋势线>90,0,30,10,0),COLORGREEN;
STICKLINE(买入 AND 趋势线<13,0,40,10,0),COLORFF00FF;
STICKLINE(卖出 AND 趋势线>90,0,40,10,0),COLORBLUE;
 
 

202182354644853.png

202182354644853.png

202182344752522.rar

2.67 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

202182344752522.rar

回复

使用道具 举报

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

本版积分规则