작업 종료됨
명시
The ea must repeat all orders until closed manually by a 'close all button' needed on panel
EA must start at specific time / day and enter 'at market' - should be easy to code :)
INPUTS REQUIRED:
Pair ___
- Lot Size____
- Type ____ ( buy / sell)
- Distance between trades in points______
- TP for each trade in points_____
- Maximum spread in Pips _____
- Time and day to start trading ( only start > if NO active trades on terminal)
- Monday 0.00 – 24.00
- Tuesday 0.00 – 24.00
- Wednesday 0.00 – 24.00
- Thursday 0.00 – 24.00
Friday 0,00 – 24.00
+ 'CLOSE ALL TRADES ' BUTTON ON THE FACE OF THE PANEL
MORE DESCRIPTION
- ‘grid style’ with individual orders ( no averaging )
- Each order will be …x..(points) from each other
- Each trade will have his own …x ( points) TP.
- If price ranges ( up and down) the ‘exact order must repeat’ ( same entry at price point, same TP price point, same buy, or sell stop .
- TRADING EXECUTION EXAMPLE
EA opens a SELL trade ( as per inputs – see below)
Entry price was 1.000
1.EA sets a TP for the trade at 100 points down (at 0.900)
2.EA sets next sell stop order is set at 1.100 in case market moves ( up) , against the position.
IF 1 : the TP is triggered (at 0.900) the EA opens another SELL at market with the same parameters.
IF 2. the Sell stop is reached ( at 1.100) the ea opens another SELL trade with the same parameters
To START / INITIATE trading
This is ‘local time’ based. When EA is loaded on the chart it must monitor local time and start trading ONLY ONCE THE SET TIME IS REACHED. EA must only open / start new trading session is there are NO OPEN trades on the terminal. OR after it has been reloaded. To ensure this happens – PLEASE CODE THE EA SO THAT IT REMOVES ITSELF FROM THE CHART ONCE ALL POSITIONS HAVE CLOSED
TO CLOSE ALL POSITIONS
I need a panel with a ‘CLOSE ALL BUTTON’ . If this button is clicked all positions must close instantly. The EA must also remove itself from the chart.
(I will then reload the EA and set the time / day it must restart)
SPREAD FILTER
EA not to open new position if spread exceeds ….x … pips . If price crosses a trigger level during period when spread exceeds this level, EA can open position as soon as spread is below this level again
Name the EA : 'Order' please
Code in for MT5
Thank you
Michael