Search found 7 matches

by drmrboyc
17 Apr 2013
Forum: MultiCharts .NET
Topic: Having trouble with multiple Entry Order objects...
Replies: 3
Views: 2135

Re: Having trouble with multiple Entry Order objects...

I got it set to 999 entries, so I don't believe that is causing issues.

If the code looks like it should be working, are there any other settings that could be causing only the first order to enter/exit?
by drmrboyc
16 Apr 2013
Forum: MultiCharts .NET
Topic: Having trouble with multiple Entry Order objects...
Replies: 3
Views: 2135

Having trouble with multiple Entry Order objects...

I'm trying to manage multiple entries and exits with the following order objects: buy_order_1 = OrderCreator.MarketThisBar(new SOrderParameters(EOrderAction.Buy, "LE_1")); buy_order_2 = OrderCreator.MarketThisBar(new SOrderParameters(EOrderAction.Buy, "LE_2")); sell_order_1 = OrderCreator.MarketThis...
by drmrboyc
15 Apr 2013
Forum: MultiCharts .NET
Topic: Indicator Function in Signal Not Matching Chart Indicator [SOLVED]
Replies: 4
Views: 2778

Re: Indicator Function in Signal Not Matching Chart Indicato [SOLVED]

I was able to get it working! Honestly, I don't know why this made it work; Probably because it forced a recalculation in the signal. All I had to do was "access" the indicator's information at the beginning of CalcBar(). double tmp_ema = slow_ema[0]; I don't use the tmp_ema variable anywhere. Howev...
by drmrboyc
15 Apr 2013
Forum: MultiCharts .NET
Topic: Indicator Function in Signal Not Matching Chart Indicator [SOLVED]
Replies: 4
Views: 2778

Re: Indicator Function in Signal Not Matching Chart Indicato [SOLVED]

So, I followed the wiki page that you showed me. It was of no avail, as the XAverage function in my signal continues to return values that are different from the Mov_Avg_Exponential indicator on the signal's chart. I'm going to try breaking my signal down to just the XAverage function and see if som...
by drmrboyc
15 Apr 2013
Forum: MultiCharts .NET
Topic: Indicator Function in Signal Not Matching Chart Indicator [SOLVED]
Replies: 4
Views: 2778

Re: Indicator Function in Signal Not Matching Chart Indicato [SOLVED]

To check my data, I output the values of the XAverage function when each bar closes: Code: Bars.Status != EBarState.Close // Also tried Bars.Status != EBarState.Open != is the inequality operator. This code will not work as described. Please use the equality operator == to achieve your goal. Thanks...
by drmrboyc
12 Apr 2013
Forum: MultiCharts .NET
Topic: Indicator Function in Signal Not Matching Chart Indicator [SOLVED]
Replies: 4
Views: 2778

Indicator Function in Signal Not Matching Chart Indicator [SOLVED]

Hello, I'm having some trouble matching up two sets of data which should be the same. 1) I have a Signal with uses the function XAverage. It is initialized as such: private XAverage slow_ema; protected override void Create() { // Initialize the EMA. slow_ema = new XAverage(this); } protected overrid...
by drmrboyc
10 Apr 2013
Forum: MultiCharts .NET
Topic: Accessing Indicator from Signal [SOLVED]
Replies: 15
Views: 17265

Re: Accessing Indicator from Signal [SOLVED]

Currently the possible solutions for your inquiry are using Global Variables or duplicating indicator code within each strategy. We understand your arguments and we find them reasonable. We are looking into improving this functionality in the next major update of MultiCharts (ver 9). I'm definitely...

Go to advanced search