raycy

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

raycy Aggiornato   
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逆が見れます 
 
Commento:
足によりけり、銘柄によりけり、時によりけりなのでしょうが…

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.