短线快速买卖 趋势高抛低吸【指标公式】(含选股)锘跨涓閮ㄥ垎 鍓浘鍏紡 鎵嬫満/鐢佃剳
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CHP1:=6;CHP2:=4;CHP3:=13;
CHP4:=(3*G1+G2+G3+G4)/6;
CHP5:=WMA(VOL,CHP3);
CHP6:=WMA(AMOUNT,CHP3);
CHP7:=CHP6/CHP5/100;
CHP8:=(CHP4-CHP7)/CHP7*100;
灏忓簳:CHP8<(-6),NODRAW,COLORWHITE;
涓簳:CHP8<(-10),NODRAW,COLORYELLOW;
澶у簳:CHP8<(-14),NODRAW,COLORCYAN;
缁濆簳:CHP8<(-18),NODRAW,COLORRED;
STICKLINE(CHP8<0-18,30,40,0.51,0),COLORRED;
STICKLINE(CHP8<0-14,20,30,0.51,0),COLORCYAN;
STICKLINE(CHP8<0-10,10,20,0.51,0),COLORYELLOW;
STICKLINE(CHP8<0-6,0,10,0.51,0),COLORWHITE;
楂樻姏:80,DOTLINE,COLORGREEN;
浣庡惛:20,DOTLINE,COLORCYAN;
CHP9:=LLV(G2,CHP1);
CHP10:=HHV(G4,CHP1);
CHP11:=WMA((CHP4-CHP9)/(CHP10-CHP9)*100,CHP2);
璧板娍绾:WMA(0.667*REF(CHP11,1)+0.333*CHP11,2),DOTLINE,COLORYELLOW;
CHP12:=REF(CHP11,1)>80 OR CHP11>80;
CHP13:=REF(CHP11,1)<30 OR CHP11<30;
DRAWICON(CROSS(璧板娍绾,CHP11) AND CHP12,50,2);
DRAWICON(CROSS(CHP11,璧板娍绾) AND CHP13,50,1);
瓒嬪娍绾:CHP11,COLORMAGENTA;
IF(CHP11>=REF(CHP11,1),CHP11,DRAWNULL),COLORRED,LINETHICK2;
绗簩閮ㄥ垎 閫夎偂鍏紡
{閫夎偂鍏紡:锛氱孩绠ご鍥炬爣}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CHP1:=6;CHP2:=4;CHP3:=13;
CHP4:=(3*G1+G2+G3+G4)/6;
CHP9:=LLV(G2,CHP1);
CHP10:=HHV(G4,CHP1);
CHP11:=WMA((CHP4-CHP9)/(CHP10-CHP9)*100,CHP2);
璧板娍绾:=WMA(0.667*REF(CHP11,1)+0.333*CHP11,2),COLORYELLOW;
CHP12:=REF(CHP11,1)>80 OR CHP11>80;
绾㈢澶村浘鏍:CROSS(璧板娍绾,CHP11) AND CHP12;
{鍗栧嚭鍏紡:锛氱豢绠ご鍥炬爣}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CHP1:=6;CHP2:=4;CHP3:=13;
CHP4:=(3*G1+G2+G3+G4)/6;
CHP9:=LLV(G2,CHP1);
CHP10:=HHV(G4,CHP1);
CHP11:=WMA((CHP4-CHP9)/(CHP10-CHP9)*100,CHP2);
璧板娍绾:=WMA(0.667*REF(CHP11,1)+0.333*CHP11,2),COLORYELLOW;
CHP13:=REF(CHP11,1)<30 OR CHP11<30;
缁跨澶村浘鏍:CROSS(CHP11,璧板娍绾) AND CHP13;
|