Search found 21 matches

by RonS
28 Jan 2020
Forum: MultiCharts .NET
Topic: Use of VariableSeries<double> vars inside class?
Replies: 5
Views: 2026

Re: Use of VariableSeries<double> vars inside class?

Hi Emmanuel, Thank-you for your response. My upper level C# is a bit rocky and so you are a big help. When looking at the MC64.net Indicator "Mov_Avg_1_Line Indicator I see they have instantiated a Function. I also created a function having many VariableSeries<double> variables inside it. Was able t...
by RonS
17 Jan 2020
Forum: MultiCharts .NET
Topic: Use of VariableSeries<double> vars inside class?
Replies: 5
Views: 2026

Re: Use of VariableSeries<double> vars inside class?

Looks like this is being done in MC.net Functions. This would serve my purpose.
by RonS
17 Jan 2020
Forum: MultiCharts .NET
Topic: Use of VariableSeries<double> vars inside class?
Replies: 5
Views: 2026

Tried. Re: Use of VariableSeries<double> vars inside class?

I tried removing MyVar = new …. from the class. Was thinking when instanciating the class everything would work. E.G.: private MyClass MyClass1; MyClass1 = new MyClass(); //Compiled okay //When I created a class member function that utilized the MyVar VariableSeries<double>. //It had an error. e.g. ...
by RonS
16 Jan 2020
Forum: MultiCharts .NET
Topic: Use of VariableSeries<double> vars inside class?
Replies: 5
Views: 2026

Use of VariableSeries<double> vars inside class?

Newbie in C# here. Hope someone can help. It will be appreciated! I would like to make a class with a VariableSeries<double> inside it. For example: class MyClass { public VariableSeries<double> MyVar; public MyClass() { MyVar = new VariableSeries<double>(); //please see error returned next line //....
by RonS
09 Jan 2020
Forum: MultiCharts .NET
Topic: MC.net DOM does not show Level II but IBKR does. [SOLVED]
Replies: 1
Views: 1349

Re: MC.net DOM does not show Level II but IBKR does. [SOLVED]

IBKR charges an extra $1.00 per month to send the Level II through the API it seems. I needed to turn on:
NASDAQ TotalView-OpenView EDS
besides
NASDAQ TotalView-OpenView
and
NYSE OpenBook.
Now DOM shows the expected rows of Bid / Ask pricing.
by RonS
08 Jan 2020
Forum: MultiCharts .NET
Topic: MC.net DOM does not show Level II but IBKR does. [SOLVED]
Replies: 1
Views: 1349

MC.net DOM does not show Level II but IBKR does. [SOLVED]

Recently I added Market Depth / Level II to my IBKR account. Now have Market Depth on IBKR screens, but am having trouble with the DOM in MC64.net. They are still showing the old Level I single Bid / Ask? The DOM window is narrow and will not expand with the side arrows. Do I have to delete the old ...
by RonS
15 Nov 2019
Forum: MultiCharts .NET
Topic: Control processing order of Indicators and Strategy?
Replies: 5
Views: 2426

Re: Control processing order of Indicators and Strategy?

Hi, Is it possible to postpone a Indicator (or strategy)? For example: CalcBar() { If(get_ContinueFlagGlobalVar()) { //my code... } } It seems after all the historical bars have run in the other Indicators, then the above would not have anything loaded. Put another way, the "other" Indicators would ...
by RonS
06 Nov 2019
Forum: MultiCharts .NET
Topic: Control processing order of Indicators and Strategy?
Replies: 5
Views: 2426

Control processing order of Indicators and Strategy?

Sometime ago I got global variables working, but had sequencing problems. Used the Concurrent Dictionary process which has a certain robustness. I had stepped away from global variables since I had to reload things to completely load everything frequently. Now my uprocessor is bogging down and I am ...
by RonS
11 Oct 2019
Forum: MultiCharts .NET
Topic: Need equivalent to Enviroment.Optimizing for Portfolio.
Replies: 1
Views: 1176

Need equivalent to Enviroment.Optimizing for Portfolio.

I was wondering if there was an equivalent to "Enviroment.Optimizing" for the Portfolio? A Strategy I use in both Charts and Portfolio outputs Display messages i.e.: CCI_Bull, CCI_Bear etc.. When optimizing I inhibit this with "Environment.Opimizing" and it works well. Unfortunately in a Portfolio T...
by RonS
06 Oct 2019
Forum: MultiCharts .NET
Topic: MC64.net Portfolio Walk Forward Optim Problem.
Replies: 1
Views: 1175

MC64.net Portfolio Walk Forward Optim Problem.

I am confused and would appreciate help. I am not getting the expected "Recommended Parameters" line to apply the best settings after Portfolio Trader Walk Forward Optimization. The spreadsheet appears okay. When I run the exact set up from within a chart everything is okay. I stepped away from usin...
by RonS
22 Sep 2019
Forum: MultiCharts .NET
Topic: Using C# Events instead of concurrentDictionary (Global Variables) [SOLVED]
Replies: 2
Views: 1701

Re: Using C# Events instead of concurrentDictionary (Global Variables) [SOLVED]

I set up Global Variables using the Forum concurrentDictionary code and it worked after everything was initialized. Had some issues with the strategy running first and then my indicators, which were supplying the Global Variables. Finally just gave up and am using BarsOfData(n). Backtesting and Opti...
by RonS
12 Sep 2019
Forum: MultiCharts .NET
Topic: Portfolio Trader 2nd Data Series causes error. [SOLVED]
Replies: 1
Views: 1304

Re: Portfolio Trader 2nd Data Series causes error. [SOLVED]

This was fixed by a setting Strategy 1 /Show Properties / Format Settings / "Maximum number of bars study will reference". Needed it be same as the ExecInfo.MaxBarsBack value in the program.
by RonS
10 Sep 2019
Forum: MultiCharts .NET
Topic: Portfolio Trader 2nd Data Series causes error. [SOLVED]
Replies: 1
Views: 1304

Portfolio Trader 2nd Data Series causes error. [SOLVED]

In Portfolio Trader using generic LE and LX strategies everything works. Under Data1 column have AAPL, TQQQ, and PYPL and Optimization is error free. But when I add an index (COMP) in the Data2 column. I get an error during Optimization... Message: Not enough series length. Bars reference value : 50...
by RonS
24 Aug 2019
Forum: MultiCharts
Topic: IB TWS historical data request pacing violation
Replies: 13
Views: 8336

Re: IB TWS historical data request pacing violation

When I restart my computer after a few hours (all during off market hours), I still get a lot of price data loading. This even after all available data is suppose to be stored locally. Every open Workspace is "waiting for data" and get a lot of IBKR pacing violations. Waiting 20 minutes for data tha...
by RonS
19 Jul 2019
Forum: MultiCharts .NET
Topic: Best uprocessor for Optimization.
Replies: 1
Views: 1283

Re: Best uprocessor for Optimization.

Reloaded MC64.net on the Gen 7 i7 laptop and everything works now.
by RonS
14 Jul 2019
Forum: MultiCharts
Topic: Running MultiCharts In A Virtual Machine
Replies: 5
Views: 7546

Re: Running MultiCharts In A Virtual Machine

I would like to speed Optimization on my next computer. Any suggestions to increase the number of cores would be very appreciated. Is there anyway to run multiple mother boards? I assume VMWARE which I know absolutely nothing about. Please see my previous post: https://www.multicharts.com/discussion...
by RonS
14 Jul 2019
Forum: MultiCharts .NET
Topic: Best uprocessor for Optimization.
Replies: 1
Views: 1283

Best uprocessor for Optimization.

AMD's Gen 3 12 core Ryzen 9 3900X has to be way better then my present Gen 2 i7 (8 core). It looks like there will be delays in the AMD Gen 3 16 core uprocessor according to the news I read. I do absolutely no gaming and so am interested in multi-core optimization only. Heard about using old Server ...
by RonS
12 Jun 2019
Forum: MultiCharts .NET
Topic: DrwTrendLine inside Indicator shows in Price Chart (SubChart #1) [SOLVED]
Replies: 1
Views: 1234

Re: DrwTrendLine inside Indicator shows in Price Chart (SubChart #1) [SOLVED]

I set a 3rd variable in the DrwTrendLine.Create argument list to "true". e.g.: DrwTrendLine.Create(new ChartPoint(a,b), new ChartPoint(c.d), true); This causes the trendline to be displayed on the Indicator Chart. Making this Boolean "false" drew the trendline on the Price Chart (SubChart #1)
by RonS
11 Jun 2019
Forum: MultiCharts .NET
Topic: DrwTrendLine inside Indicator shows in Price Chart (SubChart #1) [SOLVED]
Replies: 1
Views: 1234

DrwTrendLine inside Indicator shows in Price Chart (SubChart #1) [SOLVED]

I am having trouble with MC64.net and PL drawing a Trend Line on an Indicator chart. It draws on the Price Chart. I checked the forum and Google etc. and it discusses EL solutions, but no definitive fix for PL. I can not find "TL_New" and think it only exists in Easy language and is not available in...
by RonS
28 Oct 2018
Forum: MultiCharts .NET
Topic: Passing values to external DLLs
Replies: 3
Views: 1729

Re: Passing values to external DLLs

I found the ExamplesUsingPlTypes.sln and so can make some progress now.
Ron
by RonS
27 Oct 2018
Forum: MultiCharts .NET
Topic: Passing values to external DLLs
Replies: 3
Views: 1729

Re: Passing values to external DLLs

I want to pass iSeries parameters to a DLL member. I have HelperMethod added as a Assembly Reference and it works for simple integers. I am unable to find the source code for ExampleUsingPlTypes (that generates the DLL). I will need to pass BarsOfData(n).xxx to the DLL from Indicators and Signals. I...

Go to advanced search