超级短赚去掉趋势线(源码 副图 通达信)

[复制链接]
查看83 | 回复0 | 2021-8-20 03:44:52 | 显示全部楼层 |阅读模式

以下是超级短赚去掉趋势线(源码 副图 通达信)(无源码的请下载附件导入)

超级短赚去掉趋势线(源码 副图 通达信)

公式源码

VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
 VAR2:=HIGH-REF(HIGH,1);
 VAR3:=REF(LOW,1)-LOW;
 VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
 VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
 VAR6:=VAR4*100/VAR1;
 VAR7:=VAR5*100/VAR1;
 VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
 VAR9:=(VAR8+REF(VAR8,15))/2;
 A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
 B:ZIG(3,5)*100,colorred;
 G:MA(B,2);
 D:CROSS(B,G)*1000,colorred,LINETHICK2;
 W:CROSS(G,B)*1000,colorwhite,LINETHICK2;
 E:=REF(INDEXC,1);
 F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
 VAR10:=F AND F<8;
 VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 VAR12:=SMA(VAR11,3,1);
 VAR13:=SMA(VAR12,3,1);
 VAR14:=VAR13 AND VAR13<20; 
 DRAWTEXT(W=1000,1000,'s' ),colorwhite;
 DRAWTEXT(D=1000, 1000,'b'),colorred;

74344419.jpg

74344419.jpg

回复

使用道具 举报

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

本版积分规则