以下是同花顺神速指标公式源码
同花顺短线神速指标公式源码:
VAR2A:=LLV(LOW,10);
VAR3A:=HHV(HIGH,25);
动力线:=EMA((CLOSE-VAR2A)/(VAR3A-VAR2A)*4,4);
:MA(动力线,2);
IF(趋势 REF(趋势,1),趋势,DRAWNULL),COLORRED;
IF(趋势 REF(趋势,1),趋势,DRAWNULL),COLORBLUE;
STICKLINE(趋势 REF(趋势,1),趋势,REF(趋势,1),1,0),COLORRED;
STICKLINE(趋势 =REF(趋势,1),趋势,REF(趋势,1),1,0),COLOR00FF00;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS 13,MA(SS,2),SS)/6;
短线出击:IF(CROSS(短线买点,1)AND(短线买点 30),1,0);
短线出击=30;
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR15A:=C/MA(C,60)-1;
大底:IF(CROSS(-5,VAR14A)ANDVAR13A -0.4,-0.01,-1);
中底:IF(CROSS(-5,VAR14A)ANDVAR13A -0.25ANDVAR13A -0.4,-0.3,-1);
小底:IF(CROSS(-5,VAR14A)ANDVAR13A -0.15ANDVAR13A -0.25,-0.6,-1);
减仓:IF(CROSS(VAR14A,-95)ANDVAR15A 0.2ANDVAR15A =0.1,0.6,1);
中顶:IF(CROSS(VAR14A,-95)ANDVAR15A 0.35ANDVAR15A =0.2,0.3,1),COLORYELLOW;
大顶:IF(CROSS(VAR14A,-95)ANDVAR15A =0.35,0,1)COLORRED;
N1:=5;
N2:=13;
短线指标:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
成功率100:SMA(短线指标,3,1),colorred,LINETHICK2;
无未来:SMA(成功率100,3,1),COLORFF0000,LINETHICK2;
edddss1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
edddss2:SMA(edddss1,5,1),colorred,LINETHICK0;
edddss3:SMA(edddss2,10,1),COLOR33AA33,LINETHICK0;
edddss4:10,colorwhite;
edddss5:90,COLOR00FFFF;
STICKLINE(成功率100 无未来,成功率100,无未来,3,1),COLOR00FFFF;
STICKLINE(成功率100 =无未来,成功率100,无未来,3,1),COLORFF0000;
STICKLINE(edddss2 edddss3,edddss2,edddss3,2,0),COLOR0000FF;
STICKLINE(edddss2 =edddss3,edddss2,edddss3,2,0),COLORFF0000,LINETHICK3;
edddss6:=3*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3,1);
edddss7:IF(crOSS(edddss6,10),45,0),colorred,LINETHICK2;
DRAWTEXT(edddss7,40,''),colorred,LINETHICK7;
edddss8:=AMOUNT/;
edddss9:=L edddss8*0.9;
jjhhd1:=(C-REF(C,1))/REF(C,1)*100
jjhhd2:=L MA(C,6)*0.921;
jjhhd3:=VOL MA(V,5)*1.5;
jjhhd6:=edddss9ANDjjhhd1ANDjjhhd2ANDjjhhd3;
DRAWTEXT(jjhhd6,L*0.99,''),colorred,LINETHICK3;
N1:=5;
N2:=13;
短线指标:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
成功率100:SMA(短线指标,3,1),colorred,LINETHICK2;
无未来:SMA(成功率100,3,1),COLORFF0000,LINETHICK2;
edddss1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
edddss2:SMA(edddss1,5,1),colorred,LINETHICK0;
edddss3:SMA(edddss2,10,1),COLOR33AA33,LINETHICK0;
edddss4:10,colorwhite;
edddss5:90,COLOR00FFFF;
STICKLINE(成功率100 无未来,成功率100,无未来,3,1),COLOR00FFFF;
STICKLINE(成功率100 =无未来,成功率100,无未来,3,1),COLORFF0000;
STICKLINE(edddss2 edddss3,edddss2,edddss3,2,0),COLOR0000FF;
STICKLINE(edddss2 =edddss3,edddss2,edddss3,2,0),COLORFF0000,LINETHICK3;
edddss6:=3*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3,1);
edddss7:IF(CROSS(edddss6,10),45,0),colorred,LINETHICK2;
DRAWTEXT(edddss7,40,''),colorred,LINETHICK7;
edddss8:=AMOUNT/VOL;
edddss9:=L edddss8*0.9;
jjhhd1:=(C-REF(C,1))/REF(C,1)*100
jjhhd2:=L MA(C,6)*0.921;
jjhhd3:=VOL MA(V,5)*1.5;
jjhhd6:=edddss9ANDjjhhd1ANDjjhhd2ANDjjhhd3;
DRAWTEXT(jjhhd6,L*0.99,''),colorred,LINETHICK3;
同花顺短线神速指标公式截图