Basically as per the title.
I would prefer to open a trade manually, but then keep that trade monitored using prorealtime that would close it automatically based on my parameters. Is this possible at all?
thanks.
You can create alerts based on your conditions (indicators, for instance) and link an order to to the alerts when it is triggered.
close it automatically based on my parameters
You could start an Algo at, for example, 8am and have a Buy Condition as below and also have your exit conditions coded into the Algo.
If Time > 080000 Then
Buy at Market
Endif
ExitCond = a AND b AND c
If LongonMarket AND ExitCond Then
Sell at Market
Endif
As soon as the Algo executes the code, a Buy would execute … in the example above, if Algo started running at 8am.
Autotrading is not aware of trades opened manually, so they can’t be dealt with.
On the contrary, trades opened in autotrading can be modified and closed manually, but in this case the strategy will be stopped immediately, so you will have to take care of those trades yourself (closing, setting a trailing stop etc…), then restart your strategy when needed.
exit conditions coded into the Algo.
After Exit use QUIT and then repeat the process by starting the Algo again as Roberto says above.
QUIT