Job finished
Specification
Hi.
I have an EA, the TP/SL system needs to be editied so that it is accurate and does not cause "non-sl/tp" orders to be made.
currently, some orders are placed by the EA without a SL/TP which obviously is risky.
I need the EA's tp/sl system to be looked at and checked so that it workd 100% like I want it to.
the problems are:
1. the emergency tp/sl system does not seem to be working - the EA has a "fall back tp/sl" which is a multiple of the brokers minimum distance so to ensure a TP/SL is entered but two trades in the last day have been placeed with no tp/sl so I need the tp/sl system to be checked.
I have journal and expert data entrys which help explain my problem - I will send these to the winner to help them check and fix the EA.
These are the expert error messages: Please read from the bottom up
2015.09.25 05:45:59.835 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: Alert: Channel breached. SELL entered, #22625151 Open Price = 4530.99 SL = 453319.0 TP = 453019.0
2015.09.25 05:45:59.834 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: Second SL/TP modification failed: 130
2015.09.25 05:45:59.834 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: second modification: 4530.99 4533.19 4530.19
2015.09.25 05:45:59.834 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: second modification (raw): 4530.99 4533.19 4530.19
2015.09.25 05:45:59.834 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: Initial SL/TP failed, replacing with point-based stops
2015.09.25 05:45:59.834 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: sl and/or tp below minimumm distance.
2015.09.25 05:45:59.741 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: first modification: 4530.99 4531.1 4528.73 0.01
2015.09.25 05:45:59.734 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: first modification (raw): 4530.99 4531.1 4528.73
2015.09.25 05:45:59.439 152806premium_cs_coment_2(1) USOIL.NO.SB,M1: open #22625151 sell 1.00 USOIL.NO.SB at 4530.99 ok
and
2015.09.25 08:25:58.410 152806premium_cs_coment_2(1) USDCHF.SB,M1: Second SL/TP modification failed: 130
2015.09.25 08:25:58.410 152806premium_cs_coment_2(1) USDCHF.SB,M1: second modification: 0.9817 0.9821 0.9813
2015.09.25 08:25:58.410 152806premium_cs_coment_2(1) USDCHF.SB,M1: second modification (raw): 0.9817 0.9821 0.9813
2015.09.25 08:25:58.410 152806premium_cs_coment_2(1) USDCHF.SB,M1: Initial SL/TP failed, replacing with point-based stops
2015.09.25 08:25:58.410 152806premium_cs_coment_2(1) USDCHF.SB,M1: sl and/or tp below minimumm distance.
2015.09.25 08:25:58.410 152806premium_cs_coment_2(1) USDCHF.SB,M1: first modification: 0.9817 0.98199 0.98152 1e-005
2015.09.25 08:25:58.410 152806premium_cs_coment_2(1) USDCHF.SB,M1: first modification (raw): 0.9817 0.98199 0.98152
2015.09.25 08:25:58.409 152806premium_cs_coment_2(1) USDCHF.SB,M1: open #22636868 sell 1.00 USDCHF.SB at 0.98170 ok
They both ended in no tp/sl being set, so this issue needs to be fixed.
So the two tasks i need is:
1. check and fix the current fallback TP/SL system so it is 100% working
2. Create a second fallback TP/SL system that is NOT a multiple of the brokers minimum (this is what the first one is) but is instead a simple point based system that i can edit: for example - the 2nd fallback tp/sl system will be a parameter/function that is simple points e.g. i can enter 300 points for TP and 300 points for SL - the functions will be called "fallback tp 2" and "fallback sl 2" and both will need to have an editable number e.g. i will be able to change the points from 300 to anything.
thanks