Search found 30 matches
- 16 Mar 2014
- Forum: MultiCharts .NET
- Topic: study specific for scanner
- Replies: 4
- Views: 1663
Re: study specific for scanner
Thanks for the tip, I will give that a try.
- 15 Mar 2014
- Forum: MultiCharts .NET
- Topic: study specific for scanner
- Replies: 4
- Views: 1663
Re: study specific for scanner
Hi,
Thanks for your quick reply.
I maybe wrote it a bit weird, I just wanted to optimize my studies for scanner, I have no need to share data between them.
Your answer is very clear on what I was looking for, thanks.
Cheers,
Gerard
Thanks for your quick reply.
I maybe wrote it a bit weird, I just wanted to optimize my studies for scanner, I have no need to share data between them.
Your answer is very clear on what I was looking for, thanks.
Cheers,
Gerard
- 15 Mar 2014
- Forum: MultiCharts .NET
- Topic: study specific for scanner
- Replies: 4
- Views: 1663
study specific for scanner
Hi, Currently I have made several studies and plot them on the instrument window. I can use those study in the scanner, then the plotted value shows in the scanner. Is there a way to optimize it for the scanner to just set the value for a column without plotting. Or is the plotting function just a m...
- 08 Jan 2014
- Forum: MultiCharts .NET
- Topic: get settings from property window by code [SOLVED]
- Replies: 4
- Views: 1965
Re: get settings from property window by code [SOLVED]
Thanks, I'll go try it out.
- 08 Jan 2014
- Forum: MultiCharts .NET
- Topic: get settings from property window by code [SOLVED]
- Replies: 4
- Views: 1965
Re: get settings from property window by code [SOLVED]
Hi Henry, It is not really about only the starting date. Also about which session, default, 24/5 or 24/7. For some of my indicators I do a lot of calculation on history data, and looking for a way to keep those calculations in order to speed up the process when the same data set is accessed more tha...
- 02 Jan 2014
- Forum: MultiCharts .NET
- Topic: get settings from property window by code [SOLVED]
- Replies: 4
- Views: 1965
get settings from property window by code [SOLVED]
Hi,
Is there any way to get the settings from the property window of the instrument by code.
Like the chosen session type, days back, starting date etc... ?
Cheers,
Gerard
Is there any way to get the settings from the property window of the instrument by code.
Like the chosen session type, days back, starting date etc... ?
Cheers,
Gerard
- 20 Dec 2013
- Forum: MultiCharts .NET
- Topic: loading data for 1 day includes last 3 bars previous day [SOLVED]
- Replies: 4
- Views: 2074
Re: loading data for 1 day includes last 3 bars previous day [SOLVED]
Hi Henry,
Thank you, changing the session template to the exchange fixed the problem.
Also tried specifying the from-to range but this gave the same issue.
Cheers,
Gerard
Thank you, changing the session template to the exchange fixed the problem.
Also tried specifying the from-to range but this gave the same issue.
Cheers,
Gerard
- 18 Dec 2013
- Forum: MultiCharts .NET
- Topic: loading data for 1 day includes last 3 bars previous day [SOLVED]
- Replies: 4
- Views: 2074
Re: loading data for 1 day includes last 3 bars previous day [SOLVED]
Hi Henry,
Resolution: 1minute
Timezone: Exchange
System timezone: UTC + 1
Cheers,
Gerard
Resolution: 1minute
Timezone: Exchange
System timezone: UTC + 1
Cheers,
Gerard
- 18 Dec 2013
- Forum: MultiCharts .NET
- Topic: loading data for 1 day includes last 3 bars previous day [SOLVED]
- Replies: 4
- Views: 2074
loading data for 1 day includes last 3 bars previous day [SOLVED]
Hi, When I create a chart with the following settings: Symbol: NFLX Session: 24/5 Data range: 1 Days Back From: 17/12/2013 The first 3 bars I get in my calcbar function are from 16/12/2013. Why is this happening? Is there a way I will only get the bars from 17/12/2013 with the session on 24/5? Or is...
- 18 Dec 2013
- Forum: MultiCharts .NET
- Topic: Include indicator inside signal for different symbol [SOLVED]
- Replies: 2
- Views: 1831
Re: Include indicator inside signal for different symbol [SOLVED]
Hi Henry
Thank you for considering would be very helpfull feature.
I think I can work around it now with the information supplied.
Thanks.
Gerard
Thank you for considering would be very helpfull feature.
I think I can work around it now with the information supplied.
Thanks.
Gerard
- 16 Dec 2013
- Forum: MultiCharts .NET
- Topic: Include indicator inside signal for different symbol [SOLVED]
- Replies: 2
- Views: 1831
Include indicator inside signal for different symbol [SOLVED]
Hi, I am using the AddIndicator function to use an indicator inside my signal. This is for the same symbol and works pretty good. Now I was wondering if it was possible to add an indicator for a different symbol? If not possible, is it then the best way to load data for different symbol using the da...
- 09 Dec 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Hi, Unfortunatly visual studio doesn't catch a stack overflow exception anymore since .net 2.0. If the logic with the indexes was wrong it should as well crash at 10 or 30 days of data. And most of times when an index is out of range an outofrange exception is thrown and the debugger catches it. The...
- 08 Dec 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Hi, I found the line causing the exception, this is: dTmpPrice = historyList[i].bars[j].Close; The strange thing is that, it works well with like 10 or 30 days. But when putting it to 100 days then it crashes on this line. I have tried checking if the bars object existed by putting following line ab...
- 08 Dec 2013
- Forum: MultiCharts .NET
- Topic: Indicator Can't Access Previous Bar Close [SOLVED]
- Replies: 6
- Views: 2198
Re: Indicator Can't Access Previous Bar Close [SOLVED]
You can try this:
Code: Select all
Bars.FullSymbolData.Close[1]
- 05 Dec 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Hi Henry, Thanks for the offer. However I am doing this project for someone else and can't make public any code. This is just an error I am walking into that I didn't encounter before programming C# and it is quite hard to get to the bottom of it. Anyway, thanks for your help so far :). Cheers, Gerard
- 04 Dec 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Hi Henry,
Did the steps exactly but still doesn't create a dump only a log file.
When I run through visual studio, it says it had stack overflow exception but doesn't create a logfile.
Could it be that without visual studio it crashes earlier on another exception?
Cheers,
Gerard
Did the steps exactly but still doesn't create a dump only a log file.
When I run through visual studio, it says it had stack overflow exception but doesn't create a logfile.
Could it be that without visual studio it crashes earlier on another exception?
Cheers,
Gerard
- 02 Dec 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Hi Henry,
There is no dump file created only this log file.
I've added the stack overflow exception with mini dump.
I have looked on google and looks like I set up everything right.
When I attach it to multicharts.exe this is correct?
Cheers,
Gerard
There is no dump file created only this log file.
I've added the stack overflow exception with mini dump.
I have looked on google and looks like I set up everything right.
When I attach it to multicharts.exe this is correct?
Cheers,
Gerard
- 02 Dec 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Hi Henry,
Attached is the mini dump, thank you very much for wanting to take a look at it.
Cheers,
Gerard
Attached is the mini dump, thank you very much for wanting to take a look at it.
Cheers,
Gerard
- 02 Dec 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Hi Henry, Ok, I see. However my problem is a bit, I configured DebugDiag with full dump for stackoverflow. The output I am getting multiple times is: [11/28/2013 7:54:27 PM] First chance exception - 0XE06D7363 caused by thread with System ID: 3588. DetailID = 5 When I look at DetailID5 I get: Detail...
- 28 Nov 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
Re: stackoverflow exception, best way to debug?
Thanks for the program suggestions. I have tried them both and the DebugDiag gives something usefull. Count: 1 Type: System.NullReferenceException Message: Stack: ChartingPlugin.Settings.VolumeProfileSettings.get_Defaults() ChartingPlugin.VolumeProfile.InstrumentProperties(IntPtr) <Module>.CCharting...
- 27 Nov 2013
- Forum: MultiCharts .NET
- Topic: stackoverflow exception, best way to debug?
- Replies: 16
- Views: 4339
stackoverflow exception, best way to debug?
Hi, When debugging my multicharts signal with visual studio sometimes a stackoverflow exception occurs. With small programs this is easily found. However my signal is quite big now and it works properly when I load in 30 or 50 days. But when I load in 100 days a stackoverflow exception occurs and th...
- 25 Nov 2013
- Forum: MultiCharts .NET
- Topic: GenerateStopLoss amount argument [SOLVED]
- Replies: 9
- Views: 3105
Re: GenerateStopLoss amount argument [SOLVED]
Thanks for the replies.
Changing it from PerPosition to PerContract and adding the Math.Abs helped solving the problem.
It is working as expected now.
Changing it from PerPosition to PerContract and adding the Math.Abs helped solving the problem.
It is working as expected now.
- 22 Nov 2013
- Forum: MultiCharts .NET
- Topic: GenerateStopLoss amount argument [SOLVED]
- Replies: 9
- Views: 3105
Re: GenerateStopLoss amount argument [SOLVED]
It is on PerPosition, should this be PerContract to reach my goal?
- 21 Nov 2013
- Forum: MultiCharts .NET
- Topic: GenerateStopLoss amount argument [SOLVED]
- Replies: 9
- Views: 3105
Re: GenerateStopLoss amount argument [SOLVED]
It is not helping. I have made the stop price 1 dollar higher than closeprice.
But this is the result:
It just has a few cents difference.
But this is the result:
It just has a few cents difference.
- 21 Nov 2013
- Forum: MultiCharts .NET
- Topic: GenerateStopLoss amount argument [SOLVED]
- Replies: 9
- Views: 3105
Re: GenerateStopLoss amount argument [SOLVED]
I do the calculation once and then save it in an object property (this.dStopAmount).
Then on every calcbar I do:
Then on every calcbar I do:
Code: Select all
GenerateStopLoss(this.dStopAmount);
- 21 Nov 2013
- Forum: MultiCharts .NET
- Topic: GenerateStopLoss amount argument [SOLVED]
- Replies: 9
- Views: 3105
GenerateStopLoss amount argument [SOLVED]
Hi, I want to set a stoploss according to an input. For example on a session the loss is set to 1 dollar. Then I want to put the stoploss on the Bars price minus the stop loss. I found this page https://www.multicharts.com/trading-software/index.php/4.6.2_Special_Orders describing the formula that c...
- 12 Nov 2013
- Forum: MultiCharts .NET
- Topic: dataloader ticksvalue
- Replies: 3
- Views: 1817
Re: dataloader ticksvalue
Hi, Thanks for your answer. I am loading historic data, I am doing this the same way as in your example. But the loading bars in barData don't have the property TickValue like in the bars you get in the calculatebar function. I need a way to access the TickValue of the historic bars, the TickId prop...
- 11 Nov 2013
- Forum: MultiCharts .NET
- Topic: dataloader ticksvalue
- Replies: 3
- Views: 1817
dataloader ticksvalue
Hi, I am trying to get the ticks value from bars loaded with the dataloader but can't figure out how. In the calculate bar function for the current bar the property "TicksValue" is available. When I load in data with the dataloader, the only property I see is TickId but this holds the value 0. Simpl...
- 25 Oct 2013
- Forum: MultiCharts .NET
- Topic: create order outside create function [SOLVED]
- Replies: 2
- Views: 2068
Re: create order outside create function [SOLVED]
Thanks,
That did the trick, I already used userspecified but I thought you had to pass the value when creating the order.
I have it working now, however not very efficient yet because have to create all orders up front and maybe not using them all.
Cheers,
Gerard
That did the trick, I already used userspecified but I thought you had to pass the value when creating the order.
I have it working now, however not very efficient yet because have to create all orders up front and maybe not using them all.
Cheers,
Gerard
- 24 Oct 2013
- Forum: MultiCharts .NET
- Topic: create order outside create function [SOLVED]
- Replies: 2
- Views: 2068
create order outside create function [SOLVED]
Hi, I want to create an order with the volume value based on user input. However if I try to create the order outside of the create function I get an error that it is only allowed to create an order in the construct function. The problem is that when the construct function is executed the signal is ...