通达信买卖看盘主图源码

[复制链接]
查看84 | 回复0 | 2021-8-19 18:09:08 | 显示全部楼层 |阅读模式

以下是通达信买卖看盘主图源码(无源码的请下载附件导入)

市盈:C/FINANCE(33),NODRAW;
收益:FINANCE(33),NODRAW;
公积金:FINANCE(18),NODRAW;
相对大盘强弱:(100*(C-REF(C,1))/REF(C,1))-(100*(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)),NODRAW;
VAR1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
VAR2:=VAR1,COLORRED,LINETHICK2;
VAR3:=MA((V-REF(V,1))/REF(V,1),5);
VAR4:=(C-MA(C,24))/MA(C,24)*100;
VAR5:=VAR4*(1+VAR3);
VAR6:=REF(VOL,1);
VAR7:=SMA(MAX(VOL-VAR6,0),6,1)/SMA(ABS(VOL-VAR6),6,1)*100;
VAR8:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7>REF(VAR7,1);
VAR9:=VAR5<REF(VAR5,1) AND VAR2>REF(VAR2,1) AND VAR7>REF(VAR7,1);
VAR10:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7<REF(VAR7,1);
VAR11:=VAR5<REF(VAR5,1) AND VAR2>REF(VAR2,1) AND VAR7<REF(VAR7,1);
VAR12:=VAR5>REF(VAR5,1);
VAR13:=VAR5<REF(VAR5,1);
VAR14:=VAR2<REF(VAR2,1);
VAR15:=VAR2>REF(VAR2,1);
VAR16:=VAR8 OR VAR10;
VAR17:=VAR9 OR VAR11;
VAR18:=VAR13 AND VAR14;
VAR19:=VAR16 OR VAR18;
VAR20:=VAR12 AND VAR15;
VAR21:=VAR17 OR VAR20;
VAR22:=LAST(VAR19,4,1) AND VAR20;
VAR23:=LAST(VAR21,3,1) AND VAR18;
DRAWICON(VAR22,L*0.95,25);
DRAWICON(VAR23,H*1.05,12);

723299461.jpg

723299461.jpg

回复

使用道具 举报

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

本版积分规则