只買1口的話是賠錢的, 權益曲線和程式碼和如下. 注意權益曲線是嚴重 "破底" if DMIPlus(14) cross over DMIMinus(14) then buy 1 shares next bar at highest(H,5) stop; if DMIPlus(14) cross under DMIMinus(14) then sellshort 1 shares next bar at Lowest(L,5) stop; *****************************************
若買10口的話, 權益曲線的線型有點相似, 但並不 "破底" 而且賺錢了. 請問為什麼? if DMIPlus(14) cross over DMIMinus(14) then buy 10 shares next bar at highest(H,5) stop; if DMIPlus(14) cross under DMIMinus(14) then sellshort 10 shares next bar at Lowest(L,5) stop;
|