Manual entries - automated exits

Questions about MultiCharts and user contributed studies.
palmone
Posts: 34
Joined: 24 Apr 2014
Has thanked: 4 times
Been thanked: 2 times

Manual entries - automated exits

Postby palmone » 23 Jun 2016

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!

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Manual entries - automated exits

Postby Henry MultiСharts » 23 Jun 2016

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

palmone
Posts: 34
Joined: 24 Apr 2014
Has thanked: 4 times
Been thanked: 2 times

Re: Manual entries - automated exits

Postby palmone » 23 Jun 2016

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

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Manual entries - automated exits

Postby Henry MultiСharts » 23 Jun 2016

!From Broker To Strategy MP Synchronizer! is the name of the prebuilt signal that comes with the platform.

palmone
Posts: 34
Joined: 24 Apr 2014
Has thanked: 4 times
Been thanked: 2 times

Re: Manual entries - automated exits

Postby palmone » 23 Jun 2016

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

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Manual entries - automated exits

Postby Henry MultiСharts » 23 Jun 2016

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
palmone, the links I have provided above have answers to all of these questions. Please read them attentively.


Return to “MultiCharts”