Работа завершена
Техническое задание
I need an expert advisor created that will be able to trade using custom indicators that I have set up to give me trade signals.(I don't have mq4 files for some of these indicators, but if I understood correctly, an iCustom function can be used to read the values of ex4 files).
General Specifications
1. Symbol: WS30
2. Timeframe: 15M
3. Trading days: Every day (Mo-Fri)
4. Execute Trades only during these time: 05:00 - 20:00 (server time)
5. Risk: 1% of account balance
6. If any order is still open after 20:00, close all open trades at 23:00 each day.
7. Indicator settings based on which the signals are created are attached as set files.
Open Long (see open long picture for example)
1. Main Signal: average - crosses (arrows or lines mtf + alerts) arrow up appears on last closed candle
*** If main signal appears the following also need to be satisfied:
2. averages trend (alerts) indicator needs to have two green dots
3. RSI value needs to be > 0 (value 3 in buffer window)
4. Close Price of the candle when signal appeared > HMA (10) value
Exit Long
1. Trailing Stop is hit, or
2. Main Signal: average - crosses (arrows or lines mtf + alerts) arrow down appears on last closed candle
Open Short (see open short picture for example)
1. Main Signal: average - crosses (arrows or lines mtf + alerts) arrow down appears on last closed candle
*** If main signal appears the following also need to be satisfied:
2. averages trend (alerts) indicator needs to have two red dots
3. RSI value needs to be < 0 (value 3 in buffer window)
4. Close Price of the Candle when signal appeared < HMA (10) value
Exit Short
1. Trailing Stop is hit, or
2. Main Signal: average - crosses (arrows or lines mtf + alerts) arrow up appears on last closed candle
Money Management
1. Trades are open and closed at candle close (when the signals cannot repaint anymore)
2. Stop Loss Placement: 1.5 * ATR(14) away from the Trade Open Price
3. Take Profit: none (profits are taken either when Trailing stop is hit, or Exit signal is drawn)
4. Trailing Stop Parameters:
1) Trailing Stop activates only after the price has traveled 2*ATR(14) in the direction of the trade i.e.
(Last Candle Close Price - Trade Open Price) >= 2*ATR(14)
2) Trailing stop value/distance = 1.5 * ATR(14)
3) Trailing Stop is adjusted only based on candle close values. Meaning trailing stop is adjusted only once (at the beginning) of every new candle,
and is placed at the following location: Last Candle Close Price - (1.5 * ATR(14))