通达信“资金跨周期共振”副图指标选股公式资金层级




B:=SUM(AMOUNT*CLOSE,1)/SUM(AMOUNT,1);

B1:=EMA(B,5);

GSPT5:=(B-B1)*100/B,NODRAW,COLORRED;

GSPT6:=GSPT5!=DRAWNULL;

GSPT7:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

GSPT8:=SMA(GSPT7,4,1);

GSPT9:=SMA(GSPT8,3,1);

异动:CLOSE>=OPEN AND CROSS(GSPT8,GSPT9) AND GSPT9<=50 AND GSPT6,NODRAW,COLORBLUE;

GSPT10:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;

GSPT11:=SMA(GSPT10,6,1);

GSPT12:=SMA(GSPT11,3,1);

趋势:GSPT11>GSPT12 AND GSPT12>REF(GSPT12,1) AND GSPT6,NODRAW,COLORRED;

GSPT13:=EMA(CLOSE,17);

资金:GSPT5>0 AND CLOSE>GSPT13 AND GSPT13>REF(GSPT13,1),NODRAW,COLORMAGENTA;

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

GSPT15:=SMA(GSPT14,3,1);

GSPT16:=SMA(GSPT15,3,1);

GSPT17:=3*GSPT15-2*GSPT16;

GSPT18:=GSPT17>=95;

GSPT19:=REF(CLOSE,1);

GSPT20:=SMA(MAX(CLOSE-GSPT19,0),9,1)/SMA(ABS(CLOSE-GSPT19),9,1)*100;

GSPT21:=GSPT20>=75;

GSPT22:=FORCAST(EMA(CLOSE,5),6);

GSPT23:=FORCAST(EMA(CLOSE,8),6);

GSPT24:=FORCAST(EMA(CLOSE,11),6);

GSPT25:=FORCAST(EMA(CLOSE,14),6);

GSPT26:=FORCAST(EMA(CLOSE,17),6);

GSPT27:=GSPT22+GSPT23+GSPT24+GSPT25-4*GSPT26;

GSPT28:=EMA(GSPT27,2);

动能:GSPT28>REF(GSPT28,1),NODRAW,COLORLIRED;

加速:GSPT18 OR GSPT21,NODRAW,COLORLIMAGENTA;

STICKLINE(异动>0,4.8,5.8,1.5,0),COLORBLUE;

STICKLINE(异动=0,4.8,5.8,1.5,1),COLORGRAY;

STICKLINE(资金>0,3.6,4.6,1.5,0),COLORMAGENTA;

STICKLINE(资金=0,3.6,4.6,1.5,1),COLORGRAY;

STICKLINE(动能>0,2.4,3.4,1.5,0),COLORLIRED;

STICKLINE(动能=0,2.4,3.4,1.5,1),COLORGRAY;

STICKLINE(加速>0,1.2,2.2,1.5,0),COLORLIMAGENTA;

STICKLINE(加速=0,1.2,2.2,1.5,1),COLORGRAY;

STICKLINE(趋势>0,0,1,1.5,0),COLORRED;

STICKLINE(趋势=0,0,1,1.5,1),COLORGRAY;

DRAWTEXT(BARSTATUS=2,5.3,'  异动'),COLORBLUE;

DRAWTEXT(BARSTATUS=2,4.1,'  资金'),COLORMAGENTA;

DRAWTEXT(BARSTATUS=2,2.9,'  动能'),COLORLIRED;

DRAWTEXT(BARSTATUS=2,1.7,'  加速'),COLORLIMAGENTA;

DRAWTEXT(BARSTATUS=2,0.5,'  趋势'),COLORRED;







来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图