OPEN-SOURCE SCRIPT

Diversified Investment EMA Cross Strategy Simulator

アップデート済
This simulating indicator proves that even if you use a simple strategy, you can reduce your risk by diversifying your investments.

The strategy itself is simple.(only long)
Buy when 50 days EMA crosses over 200 days EMA.
Sell ​​when 50 days EMA crosses under 200 days EMA.
Or, stop loss when the asset falls by 2% (eg).

Using this simple strategy on an asset is just a test of your luck.


However, this capital change graph shows that risk can be reduced by diversifying investment into eight assets rather than one asset.



Options

Total Assets Capital Change represents the sum of capital changes for 8 assets. The gray line is the initial capital.

Each Asset Capital Change represents all eight asset capital changes. In this case, the gray line is displayed as the initial capital divided by 8.

The rest of the options show a graph of capital change for each asset, showing when buys and sells occurred.

And set the start date, initial capital, stop loss %, and commission.

And select the 8 assets you want to invest in and you are ready to go. To effectively reduce risk, uncoupled assets would be better if possible.


The table in the lower right shows the selected asset and color.


Please enjoy the simulation.
リリースノート
first buy plotshape is added
diversificationdiversifiededucationalemacrossoverinvestmentMoving AveragesportfolioPortfolio management

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項