以下是最佳买入指标公式源码和截图
短线最佳买入选股指标公式源码:
MA10:=MA(CLOSE,10);
MA54:=MA(CLOSE,54);
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100
HJ_9:=FILTER(HJ_8,10);
HJ_10:=BARSLAST(HJ_9);
HJ_11:=REF(HIGH,HJ_10+2);
HJ_12:=REF(HIGH,HJ_10+1);
HJ_13:=REF(HIGH,HJ_10);
HJ_14:=MAX(HJ_11,HJ_12);
HJ_15:=MAX(HJ_14,HJ_13);
HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100
HJ_17:=HJ_10
HJ_18:=(OPEN-HJ_15)/HJ_15*100
HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100
HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100
HJ_21:=VOL/MA(VOL,5)
HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100
HJ_25:=HJ_16ANDHJ_17ANDHJ_18ANDHJ_19ANDHJ_20ANDHJ_21ANDHJ_22;
暴利:=FILTER(HJ_25,15);
PL1:=(((CLOSE-MA54)/MA54) 0.1);
PL2:=(((CLOSE-MA10)/MA10) 0.3);
偏离率:=(((PL1=1)AND(PL2=1))*0.2);
平台:=((((偏离率=0)AND(REF(偏离率,1)=0.2))AND(REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利OR妖股突破);
VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VARAA:=DYNAINFO(7)/(REF(CLOSE,1)) 1.05AND(DYNAINFO(7)/O 1.05);
FLIGA:=(VOL/REF(VOL,1) 1.2ANDCOUNT(CLOSE OPEN,1))OR(LOW REF(HIGH,1)ANDCOUNT(OPEN CLOSE,1)ANDVOL/REF(VOL,1) 1.2);
XG:XDFANDC/REF(C,1) 1.095ANDFLIGAANDVARAA,COLORRED;
TR1:=SUM(maX(MAX((HIGH-LOW),Abs((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),5);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
DMP:=(SUM(IF(((HD 0)AND(HD LD)),HD,0),5));
DMM:=SUM(IF(((LD 0)AND(LD HD)),LD,0),5);
神偷线:=(((DMP)*100)/TR1);
辅助线:=((DMM*100)/TR1);
动向线:=(MA(((ABS((辅助线-神偷线))/(辅助线+神偷线))*100),3));
ADXR:=((动向趋势线+REF(动向趋势线,3))/2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
强弱2:=((SMA(MAX((VAR3-VAR7),0),5,1)/SMA(ABS((VAR3-VAR7)),5,1))*100);
短线离合器:(IF(((动向趋势线 88)AND(神偷线 5.8)),80,0)),LINETHICK3,COLORFF00FF;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(ABS((CLOSE-LC)),5,1))*100);
TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
DMP:=SUM(IF(((HD 0)AND(HD LD)),HD,0),10);
DMM:=SUM(IF(((LD 0)AND(LD HD)),LD,0),10);
PDI:=((DMP*100)/TR1);
MDI:=((DMM*100)/TR1);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);
AV:=(RSI5+ADX);
DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWVOL:=(RSI5-WR10);
最佳买入:=(AV+NEWVOL);
最佳买入选股:=IF(CROSS(最佳买入,0),1,0);
VAR1:=SMA(最佳买入选股,3,1);
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
短线买点:IF(CROSS(VAR2,VAR3)AND(VAR2 40),5,0*10000);
短线最佳买入选股指标公式截图