“趨勢啟動”副圖源碼: BNGE1:=2*C; BNGE2:=BNGE1+HIGH; BNGE3:=(BNGE2+LOW)/4; BNGE4:=LLV(LOW,34); BNGE5:=HHV(HIGH,34); BNGE6:=EMA((((BNGE3-BNGE4)/(BNGE5-BNGE4))*100),13); BNGE7:=EMA(((0.667*(REF(BNGE6,1)))+(0.333*BNGE6)),2); BNGE8:=BNGE3-BNGE4; BNGE9:=BNGE5-BNGE4; BNGE10:=(BNGE8/BNGE9)*100; BNGE11:=SLOPE(CLOSE,21); BNGE12:=(BNGE11*20)+CLOSE; BNGE13:=MA(HIGH,13); BNGE14:=LLV(LOW,20); BNGE15:=(((CLOSE/(REF(CLOSE,1)))>=1.07)); BNGE16:=EMA(BNGE10,8); BNGE17:=EMA(BNGE16,5); BNGE18:=EMA(CLOSE,2); BNGE19:=EMA(BNGE12,42); BNGE20:=HHV(BNGE13,13); BNGE21:=LLV(BNGE13,1); BNGE22:=EMA(CLOSE,4); BNGE23:=((((BNGE18>=BNGE19) AND (BNGE21=BNGE20)) AND (BNGE18>BNGE22)) AND (CLOSE>BNGE21)) AND ((REF(BNGE21,1))<(REF(BNGE20,1))); BNGE24:=BARSLAST(BNGE23)+1; BNGE25:=LLV(LOW,BNGE24)*1.3; BNGE26:=BNGE14*1.418; BNGE27:=((((BNGE18>=BNGE19) AND (BNGE21=BNGE20)) AND BNGE15 AND (BNGE24<=30)) AND (CLOSE<=BNGE25)) AND (CLOSE<=BNGE26); BNGE28:=BNGE27 AND (FILTER(BNGE27,BNGE24)); BNGE29:=(((BNGE18>=BNGE19) AND (BNGE21=BNGE20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)); 微信公眾號:=(((BNGE29 AND (BNGE24<=30)) AND (CLOSE<=BNGE25)) AND (CLOSE<=BNGE26)); 指標(biāo)神器:=微信公眾號 AND FILTER(微信公眾號,20); DRAWTEXT_FIX(C>O,0,0.2,0,'微信公眾號:指標(biāo)神器'),COLORMAGENTA; 啟動決策線:(EMA(BNGE7,5)),COLORYELLOW,LINETHICK2; 啟動:IF(啟動決策線>=REF(啟動決策線,1),啟動決策線,DRAWNULL),COLORRED,LINETHICK3; STICKLINE((BNGE16-BNGE17)>0,BNGE16,BNGE17,3,0),COLORRED; STICKLINE((BNGE16-BNGE17)<0,BNGE16,BNGE17,3,0),COLORA67D3D; DRAWICON(CROSS((BNGE16-BNGE17)>0,啟動決策線>=REF(啟動決策線,1)) AND 啟動決策線<50,啟動決策線,13); DRAWTEXT(CROSS((BNGE16-BNGE17)>0,啟動決策線>=REF(啟動決策線,1)) AND 啟動決策線<50,啟動決策線,'←趨勢啟動'),COLORYELLOW; “趨勢啟動”選股源碼: BNGE1:=2*C; BNGE2:=BNGE1+HIGH; BNGE3:=(BNGE2+LOW)/4; BNGE4:=LLV(LOW,34); BNGE5:=HHV(HIGH,34); BNGE6:=EMA((((BNGE3-BNGE4)/(BNGE5-BNGE4))*100),13); BNGE7:=EMA(((0.667*(REF(BNGE6,1)))+(0.333*BNGE6)),2); BNGE8:=BNGE3-BNGE4; BNGE9:=BNGE5-BNGE4; BNGE10:=(BNGE8/BNGE9)*100; BNGE11:=SLOPE(CLOSE,21); BNGE12:=(BNGE11*20)+CLOSE; BNGE13:=MA(HIGH,13); BNGE14:=LLV(LOW,20); BNGE15:=(((CLOSE/(REF(CLOSE,1)))>=1.07)); BNGE16:=(EMA(BNGE7,5)); 微信公眾號:=EMA(BNGE10,8); 指標(biāo)神器:=EMA(微信公眾號,5); XG:CROSS((微信公眾號-指標(biāo)神器)>0,BNGE16>=REF(BNGE16,1)) AND BNGE16<50; |
|
來自: 獵人一個 > 《優(yōu)化自用版》