Strategy for eurusd or other low spread instruments with calculation
stops from atr, high martingale also used.
Strategy always have opened position and react on trade events, risk
management build around SL. First of all strategy check if stop loss
calculated from atr is between 9 and 50 pips for eur usd. Then
calculate volume of first order in expression - (First order
coefficient*equity)/(stoploss*instrumentpipsize).
First order make trade by market with any small sl/tp parameters. On
closing first trade system calculate ATR from 8 hourly periods
(because it faster than daily and optimal parameter) also script
calculate optimal ratio of sl/tp, not bad ratio used here is 1/2.
If trade not profitable and to avoid errors in false breakdowns of the
trend we make second market order with same parameters from atr and
same volume. If third and other trades not profitable system increase
trade volume with martingale coefficient, that have optimal parameters
between 2.5-3 and change trade direction until tp is received.