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
bearnaked,
My son looked the code and his comments to me are below. Please don't take offense about his comment, my goal is to have trust in someone like you before we start. If you don't mind, could you give him a short technical answer? I would appreciate it.
explorer
From my son:
The while loop seems to depend on the value of the "ticket" variable, which has no defined initial value and is never assigned a value (a nasty bug in C-like programs, I'm unclear whether MQL retains this deficiency). At a glance, it should be "ticket = OrderSend..." but that part seems to be left out.
Hi mister Explorer... no problems brother...I would do the same thing if I was to contract somebody.
Let's talk about it!
Frist: The source code is old, and your son is a good programmer, because he saw something WRONG in the code. And his think is correct.
the "ticket" variable needs the value of the OrderSend. The logic is:
var ticket RECEIVE the number of REAL ticket from ordersend function
in mql: ticket = OrderSend(...);
then, we needs to interpret the ticket code.
Second:
This code is unnecessary. Why?
Because the "break"operator terminates the execution of the nearest nested outward "while", "for" or "switch" operator..
In the next enter in the While operator, the system will do the RefreshRates function at the begining of the structure.
the correct structure is:
It's the correct structure.
bearnaked,
My son looked the code and his comments to me are below. Please don't take offense about his comment, my goal is to have trust in someone like you before we start. If you don't mind, could you give him a short technical answer? I would appreciate it.
explorer
From my son:
The while loop seems to depend on the value of the "ticket" variable, which has no defined initial value and is never assigned a value (a nasty bug in C-like programs, I'm unclear whether MQL retains this deficiency). At a glance, it should be "ticket = OrderSend..." but that part seems to be left out.
Why don't you just ask your son to fix your EA?
Why don't you just ask your son to fix your EA?
fxcourt,
Do I REALLY have to justify, why I want to pay somebody? If you HAVE to know that is why.
My son is doing double major AND working full time and have a particularly heavy course load this quarter. He has very little time left. The program that we try to fix would pay back the $1k payment from the 1st trade, so it was decided to look for paid help rather than wait. And because there are a lot of third world countries with a lot of good programmers where $1k is still a good month salary. Now you know.
bearnaked,
We decided not pursue with you this farther based on the idea that the original sample code submitted had problem. And because of the various remarks like above that have nothing to to with solution (I got strongly beat up on another forum), I close this thread and go to Rent-A-Coder or some similar services where I don't have to justify my actions. I think in retrospect, forums are the wrong place to look for paid services.
Thanks all you comments, THIS THREAD IS CLOSED AS FAR AS MY ORIGINAL REQUEST CONCERNED.
explorer
fxcourt,
Do I REALLY have to justify, why I want to pay somebody? If you HAVE to know that is why.
My son is doing double major AND working full time and have a particularly heavy course load this quarter. He has very little time left. The program that we try to fix would pay back the $1k payment from the 1st trade, so it was decided to look for paid help rather than wait. And because there are a lot of third world countries with a lot of good programmers where $1k is still a good month salary. Now you know.
bearnaked,
We decided not pursue with you this farther based on the idea that the original sample code submitted had problem. And because of the various remarks like above that have nothing to to with solution (I got strongly beat up on another forum), I close this thread and go to Rent-A-Coder or some similar services where I don't have to justify my actions. I think in retrospect, forums are the wrong place to look for paid services.
Thanks all you comments, THIS THREAD IS CLOSED AS FAR AS MY ORIGINAL REQUEST CONCERNED.
explorer
Ok explorer..no problem...
I thought that you were looking for the code style(and for this reason, I sent an old(really olde) code ... anyway...
Best regards,
Dan
"I got strongly beat up on another forum"
Explorer, I'd venture that there are quite a few of us on the forum who have built our EAs in exactly the way you describe. Many of us have modularized the functionality you require as building blocks that we frequently reuse as we compose (and I use that word on purpose) our new EAs.
Have you considered that your lack of success in engaging a programmer may be down to your attitude?
After reading your original request and your subsequent responses, my view is that you would not be someone I could work with. And, apart from family members, you may find others think along the same lines.
Now, you can either take that as constructive criticism that may help you to get the job done eventually; or you can get hot under the collar. I really don't mind, but I wish you luck in your quest.
CB
fxcourt,
Do I REALLY have to justify, why I want to pay somebody? If you HAVE to know that is why.
My son is doing double major AND working full time and have a particularly heavy course load this quarter. He has very little time left. The program that we try to fix would pay back the $1k payment from the 1st trade, so it was decided to look for paid help rather than wait. And because there are a lot of third world countries with a lot of good programmers where $1k is still a good month salary. Now you know.
bearnaked,
We decided not pursue with you this farther based on the idea that the original sample code submitted had problem. And because of the various remarks like above that have nothing to to with solution (I got strongly beat up on another forum), I close this thread and go to Rent-A-Coder or some similar services where I don't have to justify my actions. I think in retrospect, forums are the wrong place to look for paid services.
Thanks all you comments, THIS THREAD IS CLOSED AS FAR AS MY ORIGINAL REQUEST CONCERNED.
explorer
Oh thats a shame.