公式源码:=100-ABS((CLOSE-黑马抄底指标)/黑马抄底指标*100);
ffggg4:=LLV(LOW,75);{通达信公式-通达信指标www.gs6699.com}
ffggg5:=HHV(HIGH,75);
ffggg6:=(ffggg5-ffggg4)/100;
ffggg7:=SMA((CLOSE-ffggg4)/ffggg6,20,1);
ffggg8:=SMA((OPEN-ffggg4)/ffggg6,20,1);
VEAR9:=3*ffggg7-2*SMA(ffggg7,15,1);
ffgggA:=3*ffggg8-2*SMA(ffggg8,15,1);
VEARB:=100-ffgggA;
ffgggC:=IF(900101 DATE AND DATE 99991230,1,0);
ssdd1: (100-VEAR9)*ffgggC, , {000B0001};
ssdd2: MA(WINNER(CLOSE*0.95)*100,3)*ffgggC, , COLORYELLOW;
ssdd3: (100-IF(抄底神针 5,IF(抄底神针 100,抄底神针,公式源码-10),0))*ffgggC, , COLORGREEN;
ffgggD:=ssdd2 公式源码;
ffgggE:=REF(LOW,1)*0.9;
ffgggF:=LOW*0.9;
抄底神针0:=(ffgggF*VOL+ffgggE*(CAPITAL-VOL))/CAPITAL;
抄底神针1:=EMA(抄底神针0,30);
抄底神针2:=CLOSE-REF(CLOSE,1);
抄底神针3:=MAX(抄底神针2,0);
抄底神针4:=ABS(抄底神针2);
抄底神针5:=SMA(抄底神针3,7,1)/SMA(抄底神针4,7,1)*100;
抄底神针6:=SMA(抄底神针3,13,1)/SMA(抄底神针4,13,1)*100;
抄底神针7:=BARSCOUNT(CLOSE);
抄底神针8:=SMA(MAX(抄底神针2,0),6,1)/SMA(ABS(抄底神针2),6,1)*100;
抄底神针9:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
抄底神针A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
抄底神针B:=SMA((SMA(抄底神针A,4,1)-50)*2,3,1);
抄底神针C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
抄底神针D:=SMA(抄底神针C,4,1);
抄底神针E:=SMA(抄底神针D,3,1);
抄底神针F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
黑马抄底指标0:=抄底神针8 =25 AND 抄底神针9 -95 AND 抄底神针F 20 AND 抄底神针B -30 AND 抄底神针E 30 AND 抄底神针1-CLOSE =-0.25 AND 抄底神针5 22 AND 抄底神针6 28 AND 抄底神针7
黑马抄底指标1:=(HIGH+LOW+CLOSE)/3;
黑马抄底指标2:=(黑马抄底指标1-MA(黑马抄底指标1,14))/(0.015*AVEDEV(黑马抄底指标1,14));
黑马抄底指标3:=(黑马抄底指标1-MA(黑马抄底指标1,70))/(0.015*AVEDEV(黑马抄底指标1,70));
黑马抄底指标4:=IF(黑马抄底指标2 =150 AND 黑马抄底指标2 200 AND 黑马抄底指标3 =150 AND 黑马抄底指标3 200,10,0);
黑马抄底指标5:=IF(黑马抄底指标2 =-150 AND 黑马抄底指标2 -200 AND 黑马抄底指标3 =-150 AND 黑马抄底指标3 -200,-10,黑马抄底指标4);
黑马抄底指标6:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
黑马抄底指标7:=REVERSE(黑马抄底指标6);
黑马抄底指标8:=SMA(黑马抄底指标6,3,1);
ssdd4: SMA(黑马抄底指标8,3,1)*ffgggC, , ;
ssdd6: SMA(ssdd4,3,1)*ffgggC, , COLORYELLOW;
ssdd7: IF(CROSS(ssdd4,ssdd6) AND ssdd4 30,ssdd6,0)*ffgggC, , COLORRED;
ssdd8: IF(CROSS(ssdd6,ssdd4) AND ssdd6 75,ssdd6,100)*ffgggC, , COLORGREEN;
DRAWTEXT(CROSS(ssdd4,ssdd6) AND ssdd4 30,ssdd6,'逢低吸呐 !'), ,COLORWHITE;
DRAWTEXT(CROSS(ssdd6,ssdd4) AND ssdd6 75,ssdd6,'逢高减磅!'), , COLORGREEN;
ssdd5: (IF(黑马抄底指标3 =200 AND 黑马抄底指标2 =150,15,IF(黑马抄底指标3 =-200 AND 黑马抄底指标2 =-150,-15,黑马抄底指标5))+50)*ffgggC, , {00050006};
DRAWTEXT(CROSS(黑马抄底指标0,0.5) AND COUNT(黑马抄底指标0=1,10)=1,35,'抄底'), , COLORYELLOW;
DRAWTEXT(CROSS(ffgggD,0.5) AND COUNT(ffgggD=1,10)=1,65,'逃顶'), , ;
STICKLINE(ffgggD,100,25,1,0);
STICKLINE(1,ssdd2,0,1,0),COLORYELLOW;
STICKLINE(1,ssdd3,100,1,0);
STICKLINE(黑马抄底指标0,0,80,1,0),COLORRED;