大家晚上好,,由于近期的行情比較震蕩,很多粉絲朋友讓我這邊分享一些震蕩行情之下可以用的指標 今天它來了,,跟大家分享一套波段操作的指標,,在震蕩行情下也能有所收獲 話不多說,指標源碼就分享在下方,,大家自行測試 喜歡的朋友點下關(guān)注,,更多指標戰(zhàn)法,可點我頭像留言,,我會整理好完整版分享給大家,! 波段頂?shù)自创aMA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA20:MA(CLOSE,20); MA60:MA(CLOSE,60); CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; YJD:=(EMA(CS,3)-50)*2; STICKLINE(CROSS(YJD,-80),LOW*0.94,LOW*0.96,2,1),COLORYELLOW; DRAWTEXT(CROSS(YJD,-80),LOW*0.95,'波段抄底'),COLORYELLOW; VAR1:=REF(CLOSE,2); A2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100, , COLOR00FF00; STICKLINE(A2<REF(A2,1) AND A2>79,1.02*HIGH,1.01*HIGH,5,0),COLOR00FFFF; DRAWTEXT(A2<REF(A2,1) AND A2>79,1.01*HIGH,'波段頂'),COLORF000F0; 波段買賣源碼VAR1:=(HIGH+LOW+CLOSE*2)/4; VAR2:=EMA(VAR1,7); VAR3:=STD(VAR1,7); VAR4:=(VAR1-VAR2)*100/LLV(LOW,33); VAR5:=EMA(VAR4,3); 趨勢線:=(EMA(VAR5,5)+100)/2-3; 空方線:HHV(趨勢線,5),COLORGREEN; 操作線:趨勢線,COLORMAGENTA,LINETHICK2; 轉(zhuǎn)強線:45,COLORWHITE,DOTLINE; DRAWICON(CROSS(操作線,轉(zhuǎn)強線),轉(zhuǎn)強線-0.95,38); DRAWICON(FILTER(空方線=操作線 AND 操作線<45,5),空方線-0.95,1); DRAWTEXT_FIX(1,0.01,0.98,0,'波段頂紅線出綠線賣出,,波段底綠線匯合紅線買'),COLORLIRED; |
|