Search found 14 matches

by gbulle
16 Apr 2015
Forum: MultiCharts .NET
Topic: ChartCustomDraw.ReDraw() not fired from event functions
Replies: 3
Views: 1926

Re: ChartCustomDraw.ReDraw() not fired from event functions

Thanks,

no trick to force a redraw?
I can raise a flag and use a timer ?


Tx
by gbulle
16 Apr 2015
Forum: MultiCharts .NET
Topic: ChartCustomDraw.ReDraw() not fired from event functions
Replies: 3
Views: 1926

ChartCustomDraw.ReDraw() not fired from event functions

Hello, I am developing a custom indicator. ChartCustomDraw.ReDraw() works fine when called from CalcBar() or from OnMouseEvent(). I have a ChartToolBar too containing several buttons; when I click a button I enter into functions like this: private void button1_Clear_Levels(object sender, EventArgs e...
by gbulle
14 Apr 2015
Forum: MultiCharts .NET
Topic: How to intercept order events [SOLVED]
Replies: 3
Views: 2098

Re: How to intercept order events [SOLVED]

Thanks, I see in the MC NET documentation (4.7.5.2.1 Collections elements) something like this: IOrders collection contains the following elements: public struct Order ..... public ETM_OrderAction Action { get; private set; } – action, this is buy or sell public ETM_OrderState State { get; private s...
by gbulle
14 Apr 2015
Forum: MultiCharts .NET
Topic: How to intercept order events [SOLVED]
Replies: 3
Views: 2098

How to intercept order events [SOLVED]

Hello,

I would like to intercept in my strategy all order events (order submitted, order executed,
quantity filled, rejected etc).
How to do? I searched the forum, help files, wiki but unable
to find an example.
Can someone help me please?


Tx
by gbulle
06 Apr 2015
Forum: MultiCharts .NET
Topic: How to draw inside OnMouseEvent [SOLVED]
Replies: 1
Views: 1900

How to draw inside OnMouseEvent [SOLVED]

Hello, I am developing an indicator with CustomDrawing; I have MouseEvents(true) and I enter into this function when I click the mouse: protected override void OnMouseEvent(MouseClickArgs arg) { //here after having clicked } inside OnMouseEvent(MouseClickArgs arg) I would like to draw a rectangle us...
by gbulle
31 Mar 2015
Forum: MultiCharts .NET
Topic: How change from the code the Y price scale? [SOLVED]
Replies: 1
Views: 1669

How change from the code the Y price scale? [SOLVED]

Hello,

I have to increase the Y axis to put custom drawings below the minimum price low I see in the screen and upper the bottom of the screen.
How to do this programmatically?

Thanks
by gbulle
31 Mar 2015
Forum: MultiCharts .NET
Topic: How to detect in the code when the user zooms a chart? [SOLVED]
Replies: 1
Views: 1548

How to detect in the code when the user zooms a chart? [SOLVED]

Hello,

I am developing my CustomDrawing using as template
the sample MyTest_CustomDraw_Modify

How to detect in the code when the user has zoomed the chart?

Thanks
by gbulle
28 Mar 2015
Forum: MultiCharts .NET
Topic: A sample to develop a drawing tool
Replies: 1
Views: 1416

A sample to develop a drawing tool

Hello,

I would like to develop a custom drawing tool (similar to MC fibonacci retracement price lines).
Just to not invent again the wheel can someone send me a c# example so I
do not start from scratch?

Ay help is highly appreciated!!

Thanks
by gbulle
19 Mar 2015
Forum: MultiCharts .NET
Topic: Removing an indicator remove drawn objects [SOLVED]
Replies: 3
Views: 2088

Re: Removing an indicator remove drawn objects [SOLVED]

Thank you very much. I did what you said checking the checkbox but the objects still disappear when removing the indicator; the same if i uncheck. I repeated the process twice to be sure!! Attached my simple test indicator: it draws a letter in a subchart in correspondence of a date plus x days. And...
by gbulle
18 Mar 2015
Forum: MultiCharts .NET
Topic: Removing an indicator remove drawn objects [SOLVED]
Replies: 3
Views: 2088

Removing an indicator remove drawn objects [SOLVED]

Hello, I developed an indicator that draws in a sub chart several text objects: example: ChartPoint bottom = new ChartPoint(start_date, -0.8 ) ITextObject textObj = DrwText.Create(bottom, "A",true ) When I remove the indicator from the chart all text objects are removed too!!. I would like to preser...
by gbulle
14 Mar 2015
Forum: MultiCharts .NET
Topic: MC and TWS charts not matching
Replies: 9
Views: 3830

Re: MC and TWS charts not matching

Hello,

this is what I have understood:

the prices transmitted by IB to the IB API are different from the prices transmitted by IB to TWS charts so an MC chart, collecting data from IB API, is similar but not identical to an IB charts.
by gbulle
12 Nov 2014
Forum: MultiCharts .NET
Topic: Resolution field disabled when importing data
Replies: 1
Views: 1428

Resolution field disabled when importing data

Hello,

I have purchased historical 5 minutes data from CQG.
When importing data the resolution field default to 1 minute but I cannot change
to 5 minute (please look at attached image).

What to do?
Thanks
by gbulle
28 Oct 2014
Forum: MultiCharts .NET
Topic: Power editor does not show anymore the source code
Replies: 1
Views: 1463

Power editor does not show anymore the source code

Hello,

suddenly I see this strange behavior:
as you can see from the attached image I see all my scripts but as soon
as I try to open a script in the editor nothing appear in the window.

What's happened?

Thanks


MC NET: 9.0 Release (Build 10016)

Go to advanced search