Structure rules. Learning how to structure programmes, exploring possibilities, errors, solutions, etc. - page 16
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
As you might expect, everyone has their own structure and understanding of how things should be. ))
No, no and again no!!!!!!!!!!!!!!!! By that logic, a simple strategy flip on a moving average is also MM. Why, it was +1 contract and became -1.
:)
My colleague tried to explain to you how the EA can be conveniently structured (module names are conventional, of course). Instead of playing with terminology (which is not important), try to check this structural division. It is quite convenient and productive.
Picture. The arrows show the movement of information:
Exactly, so I suggest that we stop arguing about this, because we won't come to a consensus anyway. I suggest that we go back to discussing the general principles of programming large projects.
...
Kartinko. The arrows show the movement of information:
That's a much clearer way to look at thoughts. Everything is clear even without words. Otherwise, these endless blah-blah-blah are very difficult to digest sometimes. )) And after the scheme you can ask qualifying questions. I do not have them yet. ))
:)
My colleague tried to explain to you how the EA can be conveniently structured (module names are conventional, of course). Instead of playing with terminology (which is not important), try to check this structural division. It is quite convenient and productive.
The arrows show the movement of information:
That's a much clearer way to think about things. Everything is clear even without words. Otherwise, these endless blah-blah-blahs are very hard to digest sometimes. )) And after the scheme you can ask qualifying questions. I do not have them yet. ))
Here is the answer whether you have to draw a picture to understand the task :)
:)
(The module names are of course relative.) Instead of playing with terminology (which is not important), try to check this structural division. It is quite convenient and efficient.
The arrows show the movement of information:
Where is the trawl there? I take it it's in the MM block, because it needs a directional forecaster.
Or is it still in the market driver? because you need the current pose to trawl.
I would add a volatility predictor and one more block to correct protective stops, namely protective stops because (imho) exit by TP or SL is force majeure for a normal TS.
So that's the answer to whether you need to draw a picture to understand the task :)
Where is the trawl? I think it's in the MM block, isn't it?
or in the market driver? After all, you need the current position for the trawl.
I would add a volatility predictor and one more block to correct protective stops, exactly protective because (imho) exit by TP or SL is force majeure for a normal TS.
Now that we've started drawing schematics, here's my improved one. I hope it will be clearer than the previous one:
BENEFITS
*Thus, the "Exit at the end of trading session" rule, which is universal for all strategies, can be described in the base class. If this rule is set, the base class will call the support method of closing the position at the end of the day instead of calling it once again. And the position will be closed at the right time, even if this is not specified in the basic strategy's rules.
Yeah, I can see that. Only the complexity is not given anywhere, but delegated to the recommendation adjuster and the market driver.
According to this scheme, the adjuster has to dig through the trading history of the TS and understand for it what its actual state is.
The market driver still has to correctly identify the current strategy position and adjust it, and in netting, that's not easy.
:)
Do I have to take your word for it?