同花顺波段王YT公式
个人经典指标收藏,如对朋友有帮助请多多使用,谢谢
源码
b:=(EMA(((O+H+L+C)/4),3)+EMA(((O+H+L+C)/4),6)+EMA(((O+H+L+C)/4),9))/4;
d:=(EMA(((O+H+L+C)/4),5)+EMA(((O+H+L+C)/4),10)+EMA(((O+H+L+C)/4),20))/4;
a1:DRAWTEXT((b>d) AND (REF(b,1) < REF(d,1)), LOW*0.99, '买');
a2:DRAWTEXT((b<d) AND (REF(b,1) > REF(d,1)), HIGH*1.01, '卖');
STICKLINE((b<d),LOW,HIGH,0.8,0),COLORE0E000;
STICKLINE((b<d),CLOSE,OPEN,8,0),COLORE0E000;
STICKLINE((b>d),LOW,HIGH,0.8,0),colorred;
STICKLINE((b>d),CLOSE,OPEN,8,0),colorred;