慧眼 通达信主图/副图指标 源码 贴图

2019-05-05 08:35:00来源:本站整理浏览:478

慧眼 通达信主图/副图指标 源码 贴图

{公式名称: 慧眼副图
公式描述:
参数数量: 2
参数1: TS, 最小: 1, 最大: 100, 缺省: 3
参数2: FD, 最小: 1, 最大: 100, 缺省: 30
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无

参数精灵:
请设置计算参数:
TS: Param#0 (1.00--100.00)
FD: Param#1 (1.00--100.00)
用法注释:无

慧眼 通达信主图/副图指标 源码 贴图


{慧眼主图}
VAR1:=EMA(CLOSE,2);
VAR2:=EMA(SLOPE(CLOSE,30)*5+CLOSE,20);
HHJSJDA:(3*CLOSE+OPEN+LOW+HIGH)/6,LINETHICK0;
HHJSJDB:(19*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,20)+REF(HHJSJDA,19))/210,COLORYELLOW;
HHJSJDC:MA(HHJSJDB,5),COLORRED;
{WWW.GPXIAZAI.COM}
DRAWICON(CROSS(VAR1,VAR2),LOW-0.03,1);
DRAWICON(CROSS(VAR2,VAR1),HIGH+0.03,2);
STICKLINE(VAR1>=VAR2 AND CLOSE>OPEN,LOW,HIGH,0,1),COLORRED;
STICKLINE(VAR1>=VAR2 AND CLOSE<OPEN,LOW,HIGH,0,1),COLORRED;
STICKLINE(VAR1>=VAR2 AND CLOSE>OPEN,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(VAR1>=VAR2 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLORRED;
STICKLINE(VAR1<VAR2 AND CLOSE<OPEN,LOW,HIGH,0,1),COLORCYAN;
STICKLINE(VAR1<VAR2 AND CLOSE>OPEN,LOW,HIGH,0,1),COLORCYAN;
STICKLINE(VAR1<VAR2 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(VAR1<VAR2 AND CLOSE>OPEN,CLOSE,OPEN,2,1),COLORCYAN;
G4:DRAWTEXT_FIX(1,0.1,1,0,FGBLOCK),COLORMAGENTA;
G3:DRAWTEXT_FIX(1,0.935,1,0,HYBLOCK),COLORMAGENTA;
G2:DRAWTEXT_FIX(1,0.87,1,0,DYBLOCK),COLORMAGENTA;
G1:DRAWTEXT_FIX(ISLASTBAR,0.05,0.05,0,GNBLOCK),COLORMAGENTA,LINETHICK2;

{慧眼副图}
VAR1:=EMA(CLOSE,2);
VAR2:=EMA(SLOPE(CLOSE,30)*5+CLOSE,20);
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13);
买入:CROSS(VAR1,VAR2) AND VAR6<85;


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式