You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Looks horrible to me, but if it makes sense to you then great. I do it like this so the indenting shows where a block is . . .
or do it like this . . .
It looks horrible to me too! haha
Ill play around with your ideas, thanks Raptor.
I think this will help me as well, placing the brackets directly underneath the operator.
that way yours from book
looks horrible to me also ....
2013.03.19 17:37:19 2013.01.30 23:39 BreakOutEA EURUSD,M1: ModifyError = 98 0
2013.03.19 17:37:19 2013.01.30 23:39 BreakOutEA EURUSD,M1: modify #98 buy 0.10 EURUSD at 1.35716 sl: 1.35590 tp: 1.36190 ok
2013.03.19 17:37:19 2013.01.30 23:39 BreakOutEA EURUSD,M1: open #98 buy 0.10 EURUSD at 1.35716 ok
2013.03.19 17:37:19 2013.01.30 19:50 Tester: stop loss #97 at 1.35570 (1.35560 / 1.35586)
2013.03.19 17:37:19 2013.01.30 17:24 BreakOutEA EURUSD,M1: ModifyError = 97 0
2013.03.19 17:37:19 2013.01.30 17:24 BreakOutEA EURUSD,M1: modify #97 buy 0.10 EURUSD at 1.35696 sl: 1.35570 tp: 1.36170 ok
2013.03.19 17:37:19 2013.01.30 17:24 BreakOutEA EURUSD,M1: open #97 buy 0.10 EURUSD at 1.35696 ok
2013.03.19 17:37:19 2013.01.30 15:02 Tester: take profit #96 at 1.35610 (1.35610 / 1.35636)
2013.03.19 17:37:19 2013.01.30 09:11 BreakOutEA EURUSD,M1: ModifyError = 96 0
2013.03.19 17:37:19 2013.01.30 09:11 BreakOutEA EURUSD,M1: modify #96 buy 0.10 EURUSD at 1.35136 sl: 1.35010 tp: 1.35610 ok
I do not ask for anything to come easy to me, but I cant help but feel that it is something silly in here.
No errors, yet it will not move stop to BE (open price). Feeling like a failure haha
I have also moved the brackets around, to check and make sure they are returning correct values.
Would the whole code be beneficial?
I have also moved the brackets around, to check and make sure they are returning correct values.
Would the whole code be beneficial?
ERROR IN CODE
bool result;
has to be
sorry overlooked that
I have made that change as well. No errors are reporting but yet the SL is not being moved after BreakEven.
According to the book this should be working...odd
Still a lot to do
I can't see you did understand the issue you had to find the right fractal bar
.
But first i like to have your attention to https://www.mql5.com/en/forum/138993
your code is not the best way to handle different digit notation Symbols read why 136: error "off quotes" and NormalizeDouble
Also you have placed it in
int start() {
now every tick has to pass it...
you be told before to place it in
.
your tradingtime filter makes your EA is doing nothing then return outside the period to work
if you have trades to manage then they won't .... go breakeven or trailing outside the period to work
.
and can you tell where the open { of this code
is closed......
Still a lot to do
I can't see you did understand the issue you had to find the right fractal bar
.
But first i like to have your attention to https://www.mql5.com/en/forum/138993
your code is not the best way to handle different digit notation Symbols read why 136: error "off quotes" and NormalizeDouble
Also you have placed it in
now every tick has to pass it...
you be told before to place it in
.
your tradingtime filter makes your EA is doing nothing then return outside the period to work
if you have trades to manage then they won't .... go breakeven or trailing outside the period to work
.
and can you tell where the open { of this code
is closed......
Hey Devries sorry it took so long, been working elsewhere.
I fixed the digits, and placed it in the init() , I apologize for not doing that the first time.
As for the
It is located at the end of the code for start()
return (0);
}
}
This is most likely incorrect as well.
The Time Filter does not matter for the coding at the moment, because I took it out and still it did not manage the orders and move the stop to BE.
What do you mean by which fractal? It is taking the correct fractal, which is the most previous fractal filtered by the EMA.
Please show me in the code where exactly ...... that bracket is ending
.
About the fractals....
print out the values and look if you have done it the right way.....
please
I put in the print for both fractals and it is printing out some correct values and a lot of 00. defaults.
2013.03.26 17:45:18 2013.02.27 23:59 Tester: order #111 is closed
2013.03.26 17:45:17 2013.02.01 18:04 BreakOutEA EURUSD,M1: ModifyError = 111 0
2013.03.26 17:45:17 2013.02.01 18:04 BreakOutEA EURUSD,M1: modify #111 sell 0.09 EURUSD at 1.36640 sl: 1.36771 tp: 0.00000 ok
2013.03.26 17:45:17 2013.02.01 18:04 BreakOutEA EURUSD,M1: open #111 sell 0.09 EURUSD at 1.36640 ok
2013.03.26 17:45:17 2013.02.01 18:04 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.3664
2013.03.26 17:45:17 2013.02.01 18:04 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.3664
2013.03.26 17:45:17 2013.02.01 18:04 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.3664
2013.03.26 17:45:17 2013.02.01 18:03 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 18:03 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 18:03 Tester: stop loss #110 at 1.36630 (1.36630 / 1.36661)
2013.03.26 17:45:17 2013.02.01 17:39 BreakOutEA EURUSD,M1: ModifyError = 110 0
2013.03.26 17:45:17 2013.02.01 17:39 BreakOutEA EURUSD,M1: modify #110 buy 0.09 EURUSD at 1.36761 sl: 1.36630 tp: 1.37230 ok
2013.03.26 17:45:17 2013.02.01 17:39 BreakOutEA EURUSD,M1: open #110 buy 0.09 EURUSD at 1.36761 ok
2013.03.26 17:45:17 2013.02.01 17:39 BreakOutEA EURUSD,M1: This Up Fractal is1.3673Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:39 BreakOutEA EURUSD,M1: This Up Fractal is1.3673Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:39 BreakOutEA EURUSD,M1: This Up Fractal is1.3673Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:38 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:38 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:38 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:38 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:37 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:37 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:37 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:36 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:36 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:36 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:35 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:35 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:35 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:35 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:34 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:34 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:34 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:34 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:33 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.367
2013.03.26 17:45:17 2013.02.01 17:33 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.367
2013.03.26 17:45:17 2013.02.01 17:33 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.367
2013.03.26 17:45:17 2013.02.01 17:33 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.367
2013.03.26 17:45:17 2013.02.01 17:32 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:32 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:32 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:31 BreakOutEA EURUSD,M1: This Up Fractal is1.3675Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:31 BreakOutEA EURUSD,M1: This Up Fractal is1.3675Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:31 BreakOutEA EURUSD,M1: This Up Fractal is1.3675Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:31 BreakOutEA EURUSD,M1: This Up Fractal is1.3675Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:30 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:30 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:30 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:29 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is1.367
2013.03.26 17:45:17 2013.02.01 17:28 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:28 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:28 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:27 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:27 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:27 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:27 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:26 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:26 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:26 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:26 BreakOutEA EURUSD,M1: This Up Fractal is0Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:25 BreakOutEA EURUSD,M1: This Up Fractal is1.368Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:25 BreakOutEA EURUSD,M1: This Up Fractal is1.368Down Fractal is0
2013.03.26 17:45:17 2013.02.01 17:25 BreakOutEA EURUSD,M1: This Up Fractal is1.368Down Fractal is0