multichart cannot open more than 1 position?

Questions about MultiCharts .NET and user contributed studies.
maisatomai
Posts: 83
Joined: 18 Mar 2013
Has thanked: 11 times

multichart cannot open more than 1 position?

Postby maisatomai » 30 Mar 2013

I tried code like

if (Bars.Time[0].DayOfWeek.ToString()=="Wednesday")
m_BBandLE.Send();

it only open one position

I tried code like if (Bars.Time[0].DayOfWeek.ToString()=="Wednesday" || Bars.Time[0].DayOfWeek.ToString()=="Thursday")
m_BBandLE.Send();

and it only open one position also




Why is this so? Can I have 2 buy order or can I have 2 buy order at the same time?

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

Re: multichart cannot open more than 1 position?

Postby Henry MultiСharts » 01 Apr 2013

Hello maisatomai,

By default MultiCharts sends one order to open a position into long or short direction. If you want to have multiple orders in the same direction please go to Format->Strategy properties->Properties tab->enable the option "Allow up to NNN entry orders in the same direction".


Return to “MultiCharts .NET”