Trabalho concluído
Termos de Referência
Hi hope someone will made this ea.
EA with the following parameters:
System: EA and Indicator for MetaTrader4 / MQL4, delivering of the Source-Code
EA Swing
Have to work for all Assets -> Indices, Forex, Gold
Used Indicators : RSI, Forex Trend (will be delivered)
Money-Management:
1. fix lot size
2. variable lot size:
risk X% of account balance
lot size depends of the SL
for example:
account balance = 10.000,-
risk 2% = 200,-
SL = 20 points or 20,-
------------------------------------------------------------------------------------------------------------
STRATEGY TREND:
LONG:
When the market is trending down / short, we need the RSI to cross below level 30. Wait for the close of a candle above the 2 Red Lines.
Then confirm that the RSI went from below level 30 to above 30. At the opening of the next candle,
a Long / Buy trade is opened. Put the stop at the swing low of the previous candle or to a fix stop (choosable in the settings).
SHORT:
Once the market is trending up / long, we need the RSI to cross above level 70. Wait for the close of a candle below the 2 Blue Lines.
Then confirm that the RSI went from above level 70 to below 70. At the opening of the next candle,
a Short / Sell trade is opened. Put the stop at the swing high of the previous candle or to a fix stop (choosable in the settings).
Exits:
fix take profit (chosable in the settings)
fix stop loss (choosable in the settings)
Option 1
Stop loss distance will be used as take profit target.
Example: 1:1 Risk to reward. If your stop is -12 pips your take profit should be +12 pips.
Option 2
Stop loss distance will be used as take profit target. If take profit is reached than partial close of 50% of the position.
than trailing stop: put stop at the low (buy trade) or the high (short trade) + x points of the previous candle.
Example: Open 2 lots. If your stop is at -10 pips, once your trades goes in your favor and you’re take profit is at +10 pips,
close 1 lot and let the other one run till exit with trailing stop.
Option 3
Exit on rsi level's these levels have to be choosable in the settings
Example: long trade close if rsi is closing above rsi level 70 / short trade close if rsi is closing above rsi level 30/
long and short trade close if rsi is closing above or below rsi level 50
-------------------------------------------------------------------------------------------------------------
Additional Settings:
trading time -> when a positione will open
close time -> when a position have to close
all rsi and forex trend settings have to be choosable
max. open positions
thanks and regards