I would like to enter an entry order manually and then use a strategy to manage the exit/stop...
Is this possible? Would appreciate some examples.
Thanks !
Manual order entry then manage it using strategy, possible?
-
- Posts: 38
- Joined: 11 Jun 2006
Hi,
I have been using using your idea - enter the market with a manual entry. Then, let an exit strategy to take care the exit using MC.
I have created a code "SignalGenerator" to create an entry signal to be shown in the chart. The code is: -
Let say if you have manually enter the market with a short order at the time at 150130. Then amend the input of the following:
LongShort = -1
TT = 1500 (at a time before the current bar 1505)
DF=1 (DF=1 to show cleaner chart with signal today if you just want to show the signal today)
DT=1100120 (just let the strategy to show signal on 20 Jan 2010 onwards)
The chart should use "Async Mode" of Auto Trading, with the following checked:
"Show the Assign the Initial Market Position at the Broker dialogue"
Press the "AA" botton on left top conrnor of chart to activate the strategy and assign the position to short XX contracts as your position. Then the exit strategy will take care the exit.
Hope this help!
Sa
I have been using using your idea - enter the market with a manual entry. Then, let an exit strategy to take care the exit using MC.
I have created a code "SignalGenerator" to create an entry signal to be shown in the chart. The code is: -
Say if you are trading 5-min chart on 20 Jan 2010, open a 5-min chart with your exit strategy and the above SignalGenerator applied.Input:LongShort(1),TT(0215),DF(1),DT(1100101);
Variables:DFilter(0),DFilt1(0);
DFilt1=Iff(Date>=DT,1,0);
DFilter=Iff(DF=0,1,DFilt1);
If Time=TT And LongShort=1 And DFilter=1 then Buy this bar at close;
If Time=TT and LongShort<>1 And DFilter=1 then Sell Short this bar at close;
Let say if you have manually enter the market with a short order at the time at 150130. Then amend the input of the following:
LongShort = -1
TT = 1500 (at a time before the current bar 1505)
DF=1 (DF=1 to show cleaner chart with signal today if you just want to show the signal today)
DT=1100120 (just let the strategy to show signal on 20 Jan 2010 onwards)
The chart should use "Async Mode" of Auto Trading, with the following checked:
"Show the Assign the Initial Market Position at the Broker dialogue"
Press the "AA" botton on left top conrnor of chart to activate the strategy and assign the position to short XX contracts as your position. Then the exit strategy will take care the exit.
Hope this help!
Sa
-
- Posts: 38
- Joined: 11 Jun 2006
Space -- exactly what I was looking for -- Thank you!
Hi,
I have been using using your idea - enter the market with a manual entry. Then, let an exit strategy to take care the exit using MC.
I have created a code "SignalGenerator" to create an entry signal to be shown in the chart. The code is: -
Say if you are trading 5-min chart on 20 Jan 2010, open a 5-min chart with your exit strategy and the above SignalGenerator applied.Input:LongShort(1),TT(0215),DF(1),DT(1100101);
Variables:DFilter(0),DFilt1(0);
DFilt1=Iff(Date>=DT,1,0);
DFilter=Iff(DF=0,1,DFilt1);
If Time=TT And LongShort=1 And DFilter=1 then Buy this bar at close;
If Time=TT and LongShort<>1 And DFilter=1 then Sell Short this bar at close;
Let say if you have manually enter the market with a short order at the time at 150130. Then amend the input of the following:
LongShort = -1
TT = 1500 (at a time before the current bar 1505)
DF=1 (DF=1 to show cleaner chart with signal today if you just want to show the signal today)
DT=1100120 (just let the strategy to show signal on 20 Jan 2010 onwards)
The chart should use "Async Mode" of Auto Trading, with the following checked:
"Show the Assign the Initial Market Position at the Broker dialogue"
Press the "AA" botton on left top conrnor of chart to activate the strategy and assign the position to short XX contracts as your position. Then the exit strategy will take care the exit.
Hope this help!
Sa
-
- Posts: 38
- Joined: 11 Jun 2006
Hopefully we will have the ability to add buttons to MC in the futures... just like eSignal for example... here's my own ATM in eSignal which I use to trade... idea is basically to manage the trade from the chart...
- Attachments
-
- ATM Step 1.png
- (16.58 KiB) Downloaded 567 times
-
- My ATM.png
- (59.4 KiB) Downloaded 576 times
-
- My ATM.png
- (59.4 KiB) Downloaded 578 times
-
- Posts: 35
- Joined: 16 Nov 2009
- Contact:
We have built something similar for another platform.
Create an external form to communicate with the strategy running on the chart. The form can have simple entry buttons for manual usage; they will fire the entry long or short and perhaps have a close button as well. Once in the position the strategy running on the chart will handle the exits.
You can build the form with Visual Studio or something similar and use the communication method of your choice.
Regards,
Guy
Create an external form to communicate with the strategy running on the chart. The form can have simple entry buttons for manual usage; they will fire the entry long or short and perhaps have a close button as well. Once in the position the strategy running on the chart will handle the exits.
You can build the form with Visual Studio or something similar and use the communication method of your choice.
Regards,
Guy