最佳买点
参数分别设置为以下:
5 10 20 60 120 250
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
指标王:=COUNT(CROSS((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5)),7)>0 AND REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),2)
AND (HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5)0 AND
REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),2)
CROSS(EMA((((CLOSE - LLV(LOW,10)) / (HHV(HIGH,25) - LLV(LOW,10))) * 4),4),0.3);
DRAWTEXT(指标王,L,'B'),COLORYELLOW;
ZT:=C/REF(C,1)>1.097;
BH:=BARSLAST(ZT-1000);
STICKLINE(ZT,REF(O,BH),REF(C,BH),1,0),COLORYELLOW;
地域:DRAWTEXT_FIX(ISLASTBAR ,0.94,0,1,DYBLOCK),COLORGRAY;
行业:DRAWTEXT_FIX(ISLASTBAR ,0.95,0,0,HYBLOCK),COLORGRAY;
最佳买点1 副图
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/7;
VAR6:=MA(VAR5,1);
MACD: VAR3*8,COLORSTICK ,LINETHICK6 ;
K: SMA(VAR1,3,1) , COLORWHITE;
D: SMA(K,3,1) , COLORYELLOW;
J: 3*K-2*D, COLORFF00FF;
底部: 20,LINETHICK2 ,POINTDOT COLORGREEN;
预警: 80,LINETHICK2 ,POINTDOT COLORWHITE;
顶部: 100,LINETHICK2 ,POINTDOT COLORYELLOW;
先知: STICKLINE(VAR6<=-8,68,0,1,0), , COLORYELLOW;
逢低买入: IF(VAR6<-8,38,0),LINETHICK1,COLORRED;
最佳买点2
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,0.75,0,1,0),COLORRED;
VF1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4)/10;
高: "DMI.PDI"(14,6)>33 AND "DMI.MDI"(14,6)<10 AND "DMI.ADX"(14,6)>40 AND "DMI.ADXR"(14,6)>45, STICK;
危险: HHV(VF1,4)>0.38 OR VF1>0.25 AND 高, STICK;
可买: IF(高=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,13)*0.4 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.03,-0.50,0), STICK;
调整: IF(高=0 AND HHV(高,5)>0,-0.5,0), STICK;
可卖: IF(危险=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,20)/2 AND CLOSE
遇警: IF(可卖=-0.75,-0.75,IF(卖出<0,-1,IF(危险>0,1,IF(调整<0,-0.5,高)))), COLORSTICK;
操盘手联盟:IF(可卖=-0.75,-0.75,IF(卖出<0,-1,IF(危险>0,1,IF(调整<0,-0.5,高)))),COLORRED;