通达信哈喽黄金坑副图指标 只做红黄蓝三色信号 源码 贴图
2022-09-21 10:11:00来源:本站整理浏览:1139
要做只做红黄蓝三色信号,指标用到未来函数,所信号经供参考
X_1:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1);
X_2:=HHV(HIGH,45);
X_3:=LLV(LOW,45);
X_4:=EMA((CLOSE-X_3)/(X_2-X_3)*100,21);
STICKLINE(X_4>0,0,X_4,10,0),COLORLIBLUE;
STICKLINE(X_4>80,X_4,80,10,1),COLORMAGENTA;
STICKLINE(X_4<10,X_4,0,10,1),COLORYELLOW;
风险线:80,POINTDOT,COLORRED,LINETHICK3;
安全线:10,POINTDOT,COLORGREEN,LINETHICK3;
X_5:=100*VOL/(FINANCE(7)/100);
X_6:=SUM(X_5,10);
X_7:=TROUGHBARS(3,15,1)<10;
X_8:=PEAKBARS(3,15,1)<10;
X_9:=IF(X_7=1,50,0);
X_10:=IF(X_8=1,50,0);
X_11:=IF(X_9=50,10,0);
X_12:=0;{公式网WWW.GPXIAZAI.COM}
黄金坑1:STICKLINE(X_11=10 AND X_4<10 AND REF(X_11,10)=0 AND REF(X_11,3)=0,90,0,10,0),COLORYELLOW,LINETHICK5;
黄金坑2:STICKLINE(X_11=10 AND X_4<20 AND REF(X_11,10)=0 AND REF(X_11,3)=0,60,0,10,0),COLORBLUE,LINETHICK5;
黄金坑3:STICKLINE(X_11=10 AND X_4<50 AND REF(X_11,10)=0 AND REF(X_11,3)=0,30,0,10,0),COLORMAGENTA,LINETHICK5;
- 上一篇公式:通达信时间阶梯副图指标 源码 贴图
- 下一篇公式:通达信量能生命线副图指标 黑马量学成交量指标 源码 贴图