Search found 49 matches

by McGeorge
28 Mar 2022
Forum: MultiCharts
Topic: DLL Creation: Objects not documented in SDK
Replies: 0
Views: 588

DLL Creation: Objects not documented in SDK

Dear Support Team, I found from the .tlh header file generated from PLKit.dll that there are objects that are not members of the IEasyLanguageObject, which are not documented in the SDK. Some of these objects seem to be useful, which are namely IPowerLanguageObject, IPowerLanguageObjectEx, and IPowe...
by McGeorge
28 Mar 2022
Forum: MultiCharts
Topic: VOTE: Support brokers SP Native API(Share Point System)
Replies: 4
Views: 959

Re: VOTE: Support brokers SP Native API(Share Point System)

Hi Mike-2021,

I support the request. Could you provide the link to your request in Project Management so that people can vote for it?

Thanks,
McGeorge
by McGeorge
15 Feb 2022
Forum: MultiCharts
Topic: creating dll question
Replies: 9
Views: 3072

Re: creating dll question

Hi Tammy, The header file provided only contains declaration codes. Per the SDK, there should be two type library header files with .tlh and .tli file name extension. The former should contain declaration codes and the latter should contain implementation codes. These two files combined form the fin...
by McGeorge
09 Feb 2022
Forum: MultiCharts
Topic: "ELCollection"
Replies: 4
Views: 930

Re: "ELCollection"

I haven't ever used any version that is 436kb. There is not anything namely ADE nor there are functions like OpenMap and SaveMap according to the ELCollections' documentation.
by McGeorge
09 Feb 2022
Forum: MultiCharts
Topic: "ELCollection"
Replies: 4
Views: 930

Re: "ELCollection"

Hi Jimmyrakete,

The one that works well on my system is the 622kb version. Would the 436kb version be an older version? If the 622kb version works on your system, then why bother to use the 436kb version?

McGeorge
by McGeorge
06 Feb 2022
Forum: MultiCharts
Topic: creating dll question
Replies: 9
Views: 3072

Re: creating dll question

Hi I follow the example in extension SDK for implementing an external function inside a dll. For my reasons I want to compile with free windows compiler mingw-gcc that can creates essentially a dll with -shared flag. The following line for mingw gcc seems to have a different behavior than Visual St...
by McGeorge
19 Aug 2021
Forum: MultiCharts
Topic: Trading same symbol multiple strategies
Replies: 4
Views: 1556

Re: Trading same symbol multiple strategies

MultiCharts supports trading with several strategies on the same instrument. Each strategy sends orders independently of other strategies, according to the internal chart/auto trading system position. More details are provided in this article . MultiCharts does not execute orders. The orders are ma...
by McGeorge
04 Jun 2021
Forum: MultiCharts
Topic: Edit Exchange - Time Zone
Replies: 3
Views: 983

Re: Edit Exchange - Time Zone

Hi Vlada, If "Symbol Dictionary Sessions" is used in QuoteManager, and custom session (shorter time range than Symbol Dictionary Sessions) is used in Chart Window, will the data that is not within the Symbol Dictionary Sessions time range be abandoned by the download? Or the data is still downloaded...
by McGeorge
25 May 2021
Forum: MultiCharts
Topic: Possible to reference a variable's historical value based on higher data series?
Replies: 2
Views: 622

Re: Possible to reference a variable's historical value based on higher data series?

Thanks Rrams. Welcome comments from other experts who have different views.
by McGeorge
25 May 2021
Forum: MultiCharts
Topic: Turning a warning popup back on [SOLVED]
Replies: 2
Views: 668

Re: Turning a warning popup back on [SOLVED]

See if the preference setting page can help.
MC - Preference Setting - 210526.PNG
(31.74 KiB) Not downloaded yet
by McGeorge
25 May 2021
Forum: MultiCharts
Topic: Possible to reference a variable's historical value based on higher data series?
Replies: 2
Views: 622

Possible to reference a variable's historical value based on higher data series?

Hi there, When a strategy uses two time frames (E.g. 1 min and 5 min) of the same symbol, it is necessary to load two data series of price data into the same chart window. I wrote below codes to test the possibility of referencing a variable's value of each data series in the way like price data (OH...
by McGeorge
26 Apr 2021
Forum: MultiCharts
Topic: Entry at exact time different with tick or minute bar
Replies: 29
Views: 10529

Re: Entry at exact time different with tick or minute bar

Hello, McGeorge! Our developers have considered this feature request and new keywords for returning the tick timestamp/last bar update time might be added in future versions of MultiCharts. Dear MC team, I checked the feature request at https://www.multicharts.com/pm/public/multicharts/issues/MC-15...
by McGeorge
07 Apr 2021
Forum: MultiCharts
Topic: Data Mapping Problem found in QuoteManager:Edit Data
Replies: 3
Views: 760

Re: Data Mapping Problem found in QuoteManager:Edit Data

Hi Tammy, Please see the screenshots attached, which shows the tick data downloaded before the upgrade from MC12 to MC14 R2. You can see that the data in the microseconds and TickID fields was in good order. Although the millisecond data appeared to be calculated by dividing 1000000 microseconds eve...
by McGeorge
31 Mar 2021
Forum: MultiCharts
Topic: Data Mapping Problem found in QuoteManager:Edit Data
Replies: 3
Views: 760

Data Mapping Problem found in QuoteManager:Edit Data

Hi there, I found that tick data was not correctly mapped in QuoteManager:Edit Data. It has happened since I upgraded from MC12 to MC14 R2 (Build 21357). 1) The TickID field does not show valid TickIDs: 1a) Each tick does not show an ascending ID. E.g. “3333”followed by “6666”. 1b) The TickID seems ...
by McGeorge
24 Nov 2020
Forum: MultiCharts
Topic: How to get order ID from broker
Replies: 2
Views: 805

Re: How to get order ID from broker

You can explore keywords in the Dictionary window of the Power Language editor, which lists keywords grouped in different categories. Particularly, you can look into the keywords like EntryName in the Strategy Position category and PosTradeEntryName in the Strategy Position Trades category. They may...
by McGeorge
21 Nov 2020
Forum: MultiCharts
Topic: Mixed Automated and Manual Trading
Replies: 9
Views: 1593

Re: Mixed Automated and Manual Trading

I tried this a few months back: SA (Sales Automation) was turned on for a chart and orders from my signal would be triggered. However, when I attempted to enter a manual order, the signal would stop firing off orders if the manual order was executed. In effect, the automated signal became disabled ...
by McGeorge
20 Nov 2020
Forum: MultiCharts
Topic: Highest -Lowest for regular hours only
Replies: 2
Views: 887

Re: Highest -Lowest for regular hours only

Hello, I have an indicator to plot the Highest and Lowest for a period of bars intraday (minute bars) but needs to calculate only during market hours (9:30 to 4:00) even though I am including Pre-Market data in the chart. Inotherwords the highest and the Lowest for the Input Lookback shall fall wit...
by McGeorge
20 Nov 2020
Forum: MultiCharts
Topic: Ticks Per Point; Tickvalue [SOLVED]
Replies: 2
Views: 811

Re: Ticks Per Point; Tickvalue [SOLVED]

If a price is 0.02, its PriceScale is 1/0.01 = 100 If a price is 0.5, its PriceScale is is 1/0.1 = 10 Take NQ as an example, a BigPointValue is the value of 1 point, which is equivalent to USD20. Since 1 tick is 0.25 point, PriceScale is 100 and MinMove is 25. Ticks Per Point = 1 / (MinMove / PriceS...
by McGeorge
13 Nov 2020
Forum: MultiCharts
Topic: How to draw an arrow placed left or right to a bar [SOLVED]
Replies: 1
Views: 558

Re: How to draw an arrow placed left or right to a bar [SOLVED]

Attribute setting for drawing objects are same by using Power Language and doing it manually. Since you cannot draw such an arrow manually, you cannot draw the same using Power Language.
by McGeorge
10 Nov 2020
Forum: MultiCharts
Topic: How script run with multi data series? [SOLVED]
Replies: 3
Views: 821

Re: How script run with multi data series? [SOLVED]

If the fast data series is Data1 and the slow data series is Data2, then you can add a condition to execute the codes for Data2 such that:

If BarStatus (2) = 2 Then Begin
xxxxxxxx
End;

The first value of 2 refers to Data2, the second value of 2 refers to the closing tick of a bar.
by McGeorge
10 Nov 2020
Forum: MultiCharts
Topic: Manually Selected Rectangle [SOLVED]
Replies: 2
Views: 821

Re: Manually Selected Rectangle [SOLVED]

1) Is there any way to code a workaround that can identify whether a rectangle ID is manually selected? I think it might be possible with an elaborate workaround: if the code keeps track of which rectangles it affects (and thus make active), then when a rectangle becomes active without code having ...
by McGeorge
03 Nov 2020
Forum: MultiCharts
Topic: function compile error [SOLVED]
Replies: 3
Views: 927

Re: function compile error [SOLVED]

I get this error and I can't figure out why the top half of the function, which is the same syntax is ok but the bottom half I get an error at line 15, tried closing editor and reopening but same issue. Any help appreciated. //Time filter function inputs: StartTime(NumericSimple), EndTime(NumericSi...
by McGeorge
01 Nov 2020
Forum: MultiCharts
Topic: Manually Selected Rectangle [SOLVED]
Replies: 2
Views: 821

Manually Selected Rectangle [SOLVED]

Hi there, I am figuring out how to code to identify whether a rectangle ID is manually selected on a chart. My thought was to get the rectangle ID of a rectangle using keyword RectangleGetActive. After a number of times of debugging the coding, I realize that the keyword does not work the way I expe...
by McGeorge
28 Feb 2019
Forum: MultiCharts
Topic: Wrong Backtesting Result [SOLVED]
Replies: 7
Views: 8896

Re: Wrong Backtesting Result [SOLVED]

Hi Anna, It is reasonable for MC to assume that some market orders absorb my buy limit order for 28221 in order for the trade price to fall from 28223 to 28218. However, when I ran the same signal using playback mode (have the time added by 1 in my codes to match the non-intra-bar timestamp first), ...
by McGeorge
28 Feb 2019
Forum: MultiCharts
Topic: Entry at exact time different with tick or minute bar
Replies: 29
Views: 10529

Re: Entry at exact time different with tick or minute bar

Sorry for the delay in responding. Bar Magnifier feature allows detalizing base series resolution into a more detailed one for more precise backesting. Before introducing "Enable access to intra-bar time" only the prices of the detailed data series were available from the script, but one could not ...
by McGeorge
27 Feb 2019
Forum: MultiCharts
Topic: Wrong Backtesting Result [SOLVED]
Replies: 7
Views: 8896

Re: Wrong Backtesting Result [SOLVED]

Dear Multicharts Support team,

Any feedback?

Thanks,
McGeorge
by McGeorge
26 Feb 2019
Forum: MultiCharts
Topic: Wrong Backtesting Result [SOLVED]
Replies: 7
Views: 8896

Re: Wrong Backtesting Result [SOLVED]

Hi TJ,

Version: MultiCharts64 Version 12.0 Release (Build 17586)

It's a 60 Second chart.

Thanks,
McGeorge
by McGeorge
26 Feb 2019
Forum: MultiCharts
Topic: Wrong Backtesting Result [SOLVED]
Replies: 7
Views: 8896

Re: Wrong Backtesting Result [SOLVED]

Not sure why I was not allowed to attach the historical data file. Please see attached.
HSI 1 Tick 1808-Tick-Trade - b.txt
(98 KiB) Downloaded 439 times
by McGeorge
26 Feb 2019
Forum: MultiCharts
Topic: Wrong Backtesting Result [SOLVED]
Replies: 7
Views: 8896

Wrong Backtesting Result [SOLVED]

Hi there, I wrote below codes to backtest how MC treats Limit order on historical data (60 Secs bar). I chose a bar (Date = 1180810, Time = 16:25) that was 28225 on Close and arbitrarily set a Buy Limit price of Close - 4 (28225 - 4 = 28221) , because the first 3 ticks of next bar (Date = 1180810, T...
by McGeorge
14 Nov 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Re: Missing Chart Bars [SOLVED]

We have reproduced this behaviour on our side and forwarded this case to the developers for further analysis.
Hi Svetlana,

Any progress on this?

Thanks,
McGeorge
by McGeorge
11 Oct 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Re: Missing Chart Bars [SOLVED]

McGeorge, please come to the Live Chat Monday - Friday 6.30 am - 1 pm ET to continue the analysis in your environment. Hi Henry, Sorry, I missed your reply. I installed MC 12.0 Build 17002 yesterday and did a test again. Same problem persists. Yes, let's do a live chat and I will show you the probl...
by McGeorge
11 Oct 2018
Forum: MultiCharts
Topic: 1-min chart data mapping problem - Historical vs Real-time data from Interactive Brokers
Replies: 5
Views: 2142

Re: 1-min chart data mapping problem - Historical vs Real-time data from Interactive Brokers

MC does not store real-time ticks (from which it constructs 1-min bars) to QM database by default. You need to "Flush" them to the database manually to be able to observe and compare the timestamps. 1-min bars up to the last full minute come from historical IB servers (and saved), the current "not-...
by McGeorge
10 Oct 2018
Forum: MultiCharts
Topic: 1-min chart data mapping problem - Historical vs Real-time data from Interactive Brokers
Replies: 5
Views: 2142

Re: 1-min chart data mapping problem - Historical vs Real-time data from Interactive Brokers

See this recent thread: https://www.multicharts.com/discussion/viewtopic.php?t=51624 Hi TJ, I am afraid they are two separate issues. Mine is about MC loading historical and real-time data into 1-min chart differently. It is not likely a true data discrepancy between historical and real-time data l...
by McGeorge
10 Oct 2018
Forum: MultiCharts
Topic: 1-min chart data mapping problem - Historical vs Real-time data from Interactive Brokers
Replies: 5
Views: 2142

1-min chart data mapping problem - Historical vs Real-time data from Interactive Brokers

Hi there, I found out a data accuracy problem in the 1-min bar chart during the trading session. The data provider is Interactive Broker. It happens at one of below situations. 1. When I open a chart in the middle of a trading session 2. For some reasons when I need to re-load a chart I looked into ...
by McGeorge
29 Sep 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Re: Missing Chart Bars [SOLVED]

Hi Henry, The question is why multiple "Session Ends" within same day works properly with IB's data but not with ASCII mapping data. It is a reasonable expectation that they both work the same way. Besides, the "every X bar" option is not a proper workaround as there could be times of half-day tradi...
by McGeorge
18 Sep 2018
Forum: MultiCharts
Topic: Plotting Problem for Past Bars
Replies: 1
Views: 919

Plotting Problem for Past Bars

Hi there, I need to plot 2 lines for same day's high and low prices, where the line needs to extend from the latest bar back to the first bar of the day. I used a loop and Plot [x] keyword to modify the plot value of the past bars. The x value is calculated by subtracting the bar number of the first...
by McGeorge
18 Sep 2018
Forum: MultiCharts
Topic: Symbol_CurrentBar Not Working Properly [SOLVED]
Replies: 4
Views: 1492

Re: Symbol_CurrentBar Not Working Properly [SOLVED]

Hi there,

I found out how to fix the problem myself. It was a coding issue. The Date and Time keywords need to be changed to Symbol_Date and Symbol_Time to synchronize bar numbering between the two systems.

McGeorge
by McGeorge
17 Sep 2018
Forum: MultiCharts
Topic: Symbol_CurrentBar Not Working Properly [SOLVED]
Replies: 4
Views: 1492

Re: Symbol_CurrentBar Not Working Properly [SOLVED]

Try this: Variables: ii (1); If Symbol_CurrentBar <> 1 Then Begin If Date [1] <> Date [0] Then Begin Print ("==============================================================="); End; End; Print ("BarNum = ", Symbol_CurrentBar, ", Date/time = ", 19000000+Date, "-", Time, ", ii = ", ii, ", MBB=", MaxBa...
by McGeorge
17 Sep 2018
Forum: MultiCharts
Topic: Symbol_CurrentBar Not Working Properly [SOLVED]
Replies: 4
Views: 1492

Symbol_CurrentBar Not Working Properly [SOLVED]

Hi there, Supposedly, the keyword Symbol_CurrentBar allows coding to reference bars before MaxBarsBack. However, the outcome is not consistent with no apparent reason. Below are two sets of codes showing inconsistent outcome. 1st Set of Code: Variables: ii (1); Print ("BarNum = ", Symbol_CurrentBar,...
by McGeorge
06 Sep 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Re: Missing Chart Bars [SOLVED]

Hello McGeorge, Please check "Session End" only once at the end of your trading sessions, rather than several times throughout the day. It should fix your issue. Hi Henry, I tried your suggestion and saw that it would correct the time mismatch problem on the chart. However, the reason of setting up...
by McGeorge
04 Sep 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Re: Missing Chart Bars [SOLVED]

Hi there, I tried to chart the tick data from an ASCII mapping file to see if I can replicate the problem like I had with minute data. Surprisingly, it missed out the very last 2 sessions of the trading period, even worse than the minute data. Again I attached the screenshots showing the chart perio...
by McGeorge
04 Sep 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Re: Missing Chart Bars [SOLVED]

Please check: 1. Symbol Default Session template 2. Chart Session template Hi there, I have not changed the templates. This problem was found after the recent installation of MC version 12.0. I did not have the problem in the past. For the sake of clarity, you can refer to the screenshots attached,...
by McGeorge
04 Sep 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Re: Missing Chart Bars [SOLVED]

Hi there,

I forgot to mention that the MC version is 12.0 Build 16642.

McGeorge
by McGeorge
04 Sep 2018
Forum: MultiCharts
Topic: Missing Chart Bars [SOLVED]
Replies: 14
Views: 4015

Missing Chart Bars [SOLVED]

Hi there, I tried to chart the minute data from an ASCII mapping file but found missing bars for the very last session of the period. The data is for symbol HSI of the HKFE exchange, where the 1st, 2nd and 3rd sessions of each trading day are 09:15 to 11:59, 13:00 to 16:29, 17:15 to 00:59 of next da...
by McGeorge
27 Jul 2018
Forum: MultiCharts
Topic: Trying to access future data [SOLVED]
Replies: 11
Views: 5374

Re: Trying to access future data [SOLVED]

HI SPTrader, I had no problem getting the codes compiled. The error alert popped up when I inserted the study into the chart. Not sure what you mean by "it might be referencing your computer clock time". In my codes I did not reference computer time. The reserved word that references computer time ...
by McGeorge
27 Jul 2018
Forum: MultiCharts
Topic: Trying to access future data [SOLVED]
Replies: 11
Views: 5374

Re: Trying to access future data [SOLVED]

You're trying to reference Tomorrow's date, today is the 26th. Hi SPTrader, Thanks for your response but the data is historical data on 27/JUNE/2018 not 27/JULY/2018. What is the real reason then? Thanks. It might be referencing your computer clock time. When I changed the date in your code to the ...
by McGeorge
27 Jul 2018
Forum: MultiCharts
Topic: Trying to access future data [SOLVED]
Replies: 11
Views: 5374

Re: Trying to access future data [SOLVED]

You're trying to reference Tomorrow's date, today is the 26th.
Hi SPTrader,

Thanks for your response but the data is historical data on 27/JUNE/2018 not 27/JULY/2018. What is the real reason then?

Thanks.
by McGeorge
26 Jul 2018
Forum: MultiCharts
Topic: Trying to access future data [SOLVED]
Replies: 11
Views: 5374

Re: Trying to access future data [SOLVED]

Hi there, I need a report from a tick bar chart with historical data to see how many ticks there are for each minute. To achieve this, I need to reference the DateTime of next bar (DateTime[-1]) to determine if the current bar is the last tick of the minute. The codes are as below: Variables: TickCo...
by McGeorge
22 Jun 2018
Forum: MultiCharts
Topic: How to dock the Output window? [SOLVED]
Replies: 7
Views: 3103

Re: How to dock the Output window? [SOLVED]

Hi there, I have the same problem. Please see attached screenshots. The problem occurred when I dragged the top edge of the Output window to enlarge it. The window then completely detached from the editor. No matter what I did the best I could was to dock it at the right side of the editor. The wind...

Go to advanced search