
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
In the properties window switches.
Then make one intu-parameter in external EA table, where user will set number of needed trailing. Next, write a function with swtch, inside of which are case, with defined defines defines trailing types (numbered from 1 to 100) and after them call of specific trailing function.
How do you read? Please reread the previous page carefully.
How do you read? Read the previous page carefully.
You're not being rude to begin with. I can be pretty rude, too. You'd better get the words out of your mouth. And justify why this decision is bad.
And you're thinking in the same place? It's already been substantiated, on the previous page.
And you're thinking in the same place? It's already been substantiated, on the previous page.
The ratio is not even 1:10, but 1:6. So if there are more than 6 options, then it is appropriate to OOP
You said that the user enables trailing in the external table. Therefore he can only enable one trailing. Then you can use switch instead of if.
You're afraid of failing, so you're rude. Consider it a fiasco then. Better justify it and let's move on.
Anecdote:
Ilya Muromets went to fight the Serpent Gorynych. A day goes by, two days go by, suddenly he sees a mountain and in it a cave.
He looked into the cave and shouted:
- Gorynych the Serpent, come out, we'll fight!
And the answer is silence. He says again:
- Gorynych the Serpent, come out to fight!
Silence. For the third time:
- Gorynych the Serpent, come out and fight!
And then the head appears from behind the mountain:
- Well, let's fight, but why are you shouting?
The ratio is not even 1:10, but 1:6. So, if there are more than 6 variants, then OOP is appropriate.
So describe the mechanism of this solution of yours. I described it specifically. But what you have is not clear. All you keep saying is that your solution is more efficient. When is it more effective? If under those conditions I've described, are you saying that your solution is more efficient than the switch operator?
When it comes to anecdotes, you're clearly more verbose than in proving your point...
So describe the mechanism of this decision of yours. I have described it specifically. What you have is incomprehensible. Only words that your solution is more effective. Under what conditions is it more effective? If it is under those conditions I've described, are you saying that your solution is more efficient than the switch operator?
When it comes to jokes, you're obviously more verbose than in proving your point...
So you don't know what OOP polymorphism is? So why are you spreading your fingers here?