用MACD的长处来挣每天两个点是难事吗?答案或许是肯定的。 主图源码: MA1:MA(CLOSE,5); DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); DRAWICON(CROSS(REF(DEA,1),REF(DIFF,1)) AND CROSS(DIFF,DEA),LOW,9); HSL:=V/CAPITAL*100; DRAWNUMBER(CURRBARSCOUNT=1 AND HSL,C,HSL),COLOR00FFFF; 副图源码: SHORT:2 200 12; LONG: 2 200 26; MID: 2 200 9; DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); MACD:(DIF-DEA)*2,COLORSTICK; DRAWICON(CROSS(DIF,DEA),DEA*0.98,1); DRAWICON(CROSS(DEA,DIF),DEA*0.98,2); DRAWICON(CROSS(REF(DEA,1),REF(DIF,1)) AND CROSS(DIF,DEA),DEA-0.1,9); 选股源码: DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); XG:CROSS(REF(DEA,1),REF(DIFF,1)) AND CROSS(DIFF,DEA);
|
|