Tell me how to initiate closing a position in the signals module or trailing module.
When attempting to declare CheckCloseShort/Long:
they are not called
The Check... are called by CExpert class only from the main (root) signal module. And the main signal module "pulls" its advisors by the "rope" Direction.
It's been a while since you've had an update on the master or the classes! I thought there was a desire to create classes for multicurrency.
Is it moving forward or are other priorities at the moment?
The master and its classes are still in "maintenance mode". The classes have already been adapted to create simple multicurrency classes (not ready right now, but I'll put an example here later).
Shouldn't we also discuss the topic of stops and takes in wizard? Setting them in pips is a special case.
For example, some variants are possible:
- take, stop as a percentage of the opening price
- take, stop in volts from the opening price
- take a profit on a specified number of bars from the open bar
may want to remove Stop Loss level (in points), Take Profit level (in points) parameters, and change "Trailing parameters" dialog to "Position management parameters" or, for example, "Position handling parameters"? Make it possible to connect various modules. For example, I need to set a take and stop atp and trailing trail - in n bars after the open price with an additional condition - to close the position after y bars, if the position has not become positive.
Three connected modules will be responsible for that:
It's strange... It's going fine for me.
Let's just decide the following:
1. What server are you connected to.
2. Values of the testing parameters.
1. Alpari-Demo
For some reason in the log of the yen orders with Action instant and the given limits, and for euchre with Action market without limits.
1. Alpari-Demo
For some reason the yen log has orders with Action instant and set limits, while the eu has orders with Action market without limits.
It must be the server settings. There's nothing we can do. The server is someone else's.
To
Модератор
1187
uncleVic
It's been a while since you've had an update on the master or the classes! I thought there was a desire to create classes for multicurrency.
Is it moving or are other priorities at the moment?
Tell me how to initiate closing a position in the signals module or trailing module.
When attempting to declare CheckCloseShort/Long:
they are not called
Tell me how to initiate closing a position in the signals module or trailing module.
When attempting to declare CheckCloseShort/Long:
they are not called
To
It's been a while since you've had an update on the master or the classes! I thought there was a desire to create classes for multicurrency.
Is it moving forward or are other priorities at the moment?
... And the main signal module "pulls" its advisers by the "rope" Direction.
Alternatively, if the main signal module is told that there is an order parameter provider. For example like this:
signal.AddFilter(filter0); signal.General(0);Then it will "pull" OpenLongParams and OpenShortParams.Alternatively, if the main signal module is told that there is an order parameter provider. For example like this:
Then it will "pull" OpenLongParams and OpenShortParams.Shouldn't we also discuss the topic of stops and takes in wizard? Setting them in pips is a special case.
For example, some variants are possible:
- take, stop as a percentage of the opening price
- take, stop in volts from the opening price
- take a profit on a specified number of bars from the open bar
may want to remove Stop Loss level (in points), Take Profit level (in points) parameters, and change "Trailing parameters" dialog to "Position management parameters" or, for example, "Position handling parameters"? Make it possible to connect various modules. For example, I need to set a take and stop atp and trailing trail - in n bars after the open price with an additional condition - to close the position after y bars, if the position has not become positive.
Three connected modules will be responsible for that:
- StopTakeOnAtr
- TrailOnNBars
- ClosePositionIfNoProfit