raycy

日経CFDの週足Macdは、Buy Sell 逆のほうが 2003年以降だと成績良さげ…

raycy Updated   
OANDA:JP225USD   Japan 225
 ストラテジー検証のススメ|CryptoMori|note にMacdの検証例があったので、
いわゆる ヒストグラムゼロをうわ抜きで 買い 下抜きで閉じ
日経CFD
これにドテン売を追加して
//@version=3
strategy("macdBuySell", overlay=true)
= macd(close, 12, 26, 9)
strategy.entry("BUY", strategy.long, when=(hist>0))
strategy.close("BUY", when=(hist<=0))
strategy.entry("SELL", strategy.short, when=(hist<0))
strategy.close("SELL", when=(hist>=0))
テストすると、 あまり成績が宜しくない…
ビットコインなら 週足 まあまあなのだが…

売買を逆にしてみたら そのほうが 成績がいいという… バイアンドホールドには負けるが…
//@version=3
strategy("macdB↕S", overlay=true)
= macd(close, 12, 26, 9)
strategy.entry("SELL", strategy.short, when=(hist>0))
strategy.close("SELL", when=(hist<=0))
strategy.entry("Buy", strategy.long, when=(hist<0))
strategy.close("Buy", when=(hist>=0))
投資戦略テストの レポートを、切り替えて B↕S を選択すれば BuySell逆が見れます 
 
Comment:
足によりけり、銘柄によりけり、時によりけりなのでしょうが…

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.