本主题指标分为副图和选股两个公式,其效果都是一样,想要花俏一点的只作副图看的用第一个副图公式源码,想要用来选股的就用第二个选股公式源码即可。指标一般在出信号后的第二天冲高概率很高,后期操作需要自己把握。
{副图公式源码:}
快的:=EMA(CLOSE,12)-EMA(CLOSE,26);
慢的:=EMA(快的,9);
力度:=(快的-慢的)*2;
差距:=ABS(力度-REF(力度,1));
差距率:=ABS(差距/REF(力度,1));
{IF(UPNDAY(差距,1),差距,DRAWNULL),COLORRED;
IF(DOWNNDAY(差距,1),差距,DRAWNULL),COLORGREEN;}
趋势线:=EMA(4*快的-3*慢的,1);
{IF(UPNDAY(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK1;
IF(DOWNNDAY(趋势线,1), 趋势线,DRAWNULL),COLORGREEN,LINETHICK1;}
准备:=差距率=LLV(差距率,BARSLAST(CROSS(0,力度)OR CROSS(力度,0)))
&&DOWNNDAY(差距率,4)&&DOWNNDAY(ABS(差距),4);
A:=(C-REF(C,1))/REF(C,1)*100>=9.93;
A1:=BARSLAST(A);
MA233:=MA(C,233);
B:=力度>0
&&((COUNT(REF(力度,1)=LLV(力度,3),BARSLAST(CROSS(力度,0)))>=2
&&力度=HHV(力度,BARSLAST(CROSS(力度,0))))
OR( COUNT(REF(力度,1)=LLV(力度,3),BARSLAST(CROSS(力度,0)))>=3)
&&REF(力度,1)=LLV(力度,3)) AND C/REF(C,1)>=1.025 AND V/REF(V,1)>=1.65 AND A1<=7 AND H>L AND C<MA233;
STICKLINE(B, 0,10, 2, -1),COLORLIMAGENTA;
STICKLINE(B, 0,2, 3, 0),COLORLIMAGENTA;
DRAWTEXT(B,5,'神底信号'),COLORYELLOW;
STICKLINE(B, 8,10, 3, 0),COLORLIMAGENTA;
STICKLINE(B, 6,7.5, 2, 0),COLORGREEN;
{选股公式源码:}
快的:=EMA(CLOSE,12)-EMA(CLOSE,26);
慢的:=EMA(快的,9);
力度:=(快的-慢的)*2;
A:=(C-REF(C,1))/REF(C,1)*100>=9.93;
A1:=BARSLAST(A);
MA233:=MA(C,233);
B:=力度>0
&&((COUNT(REF(力度,1)=LLV(力度,3),BARSLAST(CROSS(力度,0)))>=2
&&力度=HHV(力度,BARSLAST(CROSS(力度,0))))OR( COUNT(REF(力度,1)=LLV(力度,3),BARSLAST(CROSS(力度,0)))>=3)
&&REF(力度,1)=LLV(力度,3)) AND C/REF(C,1)>=1.025 AND V/REF(V,1)>=1.65 AND A1<=7 AND H>L AND C<MA233;
神底信号:B;
|