Specifiche
I´m looking for an EA which is opening after definated candle numbers in a row and trend, on a definated Mode (3 possible modes) a Pending order, which will be then good for xhours.
EA should then restart and wait for the next possible candle numbers in the row.
EA should have a magic number
We have three different order modes on which EA is placing the orders under defenated criteria:
EA should not open Trades on Thursday
Third mode is place orders against trend
Note, on all order modes, orders will be placed as pending orders.
Order must be placed in trend direction.
And a second order, in direction of candle trend but xpips better (but only in the trend direction). If this order xpips better is in market, the first order stays. Only if the normal order (first order) is executed, the order xpips better will be deleted.
So if we have a buy trend, EA is placing on High +xpips a buy order - and a second order buy + xpips better order. So if third order is executed - orders stay under pending till Order will be canceled of hours expire.
If the normal order is executed, the order xpips better should be deleted.
Pharamters for Normal Mode:
Candels in trend - Number
+xpips on first order
Xpips better second order
The first buy order is executed, the second buy order (in this example) will be deleted.
If second order Xpips better is executed - first order stay
Second Mode - EA should also have a Hedge mode - so order will be only open in Hedge direction, with the same second order as in Normal mode and same handling (xpips better) and always only in Hedge direction.
EA is placing if there is xcandles in a row a trend and if there are already orders in Market (only the Hedge volume). EA is placing the hedge volume in open Hedge direction +xpips better or worse on basis of candle before.
Order is good for x hours.
Plus second order first as pending xPips better as in Normal mode. Also if second order is executed the first order stay in Market - but if the first order is executed the Second order will be deleted.
Again Hedge Mode:Note EA does placing a Pending order in Hedge direction (if there is a Hedge - plus the order xpips better) if there are already a volume in Terminal. If nothing in Marke - so no order.
Note - EA is also placing a Order Xpips better. If the order Xpips better is executed - the first order stay in Markegt till god as. If first order is in the Market, the second order must be deleted.
Parameter: same candles in a row - example 2 Candles - EA placing after the definated candles a pending order in direction with fewer Lotsorder in direction of lower order sice (hedge) . Depends on where is fewer lot amount. Placing on high xpips better, or on low xpips worser - on low always a sell and on high always a buy.
Third mode is place against trend
This mode has no SL - does work as normal mode, but places only in the definated Trend an order against trend.
Same as normal mode - EA is placing the order just against trend.
If we have an trend of xcandels- can be definated under sets.
EA is placing on High or low (depends on existing candl trend) xlots against trend of trend candels.
Pending orders are good till - xhours
Example - we have 3 candles logng in a row - on high of 3 candel high EA is placing a sell order
- Closing 20 Percent of the order at xpips TP
- Closing 20 Percent of the order at xpips TP
- Closing 20 Percent of the order at xpips TP
- Closing 20 Percent of the order at xpips TP
Only third mode does have no SL
After first candl trade is done: SL does change to next candle High or Low and EA does also close orders on closing candl before.
Expiere of pending order - xhours
Pharameter:
Mode selection 1, 2 or 3
Hours which will be pending good till -xhours
Mode activafter xcandles - number of candles
Xpips better normal mode - xpips
Xpips which will be calculated on the order high and low - so if low ist - 1.2020 - sell liit will be placed 1.2020 - xpips