Hi all,
why I have to confirm the order like show below? What settings should I change to avoid confirming the order? I want the order is automatically entered
thanks,
tradingest
Transmit Orders
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
Re: Transmit Orders
the code below:
Code: Select all
var: N(50000), MP(0);
MP = marketposition;
inputs: FastLength( 12 ), SlowLength( 26 ), MACDLength( 9 ) ;
variables: var15( 0 ), var30( 0 ), var60( 0 ) ;
var15 = MACD( Close, FastLength, SlowLength ) of data1;
var30 = MACD( Close, FastLength, SlowLength ) of data2;
//var60 = MACD( Close, FastLength, SlowLength ) of data3;
{
var1 = XAverage( var0, MACDLength ) ;
var2 = var0 - var1 ;
}
If MarketPosition_at_Broker = 0
then begin
If var15 > 0 and var30 > 0 //and time >= 0800 and time <= 1800
Then begin
Buy("go_long") N contract next bar at open;
End;
If var15 > 0 and var30 < 0 //and time >= 0800 and time <= 1800
Then begin
sellshort("go_short") N contract next bar at Open;
End;
End;
setdollartrailing(1500);
setprofittarget(600);
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Transmit Orders
Hi,
Please refer to "Require Order Confirmation" at the following page:
https://www.multicharts.com/trading-sof ... to_Trading
Please refer to "Require Order Confirmation" at the following page:
https://www.multicharts.com/trading-sof ... to_Trading