Search found 8 matches

by bobrovartiom
28 Mar 2016
Forum: MultiCharts .NET
Topic: Limiting number of trades per day in portfolio backtester
Replies: 1
Views: 1782

Limiting number of trades per day in portfolio backtester

Hi all.

Do you know if there is any way I can limit a number of trades per day in my portfolio backtester?

Let's say I have 20 symbols, and I do not want signal to open trades for more them one per day.

Is it possible?

Thanks.
by bobrovartiom
15 Mar 2016
Forum: MultiCharts .NET
Topic: Real usage of VariableObject
Replies: 5
Views: 3188

Re: Real usage of VariableObject

That's true, but I think that problem also happens with the `VariableObject<int>` here. That integer that's tied to the specific bar that's being evaluated by the script is also updated on every real-time tick. The difference is (from how I look at it) that there's no 'carryover effect': every bar ...
by bobrovartiom
15 Mar 2016
Forum: MultiCharts .NET
Topic: VariableObject - why use it?
Replies: 12
Views: 8929

Re: VariableObject - why use it?

bobrovartiom,

replace

plot1.Set(simple_ [0] - simple_var[var 1]);

with

plot1.Set(simple_var [0] - simple_var[1]);
Thanks.
Tried it, but still got an issue (attached).
by bobrovartiom
14 Mar 2016
Forum: MultiCharts .NET
Topic: Real usage of VariableObject
Replies: 5
Views: 3188

Re: Real usage of VariableObject

Can anyone explain why we create m_counter variable as private VariableObject, but not as simple int in this case? It would work the sme way, but why to use something that make code less readable? I am sure there is a reason here and think if I get it so I get the functionality of the VariableObjec...
by bobrovartiom
14 Mar 2016
Forum: MultiCharts .NET
Topic: Newbie question about AverageFC [SOLVED]
Replies: 3
Views: 4337

Re: Newbie question about AverageFC [SOLVED]

JoshM,

Thanks a lot, you are right. Under some reason in VS I see no implementation in these functions, but in PL.NET Editor everything is clear.
by bobrovartiom
13 Mar 2016
Forum: MultiCharts .NET
Topic: Real usage of VariableObject
Replies: 5
Views: 3188

Real usage of VariableObject

Hi all. It seems I am stuck with understanding what for VariableObject and VariableSeries are needed. I meet them in many examples, uderstand their functionality, but do not get why we can not use the simple int (or double, or short - does not matter) insted of them. Here is the code of pre-build Si...
by bobrovartiom
12 Mar 2016
Forum: MultiCharts .NET
Topic: VariableObject - why use it?
Replies: 12
Views: 8929

Re: VariableObject - why use it?

Henry, I am trying to create the indicator to figure out difference between series and object. Trying to use code you sent below. using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; namespace PowerLanguage.Indicator{ public class variable_sample : IndicatorObject { p...
by bobrovartiom
12 Mar 2016
Forum: MultiCharts .NET
Topic: Newbie question about AverageFC [SOLVED]
Replies: 3
Views: 4337

Newbie question about AverageFC [SOLVED]

Sorry for the newbie question but I am just starting to learn Multicharts and can not figure out next thing: I am watching the code Mov_Avg_1_Line study. I see the instance of the class AverageFC private AverageFC m_averagefc1; I understand what it is doing. But when I enter the AverageFC class here...

Go to advanced search