![]() ![]() The Risk manager is responsible for risk management. Additionally, he or she can participate in the optimization of the TS. Thus, the Developer can create and implement a TS. What actions does our trading system take and what actions are taken in relation to it? It should be noted that these roles can be played by one or more persons. So, let's try to create a use case diagram for a trading system.Īs input actors, I've chosen the following roles: Developer, System analyst, Risk manager and Administrator. Who said that we are not artists? We draw a picture, starting with general ideas and sketches. But that's the point - moving from general to specific, from abstract to concrete. ![]() You may notice that this type of diagram is fairly general, and reflects the conceptual nature of the TS, rather than its implementation. Relationship is a semantic connection between individual elements of a model. Actors may represent roles played by human users, external hardware, or other subjects. Īn actor "specifies a role played by a user or any other system that interacts with the subject. Use case is a list of steps, typically defining interactions between a role (known in UML as an "actor") and a system, to achieve a goal. define the relationship between the actors and TS versions.It describes the system from the perspective of users. Usually, though not necessarily, analytical work begins with use case diagrams. Once again, the principle of multi-aspects design of trading systems, which is provided by the hierarchy of UML diagrams, contributes to the systematical and comprehensive solution of the TS creation task.Īs the saying goes, a good start is half the battle. Thus, we can move from an abstraction to a specific variant of using any of the diagrams for EA development purposes. Language version 2.2 uses 14 types of UML diagrams.įurther I propose to consider some special cases of the use of UML diagrams. It should also be noted that the UML has its own hierarchy of canonical diagrams (Fig. ![]() The UML architecture can be best described by the " 4+1 architecture view" (Fig. UML diagrams allow to visualize the representation of the designed system from different points of view.Ĭommon mechanisms include: specifications (description of the semantics), adornments (marking the important characteristics of the model), common divisions (abstraction and its instances, interfaces and implementation), extensibility mechanisms (constraints, stereotypes and tagged values).Īrchitecture is responsible for the high-level presentation of the system in its environment. 1).īuilding blocks include the following: entities (the elements of the model), relationships (that bind the things) and diagrams (representing UML models). The UML structure can be displayed in a diagram (Fig. If you are interested in the subject, you can learn the UML tools from the numerous publications that are freely available on the web. Even is an Expert Advisor is large and complex, the universality of UML allows to present its model using diagrams.Īs the developers of UML say, the specific feature of the human perception lies in the fact that a text with images is more easily perceived than a bare text. ![]() How UML can help to create an Expert Advisor? First, the graphics - the problem of multi-aspect modeling can be solved using the graphic images that are available in the language. Moreover, MQL5 belongs to the family of object-oriented languages, and this makes our task easier.įor the modeling purposes, I chose free for non-commercial software Software Ideas Modeler. But, as I see it, we can use its tools to develop a trading system. In general, being a graphical language, UML is used for visual modeling of object-oriented software systems. In this article we will discuss how to develop an Expert Advisor using the universal tool - graphical language UML. Professionals have specific tool that expand the methodology of a trading system developer. However, this approach represents only one aspect of the designer of trading systems - the dynamic behavior of the system. In my article Simulink: a Guide for the Developers of Expert Advisors I suggested modeling an Expert Advisor using dynamic systems. Scientists investigate that which already is Engineers create that which has never been. ![]()
0 Comments
Leave a Reply. |