İş Gereklilikleri
I have few changes in existing EA
The change is just for the First Order Market Order and the First Order Pending Order.
1. Always If Level 1 order is opened in Market (these orders are in Pending Status when First Order is in the Market) the TP of first order should change - New parameter- New TP- Note – this works also for reopend First order (which is next change).
Always if Level 1 orders are opend or alredy open the TP of First Orders does change or used new TP. If Level 1 order are not opend - First order does use normal TP.
2. Always if First order is closed, the order should reoped under two possibilities.
Direct to the same conditions as closed order. That means after closing first order, it will placed direct as pending order with original opening price and original TP - Note: with New TP if Level 1 order is also in the Market
Or placed as Pending, but only if Market price is xpips better than original opening price of closed order. New Parameter Xpips better. If this is active in chart should be written when First Order will be placed as Pending with original limit price.
Example: if we have a First order buy order with 1.2020 which is executed with TP of 1.2040. Xpips better is 5 pips
So Pending buy order, will be placed at 1.2015 with the buy limit 1.2020 and normal TP and SL in sets. Or with new TP if level 1 order is open.
Changes are only work for First Order Market and Pending - all other Orders work as they are. Reopening for First Market and Pending does work as many times than First Market and Pending Order does close
Chart information with limit when Pending order will be placed if Market Price is xpips better
and opening Price (executed in Market) of first order
Opening price of first order - and differenz pips to actual price
Staus first order - in the market Green yes or Red no
Pharameter for First Market and Pending Order
Reopening of First Market and Pending Activ/Inactiv
Xpips - better
New TP - when Level 1 Orders are in the Market
about reopening xpips better
Xpips better is a variable which would allow to determine when the pending order would be created.
Example original opening of order was 1.2020
Xpips better is 1.2015 so for example 5 pips
Pending will be placed in market at market price of 1.2015 with limit of 1.2020 – and if Level 1 is not open with normal TP and if Level 1 is open with new TP.