同花顺跟着主力走副图源码

该指标比较简单明了的在图示中标明买卖点,为投资者投资交易提供参考依据。

DRAWGBK(DATE>900101,STRIP(RGB(100,0,0),RGB(30,30,0),1));
 VAR1:=HHV(HIGH,9)-CLOSE/HHV(HIGH,9)-LLV(LOW,9)*100-70;
 VAR2:=(2*CLOSE+HIGH+LOW)/4;
 VAR3:=SMA(CLOSE-LLV(LOW,9)/HHV(HIGH,9)-LLV(LOW,9)*100,3,1);
差值指标看图操作:(EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13)-EMA(0.667*REF(EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13),1)+0.333*EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13),2))*25,POINTDOT,COLOR33CC00;
 STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作 ,4 ,0 ),coloryellow;
 STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.8 ,4 ,0),COLORFFAA66;
 STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.6 ,4 ,0),COLORFFBB99;
 STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.4 ,4 ,0),COLORFFCCCC;
 STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.2 ,4 ,0),COLORFFDDDD;
 STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*1 ,4 , 0),colorgreen;
 STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.8 ,4 ,0),COLOR33CC00;
 STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.6 ,4 ,0),COLOR339900;
 STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.4 ,4 ,0),COLOR337700;
 STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.2 ,4 ,0),COLOR005500;
炒股线:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), colormagenta,linethick2;
底背离: IF((EMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,30)-LLV(LOW,36))*4,4)*25<10),110,150),coloryellow;
顶背离: IF((EMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,30)-LLV(LOW,36))*4,4)*25>90),40,0), colorred;
 DRAWTEXT(CROSS((3 * (SMA((((CLOSE - (LLV(LOW,27))) / ((HHV(HIGH,27)) - (LLV(LOW,27)))) * 100),5,1))) - (2 * (SMA((SMA((((CLOSE -
 (LLV(LOW,27))) / ((HHV(HIGH,27)) - (LLV(LOW,27)))) * 100),5,1)),3,1))),(10)),L,'←底'),COLOR0000FF;
 VARD:=(ZIG(3,8)<=REF(ZIG(3,8),1)) AND (REF(ZIG(3,8),1)>=REF(ZIG(3,8),2)) AND (REF(ZIG
 (3,8),2)>=REF(ZIG(3,8),3))AND (REF(ZIG(3,8),3)>=REF(ZIG(3,8),4));
 STICKLINE((VARD=1),(EMA(((2*C+H+L)/4-LLV(L,21))/(HHV(H,21)-LLV(L,34))*100,5)-2),0,4,0),Color00FF00;
 DRAWTEXT((VARD=1),(EMA(((2*C+H+L)/4-LLV(L,21))/(HHV(H,21)-LLV(L,34))*100,5)+5),'逃顶'),Color00FF00;
选股买点: IF(TROUGHBARS(3,16,1)=1 AND HIGH>LOW+0.04,50,0), coloryellow;
 DRAWTEXT(CROSS( 选股买点,1),50,'选股买点'), coloryellow;




未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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