Greetings dear traders!

I would like to introduce you the script for testing the strategy by crossing two signal EMAs based on the MACD indicator.

In the strategy itself:
The entry is made as a percentage of the deposit by EMA crossings.

There are additional purchases, they are set from the entry price for a given percentage in the opposite direction of the transaction.

The distance in percentage from the entry price, on which the additional purchase is exposed, is set in the StepAddPurchases parameter.

The Martingale parameter increases the initially purchased amount of the base traded cryptocurrency in each additional purchase.

The essence of the strategy is to trade a large number of pairs in order to diversify risks and obtain a stable income.
It is desirable to enter each trading pair with a small percentage of the deposit.
The optimization result shows the trading result for the period of 5000 bars (the platform does not give more history) on 10% of the deposit for the first transaction, the addition will also take place on initially bought amount of base traded cryptocurrency, multiplied by the martingale parameter, raised by the number of addition.

The strategy will still be updated, so see you soon!


Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?