Contest_11_2021_A
This strategy uses a short-term exponential moving average, a simple
medium-term moving average and a long-term simple moving average.
When the EMA crosses from the bottom up, the short-term SMA closes the
short trade, if any, and opens the buy trade.
The same conditions but on the contrary are valid for the opening of
the short operation.
The take profit is equal to the value of the long-term SMA and changes
as the SMA changes.
The stop loss is calculated by multiplying the take profit by a
coefficient.