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
To reduce the lines is indeed what i want.
And i am sorry that i wasn't clear about that.
Your code can be drastically reduced by using an array
First though, what is the point of all the ok1, ok2 etc? They are intermediate variables that are not used anywhere else
I didn't check, but I think that all trades after the initial trade follow the same logic, so only 1 function is required
Gumrai
thank you for your time.
This is new for me working with array so i try to let the program to run.
again thanks a lot
For some of this code block, where you are trying to see order type, you can also use switch/case logic.