冰川2017 发表于 2023-4-21 15:45:52

通达信指标公式源码超级短线指标




X_1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

X_2:=HIGH-REF(HIGH,1);

X_3:=REF(LOW,1)-LOW;

X_4:=SUM(IF(X_2>0 AND X_2>X_3,X_2,0),25);

X_5:=SUM(IF(X_3>0 AND X_3>X_2,X_3,0),25);

X_6:=X_4*100/X_1;

X_7:=X_5*100/X_1;

X_8:=MA(ABS(X_7-X_6)/(X_7+X_6)*100,15);

X_9:=(X_8+REF(X_8,15))/2;

X_10:=(X_7>X_3 AND X_7>25 AND X_3<25);

X_11:=ZIG(3,10)*100,COLORRED;

X_12:=MA(X_11,2);

买:CROSS(X_11,X_12)*1000,COLORRED,NODRAW;

卖:CROSS(X_12,X_11)*1000,COLORGREEN,NODRAW;

X_13:=REF(INDEXC,1);

X_14:=SMA(MAX(INDEXC-X_13,0),3,1)/SMA(ABS(INDEXC-X_13),3,1);

X_15:=X_14 AND X_14<8;

X_16:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

X_17:=SMA(X_16,3,1);

X_18:=SMA(X_17,3,1);

X_19:=X_18 AND X_18<20;

STICKLINE(买,0,45,2,0),COLORRED;

STICKLINE(卖,0,45,2,0),COLORGREEN;

{顶:80,COLORFFA500;

大顶:100,COLORBLUE;

VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

VAR2:=SMA(VAR1,10,1);

慢速:SMA(VAR2,5,1),COLORRED;

RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;

RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

FATK:=SMA(RSV1,3,1);

形态:SMA(FATK,3,1),COLORBB24DB;

VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VARB:=SMA(VARA,3,1);

VARC:=SMA(VARB,3,1);

加速: EMA(3*VARB-2*VARC,3),COLORYELLOW;

底:6,COLOR00BF00;

大底:-6,COLOR007300;

VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;

VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;

买入:=VAR11 AND VAR22,STICK,LINETHICK2,COLORRED;

VAR3:=REF(CLOSE,1);

VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;

卖出:=CROSS(80,VAR4),STICK,LINETHICK2,COLORGREEN;}

风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。


李松泰李c 发表于 2023-4-26 14:45:36

我抢、我抢、我抢沙发~

一休609 发表于 2023-5-6 07:13:09

不错的内容!

今日晚报灼 发表于 2023-5-7 08:51:01

帮顶!

云丝雨线纱 发表于 2023-5-11 21:59:07

my god!好东西!

七七小嗳 发表于 2023-5-17 14:54:00

谢谢了呀,辛苦了呀,支持呀!

你东我西兆 发表于 2023-6-27 16:54:45

多谢分享!

wx123458sh2017 发表于 2023-9-23 14:59:03

只为积分!感谢!

吴维伟挂 发表于 2023-10-25 02:09:37

感谢感谢!楼主功德无量,哈哈!

大脚吴妈 发表于 2024-2-6 18:45:32

感谢楼主分享好资源
页: [1]
查看完整版本: 通达信指标公式源码超级短线指标