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.
Search found 24 matches
- 15 Feb 2014
- Forum: MultiCharts .NET
- Topic: Retrieve Trading Sessions Date & Time
- Replies: 21
- Views: 11296
- 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.
- 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 ...
- 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...
- 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...
- 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...
- 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...
- 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.
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.
- 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...
- 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...
- 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...
- 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...
- 18 Jan 2014
- Forum: User Contributed Studies
- Topic: TradeManager example
- Replies: 10
- Views: 16270
Re: TradeManager example
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-1584Unmanaged orders can only be sent in realtime, they cannot be used in backtesting.
- 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 ...
- 16 Jan 2014
- Forum: MultiCharts .NET
- Topic: Working with PL Editor and Multichart .Net [SOLVED]
- Replies: 2
- Views: 1702
- 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...
- 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...
- 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.
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.
- 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(...
- 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...
- 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...
- 21 Oct 2013
- Forum: MultiCharts .NET
- Topic: LMAX [SOLVED]
- Replies: 9
- Views: 4050
- 19 Oct 2013
- Forum: MultiCharts .NET
- Topic: LMAX [SOLVED]
- Replies: 9
- Views: 4050
- 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.