
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
did some rework on your code so please try this one....not tested ;-)
did some rework on your code so please try this one....not tested ;-)
This has the same errors that I pointed out in a previous post
This has the same errors that I pointed out in a previous post
did not work on those small type errors and it's easy to retype with correct corresponding order type and they do not impact on the OrderSend functions just the printouts, mainly i did a Signal function and a position check and that's the main important functions i had in mind. Here i try to help and instead just complains.....well well have a nice day
First the obvious stuff, you are missing {} (I have put them in and highlighted them). This means that you will get the error reports even when there was no attempt to open an order. That is why last error is 0.
Also you are trying to open a buy and then reporting that a sell has opened
Thanks a ton Keith! It was the missing braces under the if loop. I tested in a short time frame and was able to get it working.
Thanks everyone for helping me out. Appreciate your time and effort.
Regards,
Aj
did not work on those small type errors and it's easy to retype with correct corresponding order type and they do not impact on the OrderSend functions just the printouts, mainly i did a Signal function and a position check and that's the main important functions i had in mind. Here i try to help and instead just complains.....well well have a nice day
I am sorry that you think that I was complaining. I wasn't, I have no reason to.
My comment was intended more for the OP and just to point out that the errors that I had referred to previously had not been fixed in your code.