指定
I would like to have the following done in SlaveEA
1) Integrate “KeepSessionAlive.mq4” as a filter. "KeepSessionAlive.mq4" send an invalid order to the broker to check the continuity of session. When a ping to the broker’s server is send, it returns a number in ms (milliseconds) for the execution speed when the broker receive and execute the order. If this number is more than what is set in the EA, no trade should be place. If it is lower than what is set in the EA, it can place trades.
For example:
KeepSessionAlive = 500
Execution Speed to server = 498ms, EA can place trades
Execution Speed to server = 501ms, EA can not place trades
KeepSessionAlive = 0
Place all trades no matter what the number of milliseconds
EA panel chart display:
LICENSE = OK
ENTRY GAP = x.x pips
LAG = x.x pips
SPREAD = x.x pips
EXECUTION SPEED = xxxx ms <- should be added to the current display
2) CommissionEntry is the offset
to TP. When broker charge $7 per 1 lot, it should calculate the difference and
add to TP.
For example:
CommissionEntry = 7
lotsize = 0.01, TP should be +0.07
lotsize = 0.05, TP should be +0.35
CommissionEntry = 0
No added pips to TP
3) ReverseTrade = true/false
This should be self explanatory
I hope everything is understandable….
Thank you for looking…