Termos de Referência
I need an Order Tool with 6 separat funktions. Important each function must work separate. There should be six different functions that are not directly connected with each other.
All Order wich are placed in terminal from this tool must be placed as normal Market Order as would be placed as Market order over Terminal.
TP, SL and other moneymanagment is done by other EA.
EA should manag following currency pairs, which are open in Terminal by other EA or Manual - eurusd, usdjpy, gbpusd, gbpchf, nzdusd, audusd, eurjpy,
Sometimes Broker has on currency an ending eurusd.lmax
This ending .lmax should be inputed in Inputs F7.
About Funktion 6 - this Funktion should not work for all currencies. I want to select them.
Exampel eurusd and gbpusd
And note all fuctions must be set „activ or inactiv“.
1. Function if an TP is reached and
Idicator shows xcandels in other direktion - Partial close should be done
After for example 30 pips profit is reached - function should be activ and
should wait till xcandels come against trend and should then close x percent of
the order
Parameter
Xpips profit is reached
Xcandels - against Trend
xpercent close of Order after Xpips profit ist reached and xcandels
against Trend are done.
For this function I want the same function but choosing other Parameters
a-Xpips profit is reached
a-Xcandels - against Trend
a-xpercent close of Order after Xpips profit ist reached and
xcandels against Trend are done.
2. Function - Close partial if X pips loss is reached and
price comes back (rebound) to a definate Limit pips calculated from entry
price. When now EA comes back (rebound) to Xpips loss than xpercent should be
closed
Parameter
Xpips loss- example 70pips - 70 pips loss is reached - now function
should work
xpips close - 45 pips if now a rebound to 45 pips minus is reached
- EA should close definated % from open Order.
xpercent close 25% so 25% of the order should be closed.
Funktion should only work once!
----------------------------------------------------------------------------------
For this function I want the same function but choosing other Parameters
a-Xpips loss- example 95pips - 95 pips loss is reached - now function
should work
a-xpips close - 95 pips if now a rebound to 65 pips minus is
reached - EA should close definated 25% from open Order.
a-xpercent close 25% so 25% of the order should be closed.
Funktion should only work once!
3. Function - If X pips profit are reacht
SL should be go to xpips over Entry price
Xpips profit - is reached
xpips SL - SL from entry price
--------------------------------------------------
For this function I want the same function but choosing other Parameters
a-Xpips profit - is reached
a-xpips SL - SL from entry price
4. Function change TP after Xcandels in
Trend.
If we have for example a buy order and ther was a down trend below Xpips - when
now xcandels in green comes - based on my Indikator - TP should changed
to Xpips from entry price.
Parameter
Xpips minus - 50 pips - Funktion work only if Order was 50 pips in
Minus
Xcandels form my Heikin Idikator in Trend direction - 8 candels -
after 50 pis loss and Xcandels in positiv trend (for buy green
candels) than TP of Order should be changed.
Xpips TP change to - 105 pips
So if there was an Order 50 pips in minus than EA should wait till 8 candels in
a row green (for a buy order) and place now TP to 105pips
5. Function
EA should reopen normal Market Order - Orders from all traded currencies which are closed in history in a selected pip range (0 to 2 Pips).
Only difference is Order should be placed in the market if two criterias are done:
1. Entry price of Order is xpips better as of original Order. for example 30 pips than market order should be in the market if price is 30 pips better as original entry price of Order and
2. If my Idikator Heikin shows xcandels in Trend.
Than EA should place same order as Market Order.
So If ther is a order closed with 1 pip profit and I have selected pip rance were this EA is working from 1pip to 3 pips.
Now Ea should open an market Order buy or sell - depens on orginal buy or sell order, when the 2 criterias are also done - thats it
Handling of Order is done by original EA or criterieas of this tool.
Parameter:
Pip Range of orders were EA should work - 0 to 2 pips TP EA is just working on Orders which are executed in History within this pip range
There are Two possible open scenario’s if there is a closing in pip range:
Scenario 1
Set function active or inactive
Pips difference from original order example 30 pips - if there was a buy order executed with 1 pips and price was 1.0040 - market Order should be placed if price is better than 1.0010
XCandles to Trend of Order - for example 2 - if there now by an buy orders are 2 green candles and minimum pips difference - EA should place the Market Order.
Scenario 2
Set function active or inactive
Xcandles to Trend – If Indicator Heikin shows after closing Xcandles to Trend of original Order, than Order should be just placed as Market Order
Market Order is not any more activ if Good till time is gone and im Market Price was xpips better as orginal Order price
Order good till - Pending orders are good for x hours - for example 2 hours - after this two hours market order is not anymore activ.
Xpips for example 10pips better as original price - If orginal price for example was in buy Order was 1.0040 and market price goes to 1.0050 than market Order would be not executed in the market - its done
In Chart should shown if EA is waiting actuall Orders which waiting for execution as Market Orders- If good till is done or and if price was better than xpips - information in Chart should be also gone.
Information in Chart of acctuall waiting market Orders.
Lot - currency - time - price were market order would be placed
Please see remaining explanation in - Managment-Tool Txt
Mql4 Parameter in Jorgi-Rash.mq4
and indikator to work with