Coding help - page 373

 
grego:
This post for Mladen,hi,sir, this what i got when i tried to compli expert in meta editor, fisher m11 ea,what does it mean? Thank You!

'Fisher M11 ea.mq4' Fisher M11 ea.mq4 1 1

'stdlib.mqh' stdlib.mqh 1 1

'stderror.mqh' stderror.mqh 1 1

function must return a value Fisher M11 ea.mq4 94 5

variable 'cerrada' not used Fisher M11 ea.mq4 78 8

variable 'price' not used Fisher M11 ea.mq4 77 10

variable 'ticket' not used Fisher M11 ea.mq4 76 7

declaration of 'c' hides global declaration at line 57 Fisher M11 ea.mq4 191 82

variable 'i' not used Fisher M11 ea.mq4 356 18

declaration of 'slippage' hides global declaration at line 60 Fisher M11 ea.mq4 531 12

declaration of 'magic' hides global declaration at line 14 Fisher M11 ea.mq4 532 28

return value of 'OrderSelect' should be checked Fisher M11 ea.mq4 684 4

return value of 'OrderSelect' should be checked Fisher M11 ea.mq4 791 4

not all control paths return a value Fisher M11 ea.mq4 801 1

declaration of 'slippage' hides global declaration at line 60 Fisher M11 ea.mq4 841 12

declaration of 'magic' hides global declaration at line 14 Fisher M11 ea.mq4 842 28

return value of 'OrderSelect' should be checked Fisher M11 ea.mq4 1010 4

not all control paths return a value Fisher M11 ea.mq4 1020 1

return value of 'OrderSelect' should be checked Fisher M11 ea.mq4 1093 4

return value of 'OrderSelect' should be checked Fisher M11 ea.mq4 1187 3

declaration of 'slippage' hides global declaration at line 60 Fisher M11 ea.mq4 1267 11

return value of 'OrderSelect' should be checked Fisher M11 ea.mq4 1401 3

0 error(s), 19 warning(s) 1 20

Those are simply compiler warnings

As far as I see, none is dangerous (the EA should work)

 

not working at all,even in strategy tester not opening trades,tnx anyway for response

 
grego:
not working at all,even in strategy tester not opening trades,tnx anyway for response

That same EA (without any code change - all those warnings on my side too) in visual back test on my terminal :

As you can see, it opened and closed the order (all default parameters used)

Files:
fisher.gif  77 kb
 

yes you right, i see it,but maybe problem with my broker,cause, the minimum lot size considered number (1), in other broker is (00.1) the same amount!?

 
grego:
yes you right, i see it,but maybe problem with my broker,cause, the minimum lot size considered number (1), in other broker is (00.1) the same amount!?

No, it is not the same

When you start the back test switch to journal tab and some error should appear there. Check what error is it

 

2014.10.16 14:38:36.656 EURUSD,M5: 9193 tick events (9293 bars, 18484 bar states) processed within 82687 ms (total time 82875 ms)

2014.10.16 14:38:36.656 2014.10.14 23:59 Cannot open file 'C:\Program Files\Forex Broker Inc MT4 Client Terminal\MQL4\indicators\Fisher M11.ex4' [2]

this is what i got

 
grego:
2014.10.16 14:38:36.656 EURUSD,M5: 9193 tick events (9293 bars, 18484 bar states) processed within 82687 ms (total time 82875 ms)

2014.10.16 14:38:36.656 2014.10.14 23:59 Cannot open file 'C:\Program Files\Forex Broker Inc MT4 Client Terminal\MQL4\indicators\Fisher M11.ex4' [2]

this is what i got

You are missing Fisher M11 indicator (from this post : Forex TSD - forex forum - Download fisher m11.mq4 ) in the indicators folder. Check why is it missing

 

thanks a lot, i will check,but indicator on my chart, anyway i will

 
grego:
thanks a lot, i will check,but indicator on my chart, anyway i will

There must be a "Fisher M11" indicator there (that exact name, it must not be called something else - no addition ti the name nor shorter name)

 

O, thanks a lot now is working good,i want to ask something, is it possible to change the code,i want expert open the trade right away follow the current signal and close the trade as soon as signal changes,and open a new trade follow the new signal? tnx (not to wait for a signal)