同花顺生命长线趋势副图源码

VARTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1);
 VARDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0);
 RSV:=(C*H)/(C*L);
 RV:=(C*L)/(C*H);
 RS:=(C*O);
 DI:=(EMA(RV,2) - EMA(RSV,10))*100/RS;
 DE:=EMA(RS,10);
 MAC:=2*(DI+DE)/2;
 RK7:EMA(MAC,1),Color0000FF,linethick1;
生命线:EMA(RK7,5), coloryellow;
生命线1:EMA(RK7,10),colorgray,linethick1;
生命线2:EMA(RK7,20),colorblue,linethick1;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),0,0 ),COLOR007700;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),8,0 ),COLOR008800;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),7,0 ),COLOR009900;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),6,0 ),COLOR00AA00;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),5,0 ),COLOR00BB00;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),4,0 ),COLOR00CC00;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),3,0 ),COLOR00DD00;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),2,0 ),COLOR00EE00;
 STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),1,0 ),COLOR00FF00;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),0,0) ,COLOR00BBFF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),8,0) ,COLOR0011FF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),7,0) ,COLOR0022FF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),6,0) ,COLOR0044FF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),5,0) ,COLOR0066FF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),4,0) ,COLOR0088FF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),3,0) ,COLOR0099FF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),2,0) ,COLOR00AAFF;
 STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),1,0) ,COLOR00BBFF;



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

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

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

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