Hi guys i've find a way to makes manual entries and after I am into a trade, activate in SA mode (and I assign the market position) the automatic exit criteria.
This work when i'm already in a trade (manual entry->activate SA ->Assign position form the box) .
I would like to run the automatic exits even if I have a pending manual order that is not filled yet.
(activate SA->Manual entry pending order->entry ->strategy understand i'm into a trade->automatic exits).
In this case if SA mode is already on the system doesn't recognize my position.
Is there a way to syncronyze it in the code in order to activate exit criteria when the position is opened (and SA is already on)?
I guess maybe using MarketPosition_at_Broker is the right way but i can't understand how to do it.
Thanks in advance!
Manual entries - automated exits
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Manual entries - automated exits
Hello palmone,
If you want auto trading to manage the position you have opened manually - please refer to the following topics:
viewtopic.php?f=1&t=10817
viewtopic.php?f=16&t=8499#p56745
If you want auto trading to manage the position you have opened manually - please refer to the following topics:
viewtopic.php?f=1&t=10817
viewtopic.php?f=16&t=8499#p56745
Re: Manual entries - automated exits
Hi Henry thanks for the suggestion,
so !From Broker To Strategy MP Synchronizer! is the right answer to the question.
I have no a clear idea on how to put it in the code because simply !From Broker To Strategy MP Synchronizer! generates a a code error
so !From Broker To Strategy MP Synchronizer! is the right answer to the question.
I have no a clear idea on how to put it in the code because simply !From Broker To Strategy MP Synchronizer! generates a a code error
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Manual entries - automated exits
!From Broker To Strategy MP Synchronizer! is the name of the prebuilt signal that comes with the platform.
Re: Manual entries - automated exits
Sorry Henry i'm not sure i have understood. To make it possible i don't have to put in the code
!From Broker To Strategy MP Synchronizer!
So how to activate this option?
Thanks again
!From Broker To Strategy MP Synchronizer!
So how to activate this option?
Thanks again
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Manual entries - automated exits
palmone, the links I have provided above have answers to all of these questions. Please read them attentively.Sorry Henry i'm not sure i have understood. To make it possible i don't have to put in the code
!From Broker To Strategy MP Synchronizer!
So how to activate this option?
Thanks again