通达信资金趋势副图指标 做小波段用 源码附图

{资金趋势}


ABC1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*10;

ABC2:=SMA(ABC1,5,1);

ABC3:=ABC2>MA(ABC2,8);

ABC4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*10;

ABC5:=SMA(ABC4,3,2);

ABC6:=SMA(ABC5,10,6);

ABC7:=MA(ABC6,3);

ABC8:=SMA(ABC7,3,1);

买入:ABC6>=ABC7,COLORRED,LINETHICK1 DOTLINE STICK;

ABC9:=ABC7>REF(ABC7,1);

卖出:NOT(买入),COLORGREEN DOTLINE;

ABC10:=LLV(LOW,6);

ABC11:=HHV(HIGH,12);

趋势线:EMA((CLOSE-ABC10)/(ABC11-ABC10)*4,4),COLORLIBLUE,LINETHICK2;

做多线:IF(趋势线>=REF(趋势线,1),趋势线,DRAWNULL),COLORMAGENTA,LINETHICK2;

GMA:=MA(趋势线,3);

资金运转:STICKLINE(趋势线>GMA,趋势线,GMA,3,0),COLORRED;

资金流失:STICKLINE(趋势线<GMA,趋势线,GMA,3,0),COLORGREEN;

ABC12:=CLOSE>REF(CLOSE,4);

ABC13:=BARSLASTCOUNT(ABC12);

ABC14:=ABC13=9;

ABC15:=ISLASTBAR AND BETWEEN(ABC13,5,8);

ABC16:=( (ABC14>0,9) OR (ABC15>0,ABC13))*ABC13;

ABC17:=CLOSE<REF(CLOSE,4);

ABC18:=BARSLASTCOUNT(ABC17);

ABC19:=ABC18=9;

ABC20:=ISLASTBAR AND BETWEEN(ABC18,5,8);

ABC21:=( (ABC19>0,9) OR (ABC20>0,ABC18))*ABC18;

ABC22:=EMA(CLOSE,2);

ABC23:=EMA(CLOSE,150);

ABC24:=ABC22-ABC23;

ABC25:=EMA(ABC24,100);

ABC26:=2*(ABC24-ABC25);

ABC27:=POW(ABC26,3)*0.1+POW(ABC26,1);

ABC28:=IF(ABC26>0.1,ABC27,0)*5;

ABC29:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;

ABC30:=CLOSE>MA(CLOSE,250);

ABC31:=ABC28>REF(ABC28,1);

ABC32:=ABC29>REF(ABC29,1);

ABC33:=CROSS(ABC28,0.01)*ABC28;

AA:=C>MA(C,5);

ABC34:=(ABC30 AND ABC31 AND ABC32)*ABC28;

买入1:=BARSLASTCOUNT(趋势线>GMA AND 买入)=1;

卖出1:=BARSLASTCOUNT(趋势线<GMA)=1;

DRAWICON(买入1 AND AA,趋势线 ,5);

DRAWICON(卖出1,趋势线*1.1,6);

DRAWICON(ABC34>0 AND 买入,1,32);


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

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

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

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