此指标公式为理想论坛中多位老师的精华指标公式的中精华部分的结合,已作优化,感觉按此指标公式炒股,轻松自如多了,赚得多了,赔得少了,所以奉献出来,期待你的试用和优化。
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),5);
FILLRGN(Hdy,10,Hdy<8,coloryellow);
FILLRGN(Hdy,100,Hdy>88,colorgreen);
风险值:HDY,colorcyan,LINETHICK1;
警示线:45,colormagenta,LINETHICK1,POINTDOT;
DRAWICON(CROSS(Hdy,12) AND LLV(Hdy,5)<10,hdy,1);
DRAWICON(CROSS(88,Hdy) AND HHV(Hdy,5)>90,82,2);
DRAWICON(REF(Hdy,1)>80 AND REF(Hdy,2)Hdy,82,2);
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
SS:=EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;
tt:=(REF(SS,2)REF(SS,1))*SS; //,colorwhite,LINETHICK2;
买条件:IF(tt>105,108,tt),colorwhite,LINETHICK2;
DRAWTEXT(tt>105,105," "+TOSTRING(INTPART(tt),6)),colorred;
买:(REF(买条件,1)>0 AND 买条件=0)*20,colorred;
//{选股,预警,副图一体}
B:=EMA(C,4);
B1:=EMA(SLOPE(C,20)*10+C,35);
P:=CROSS(B,B1);
B2:=EMA(CLOSE,3) ;
B3:=EMA(CLOSE,21);
B4:="KDJ.J"<50;
B5:=CROSS("KDJ.J","KDJ.D") AND CROSS("KDJ.J","KDJ.K");
D1:="MACD.MACD">0.1;
AAA:=CROSS(B,B1) AND B5;
攻击点:(CROSS(B2,B3) AND AAA AND D1)*50,colormagenta;
war1:=MA(HHV(HIGH,485),17); MA30:=MA(C,30); cA:=IF((CLOSE>REF(CLOSE,1)),88,0);
war2:=MA(HHV(HIGH,222),17);
war3:=MA(HHV(HIGH,96),17);
war4:=MA(LLV(LOW,485),17);
war5:=MA(LLV(LOW,222),17);
war6:=MA(LLV(LOW,96),17);
war7:=MA((war4*0.96+war5*0.96+war6*0.96+war1*0.558+war2*0.558+war3*0.558)/6,17);
war8:=MA((war4*1.25+war5*1.23+war6*1.2+war1*0.55+war2*0.55+war3*0.65)/6,17);
war9:=MA((war4*1.3+war5*1.3+war6*1.3+war1*0.68+war2*0.68+war3*0.68)/6,17);
TJ:=MA(IF(LOW<=LLV(LOW,30),(MA(IF(CLOSE*1.35<=1,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100*10,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100/10),3)+HHV(MA(IF(CLOSE*1.35<=1,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100*10,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100/10),3),30)*2)/2,0),3);
挖坑:(REF(TJ,2)>REF(TJ,3)AND TJ
MA60:=MA(C,60);
MA120:=MA(C,120);
MA250:=MA(C,250);
JD1:=ATAN((MA120/REF(MA120,1)-1)*100)*180/3.1416>=1;
JD2:=ATAN((MA250/REF(MA250,1)-1)*100)*180/3.1416>=1;
QT:=DYNAINFO(17)!=0 AND NOT(NAMELIKE('S') OR NAMELIKE('*S'));
AA1:=COUNT(L>MA(C,120),15)>=14 AND CROSS(MA(C,120),L) AND C>MA120;
AA2:=COUNT(L>MA(C,250),15)>=14 AND CROSS(MA(C,250),L) AND C>MA250;
PCI:=NOT(C
XG:=JD1 AND JD2 AND QT AND (AA1 OR AA2) AND PCI;
蜻蜓点水:xg*25,colorlired;
cAA:=IF(((CLOSE)/(REF(CLOSE,1))>1.03) AND ((HIGH)/(CLOSE)<1.01) AND (cA>0),91,0);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACDa := 2*(DIFF-DEA);
AA1:=MACDa>0.01;
短线截杀:FILTER((cAA>90),35) AND AA1 ,LINETHICK2,colorbrown;
DRAWICON(短线截杀,5,23);