通达信指标公式源码超级短线指标
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;}
风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。
我抢、我抢、我抢沙发~ 不错的内容! 帮顶! my god!好东西! 谢谢了呀,辛苦了呀,支持呀! 多谢分享! 只为积分!感谢! 感谢感谢!楼主功德无量,哈哈! 感谢楼主分享好资源
页:
[1]