Search found 24 matches

by victoryong
15 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

I search and found a code that was develop by Dru,
http://www.multicharts.com/discussion/v ... sionobject

There are some limitation to the codes, but can be used to retrieve current trading session date & time.
by victoryong
14 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

Thanks. Good to hear about it.
by victoryong
14 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

Yes, you are correct on the solution. I actually gave an invalid example.. lol.. sessionobject's dayofweek and session time is good enough for the logic. The logic expressed above is simple to do. You just need to flag session end boundary by as I had said previously, using either session object or ...
by victoryong
13 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

Hi Henry, MC's limitation wise, I'm speaking in general. But in specific, what irritate me the most is inability to backtest unmanaged orders, that limitation does not make sense the most. I would have expect that being able to code C# we would be able to do much more advance stuff/coding. In this p...
by victoryong
13 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

Hi JoshM, Here is how session object are retrieve, IROList<PowerLanguage.SessionObject> session = Bars.Sessions; Your idea is good, I'm actually working in the same line as your idea but rather than retrieving x days I only want current trading session date/time. Regards, Victor Yong (...) Do you gu...
by victoryong
12 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

;-) Maybe you have gotten use to the limitation of MC .Net and found ways around it? E.g. do you use barsback or do you use date to retrieve information from previous bars? In MC .Net, there is no in-built method to retrieve previous data using dates, users have to use barsback. Typically, users wil...
by victoryong
12 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

Hi MK, Thanks. I'm aware of Bars.Time[0] date. I'm interested in retrieving start trading date and end trading date. The SessionObject definitions include start and end trading time, and it does make sense to have start and end trading date in SessionObject, forex runs 24/5 or 24/7, start and end da...
by victoryong
11 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Re: Retrieve Trading Sessions Date & Time

Hi Henry,
The SessionObjects does not have date, only dayofweek, timespan and a bool to whether it endofsession. where can I retrieve the trading date?


Cheers.
Hello Victor,

In order to get the session settings of the instrument please check the SessionObject Members.
by victoryong
11 Feb 2014
Forum: MultiCharts .NET
Topic: Retrieve Trading Sessions Date & Time
Replies: 21
Views: 11296

Retrieve Trading Sessions Date & Time

Hi, Is there method to retrieve trading session's date & time period for chart resolution lower than daily chart? e.g. Broker's trading data is based on New York trading time, open at 5pm closes next day at 4.59pm. I'm currently at 5min timeframe chart and the bar time is 8pm and date is 11 Feb 2014...
by victoryong
11 Feb 2014
Forum: MultiCharts .NET
Topic: MC.NET with CQG
Replies: 13
Views: 3364

Re: MC.NET IS VERY UNSTABLE

I'm using .NET SE (64 bit) as well. So far its good for me, my broker is LMAX Exchange. Hi :) Strange, I use MC .NET SE (64 bit) from several days as well and everything works perfect and very stable but my broker is LMAX Exchange. Could you tell what version of OS and .NET Framework do you use? Reg...
by victoryong
07 Feb 2014
Forum: MultiCharts .NET
Topic: To get Highest value based on time? [SOLVED]
Replies: 1
Views: 1399

To get Highest value based on time? [SOLVED]

HI there, I'm currently retrieving the highest and lowest price based on Bars.High.Highest and Bars.Low.Lowest. Are there any method/functions that allow me to retrieve the Highest and Lowest price with time instead of barsback? TimeSpan barTime = Bars.TimeValue.TimeOfDay; if (barTime == MyTime) { I...
by victoryong
18 Jan 2014
Forum: MultiCharts .NET
Topic: .Net Programming Guide Feedback
Replies: 2
Views: 1619

Re: .Net Programming Guide Feedback

Hi, Would like to provide some feedback while I go thru the programming guide, 1. State diagram for calcution cycle at chapter 4.1 How Indicators and Signals are Calculated 2. Missing chapter 4.6.8 Commission and slippage. Exist in .pdf copy, but missing in Multichart wiki page. 3. chapter 4.6.10 a...
by victoryong
18 Jan 2014
Forum: User Contributed Studies
Topic: TradeManager example
Replies: 10
Views: 16270

Re: TradeManager example

Unmanaged orders can only be sent in realtime, they cannot be used in backtesting.
I'm raising it as a new feature, hope you guys will consider making it available for backtesting. http://www.multicharts.com/pm/viewissue ... no=MC-1584
by victoryong
16 Jan 2014
Forum: User Contributed Studies
Topic: TradeManager example
Replies: 10
Views: 16270

Re: TradeManager example

Regarding the example, the CalcBar() method is checking for "Environment.IsRealTimeCalc", does that mean that unmanaged orders can only run on realtime data and not on historical data? Or its just for this example? Would like to know before I decide to develop some of my strategy based on unmanaged ...
by victoryong
15 Jan 2014
Forum: MultiCharts .NET
Topic: Working with PL Editor and Multichart .Net [SOLVED]
Replies: 2
Views: 1702

Working with PL Editor and Multichart .Net [SOLVED]

Hi there, I'm using Multicharts .Net C#. I've few questions, 1. I'm building an indicator with a different namespace (NOT PowerLanguage.Indicator) but after compilation without error, PL editor did not show a green check on the file. Tried to insert the study into chart, but ready status shown in "N...
by victoryong
08 Jan 2014
Forum: MultiCharts .NET
Topic: .Net Programming Guide Feedback
Replies: 2
Views: 1619

.Net Programming Guide Feedback

Hi, Would like to provide some feedback while I go thru the programming guide, 1. State diagram for calcution cycle at chapter 4.1 How Indicators and Signals are Calculated 2. Missing chapter 4.6.8 Commission and slippage. Exist in .pdf copy, but missing in Multichart wiki page. 3. chapter 4.6.10 an...
by victoryong
07 Jan 2014
Forum: MultiCharts .NET
Topic: Need some clarification on Calculation Cycle Method
Replies: 2
Views: 1416

Re: Need some clarification on Calculation Cycle Method

Hi Henry,
In the .Net Programming Guide, it would be good if you guys can draw a state diagram of the Calculation Cycle in chapter 4.1, a diagram will give a good picture of the cycle.


Thanks.
by victoryong
06 Jan 2014
Forum: MultiCharts .NET
Topic: Need some clarification on Calculation Cycle Method
Replies: 2
Views: 1416

Need some clarification on Calculation Cycle Method

Hi there, Just started doing coding on MC.Net, I've read thru the programming guide but need some clarification on the calculation cycle, 1. Bar by bar calculation, CalcBar() will be call for each bar, will StartCalc() be called for each bar as well? This means for each bar the cycle are, StartCalc(...
by victoryong
06 Nov 2013
Forum: MultiCharts .NET
Topic: LMAX [SOLVED]
Replies: 9
Views: 4050

Re: LMAX [SOLVED]

If that's the case only for DAILY bars then it's simple (I would be surprised to be the case for others as well without spotting it). One can use 24 hour resolution instead of 1 day on LMAX. I always use it like that because of the timezone settings. Only need to make a custom session template in Q...
by victoryong
22 Oct 2013
Forum: MultiCharts .NET
Topic: LMAX [SOLVED]
Replies: 9
Views: 4050

Re: LMAX [SOLVED]

Thanks. Which MC are you using? The standard MC (easylanguage) or MC.Net? Hi Victoryong, I am using MC with LMAX since almost 2 years and I had no issues worth mentioning because reported issues get fixed in the next release of MC. Data speed and execution seems as fast with MC as their online platf...
by victoryong
21 Oct 2013
Forum: MultiCharts .NET
Topic: LMAX [SOLVED]
Replies: 9
Views: 4050

Re: LMAX [SOLVED]

Wow! Am I the only one having the issue? :-D

I'm currently evaluating MC with LMAX. Can those with using MC-LMAX share their experiences, pros and cons. Would be great to hear it.
by victoryong
19 Oct 2013
Forum: MultiCharts .NET
Topic: LMAX [SOLVED]
Replies: 9
Views: 4050

LMAX [SOLVED]

I've encountered missing candles and/or data when using MC .NET SE with LMAX. Anybody having the same issue?

FYI, MultiCharts and LMAX is currently looking into the subject.
by victoryong
27 Sep 2013
Forum: MultiCharts
Topic: ALMOST perfect integration of MC with Dukascopy
Replies: 128
Views: 65706

Re: ALMOST perfect integration of MC with Dukascopy

I just spoke to the Support Team in Dukascopy. All accounts under Dukascopy are entitle to use JForex API, this includes account size starting with USD100 (Dukascopy Europe). So the minimum is USD100, which makes it very attractive.

Go to advanced search