通达信金鹰资金流向副图指标源码 贴图

[复制链接]
查看114 | 回复0 | 2021-8-26 22:33:33 | 显示全部楼层 |阅读模式

以下是通达信金鹰资金流向副图指标源码 贴图(无源码的请下载附件导入)

PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
 JJ:=REF(EMA(PJJ,3),1);
 QJJ:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));
 XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,-QJJ*(HIGH-LOW),-
VOL/2));
 HSL:=XVL/20/1.15;
资金流向:=HSL*0.55+REF(HSL,1)*0.33+REF(HSL,2)*0.22;
 HSL*0.4,COLORSTICK;
 GJJ:=EMA(资金流向,8);
 LLJX:=EMA(资金流向,3);
今日:LLJX,NODRAW;
 STICKLINE(今日>0,0,今日,2,0),COLORRED;
 STICKLINE(今日<0,0,今日,2,0),COLORLIBLUE;
 X:=今日;
昨日:REF(X,1),COLORYELLOW,LINETHICK2;
 ZJLL:=REF(LLJX,1);
 QZJJ:=(LLJX-ZJLL)/ZJLL*100;
增幅%:IF(LLJX>0 AND ZJLL<0,ABS(QZJJ),IF(LLJX<0 AND ZJLL<0 AND LLJX<ZJLL,-QZJJ,QZJJ)),NODRAW;
力度:HSL/1000,NODRAW;
周流向:SUM(LLJX,5),NODRAW;
 BB:=REF(周流向,1);
 ZQZJJ:=(周流向-BB)/BB*100;
周增幅%:IF(周流向>0 AND BB<0,ABS(ZQZJJ),IF(周流向<0 AND BB<0 AND 周流向<BB,-ZQZJJ,ZQZJJ)),NODRAW;
基线:GJJ,NODRAW,COLOR00FFFF;
趋势线1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ;
趋势线:=MA(趋势线1 ,2);
底部区:IF(趋势线<-20,-500,0),COLORYELLOW;
 DRAWICON(趋势线<-20,-700,1);

1031444429.png

1031444429.png

回复

使用道具 举报

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

本版积分规则