同花顺短线超级公式
-
相关简介:同花顺短线超级公式 这个指标不含未来函数放心使用 不过信号很少 源码 VAR1:=CLOSE=OPEN; VAR2:=CLOSEOPEN; VAR3:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL); VAR4:=(CLOSE-VAR3)/VAR3*100; VAR5:=REF(VAR4,1)-32 AND VAR4REF(VAR4,1) AND REF(VAR4,1)REF(VAR4,2) AND VAR4-REF(VAR4,1)2.5 AND REF(VAR4
-
文章来源:股海网作者:股海网发布时间:2016-01-07浏览次数:
同花顺短线超级公式
这个指标不含未来函数放心使用 不过信号很少
源码
VAR1:=CLOSE<=OPEN;
VAR2:=CLOSE>OPEN;
VAR3:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR4:=(CLOSE-VAR3)/VAR3*100;
VAR5:=REF(VAR4,1)<-32 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR4-REF(VAR4,1)>2.5 AND REF(VAR4,2)-REF(VAR4,1)>1;
VAR6:=VAR2 AND REF(VAR1,1) AND REF(VAR1,2) AND REF(VAR1,3) AND REF(VAR1,4) AND REF(VAR1,5) AND REF(VAR2,6) AND HIGH<REF(HIGH,60) AND HIGH<REF(HIGH,120) AND HIGH<REF(CLOSE,200) AND REF(SUM(VOL,5),1)/FINANCE(7)<2.5 AND VAR4-REF(VAR4,1)>2 AND (REF(HIGH,1)-REF(CLOSE,2))/REF(CLOSE,2)<0.05 AND (REF(HIGH,4)-REF(CLOSE,5))/REF(CLOSE,5)<0.05 AND (REF(HIGH,2)-REF(CLOSE,3))/REF(CLOSE,3)<0.05 AND (REF(HIGH,3)-REF(CLOSE,4))/REF(CLOSE,4)<0.05 AND COUNT(INDEXC>INDEXO,6)>1;
超级短线:VAR5 OR VAR6,colormagenta;
DRAWBAND(超级短线,RGB(255,0,255),0,RGB(0,0,0));