{成交量} VOLUME:VOL,VOLSTICK; MAV1:=MA(V,5); 換手:VOL/CAPITAL*100,NODRAW,COLORYELLOW; 量比1:V/REF(MA(V,5),1),NODRAW,COLORYELLOW; {成交量均額} 筆數(shù):= DYNAINFO(50); 內(nèi)外比:= DYNAINFO(51); CJBS:= DYNAINFO(8)/DYNAINFO(50); 量比:=VOL/REF(MA(VOL,5),1); 均額:=((AMOUNT/CJBS)/100000); MA5:=MA(均額,3); MA10:=MA(均額,5); MA20:=MA(均額,8); MA50:=MA(均額,13); XG11:=MA5>=REF(MA5,1) AND MA10>=REF(MA10,1) AND MA20>=REF(MA20,1) AND MA50>=REF(MA50,1); XG1:=XG11 AND NOT(REF(XG11,1)); XG2:=CROSS(MA5,MA10) AND MA10>REF(MA10,1) AND MA20>REF(MA20,1) AND MA50>REF(MA50,1); 開:=WINNER(O)*100; 高:=WINNER(H)*100; 低:=WINNER(L)*100; 收:=WINNER(C)*100; 博弈K線長陽:=收-開>20; 無量長陽:=收-開>15 AND V/CAPITAL<0.03; ZDI:=(EMA(CLOSE,60)-EMA(CLOSE,130)); ZDE:=EMA(ZDI,25); MACD1:=ZDI-ZDE; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD2:=DIF-DEA; MACDXG:=ZDI>REF(ZDI,1) AND ZDI>ZDE AND DIF>REF(DIF,1) AND DIF>DEA AND MACD1>REF(MACD1,1) AND MACD2>REF(MACD2,1); XG3:=(無量長陽 OR 博弈K線長陽) {AND CROSS(C,COST(50)) AND MACDXG AND WINNER(C)>50}; BUYSHORT_BUY((XG1 OR XG2) AND XG3,MAV1); STICKLINE((XG1 OR XG2) AND XG3,O,V,3,0),COLORMAGENTA; MAV11:MA(V,5),COLORWHITE,LINETHICK2; MAV2:MA(V,10),COLORYELLOW,LINETHICK2; MAV3:MA(V,50)COLOR0080FF,LINETHICK2; |
|