主升波段 这是一个抓主升浪的指标公式,图形简洁直观,可结合均线等其它指标改变策略。下图是运用指标公式{主升波段}选股示例:
指标源代码:{主升波段}{副图公式}YIZHIGUBA1:=HHV(HIGH,9)-LLV(LOW,9);YIZHIGUBA2:=HHV(HIGH,9)-CLOSE;YIZHIGUBA3:=CLOSE-LLV(LOW,9);YIZHIGUBA4:=YIZHIGUBA2/YIZHIGUBA1*100-70;YIZHIGUBA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;YIZHIGUBA6:=(2*CLOSE+HIGH+LOW)/4;YIZHIGUBA7:=SMA(YIZHIGUBA3/YIZHIGUBA1*100,3,1);YIZHIGUBA8:=LLV(LOW,34);YIZHIGUBA9:=SMA(YIZHIGUBA7,3,1)-SMA(YIZHIGUBA4,9,1);YIZHIGUBAA:=IF(YIZHIGUBA9>100,YIZHIGUBA9-100,0);YIZHIGUBAB:=HHV(HIGH,34);AA:= YIZHIGUBAA*2;BB:= EMA((YIZHIGUBA6-YIZHIGUBA8)/(YIZHIGUBAB-YIZHIGUBA8)*100,13);YIZHIGUBAC:=EMA(0.667*REF(BB,1)+0.333*BB,2);CC:SMA(YIZHIGUBA5,20,1),COLORRED;CC1:SMA(CC,5,1),COLORGREEN;STICKLINE(CC>CC1,CC,CC1,1,0),COLORRED;STICKLINE(CC1>CC,CC,CC1,1,0),COLORGREEN;出击:IF((CROSS(CC,CC1) AND (CC1 < 85) ),80,0),COLORRED;
{主升波段}{选股指标}YIZHIGUBA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;CC:=SMA(YIZHIGUBA5,20,1),COLORRED;CC1:=SMA(CC,5,1),COLORGREEN;出击:IF((CROSS(CC,CC1) AND (CC1 < 85) ),80,0);
|