Работа завершена
Техническое задание
1. The idea of the strategy is to capture at least one side of the market movement similar to a news trading EA
2. Once the custom time input is reached the EA will place both a sell stop and buy stop with relevant stop loss and take profits for both sides
3. Also want the functionality to set instant orders as an option so it immediately enters both a buy and sell based on the close of the defined time input
4. If one side of the trade hits its take profit before the other order is triggered, the other order will be cancelled (also have the functionality to not have it cancelled)
5. A 2nd time input will be used to stop taking any new trades
Here is a visual view of the trade setups:
This is an example of the functionality and options within the settings & how I'd like them presented:
=====GENERAL====
Magic Number
Strategy Description (Free text)
Trade Comment
Spread Filter (input: only enter trade if spread is below X pips)
====TIMING SETTINGS===
Trade Open Time (input based on close price of inputed time)
Pending Order Expiration In Minutes (input)
Delete Pending Order After Expiration (false/true)
Close Open Orders After Expiration (false/true)
====DAY OF WEEK SETTINGS====
Mon (false/true)
Tue (false/true)
Wed (false/true)
Thu (false/true)
Fri (false/true)
====ORDER SETTINGS====
Trade Direction (Variables: Both Long & Short/Long Side Only/Short Side Only)
Order Type (Variables: Stop Pending Orders/Limit Pending Orders/Instant Orders)
Pending Order Distance (input as pips distance from close of trade open time input)
Delete Opposite Pending Order If 1st Trade Closes In Profit (false/true)
====INITIAL STOP LOSS=====
Buy Side Stop Loss In Pips (input)
Sell Side Stop Loss In Pips (input)
===TAKE PROFIT SETTINGS & STOP TRAILING====
Take Profit (input as pips distance from entry)
Lock Profit (input as pips distance from entry)
Trailing Stop Loss (input as pips distance from lock profit)
====RISK SETTINGS====
Lot Size Method (Variables: Risk % of Balance/Fixed Lot Size)
