Search found 81 matches

by tradetree
17 Jun 2014
Forum: MultiCharts .NET
Topic: Combining Discretionary Orders and Indicator development
Replies: 1
Views: 1170

Combining Discretionary Orders and Indicator development

I would like to be able to design an indicator that takes advantage of manual order entries. To do this I need to know what the current order status is in the DOM or chart trading. I also need to get a callback when an order is placed, rather than just wait for the start of the next bar. I have no i...
by tradetree
15 Apr 2014
Forum: MultiCharts .NET
Topic: Callback method upon order execution?
Replies: 3
Views: 1643

Re: Callback method upon order execution?

It doesn't do what I thought it would, so let me explain what I need. I want to know when the "GenerateStopLoss" is hit. Currently I have no way of knowing other than inferences. Here is some code to attempt to detect a stop loss execution: In CalcBar(): // I set myTrade.Order when I place a trade, ...
by tradetree
10 Apr 2014
Forum: MultiCharts .NET
Topic: Callback method upon order execution?
Replies: 3
Views: 1643

Callback method upon order execution?

I asked this on the forum awhile back, "What is the callback method upon order execution? I noticed there is OnBrokerStrategyOrderFilled, but is that the main method or is OnBrokerPositionChange?" I have not seen any response to this question. Can someone from MC please answer (or someone who has wr...
by tradetree
31 Jan 2014
Forum: MultiCharts .NET
Topic: Market data freeze
Replies: 10
Views: 2572

Re: Market data freeze

Thanks for the tips. I also came across a study that will tell you when your market data feed has stopped. I don't know where I saw that, as I checked the user submitted area and didn't find it. I generally look at the "count down" of each bar to tell if data is live, or else have a 1 min chart wher...
by tradetree
30 Jan 2014
Forum: MultiCharts .NET
Topic: Market data freeze
Replies: 10
Views: 2572

Market data freeze

This morning I experienced a market data freeze. The connection to Rithmic 01 was valid and green. I even brought a new chart up and the new chart had valid data. But all my existing charts stopped updating bars mid-bar. They are 60 minute bars and the bar ending 10:30am (that starts at 9:30am) just...
by tradetree
23 Jan 2014
Forum: MultiCharts .NET
Topic: Reload from command line [SOLVED]
Replies: 14
Views: 4840

Re: Reload from command line [SOLVED]

You are correct Josh, but the link he put in this post does not match that. But I do now understand that they mean for it to not support the resolution. Check out the link he shared as it still has the resolution in it. There are two places that talk about ".rld", and the second place is still wrong...
by tradetree
22 Jan 2014
Forum: MultiCharts .NET
Topic: Reload from command line [SOLVED]
Replies: 14
Views: 4840

Re: Reload from command line [SOLVED]

Hello tradetree, That Wiki page had incorrect description, it is changed now. Please see the actual list of supported commands for command line here . I have done a lot of testing with every possible combination, and it does not appear to work other than ".rld" reloads the active chart, ".rld glob"...
by tradetree
22 Jan 2014
Forum: MultiCharts .NET
Topic: Reload from command line [SOLVED]
Replies: 14
Views: 4840

Re: Reload from command line [SOLVED]

Is someone working on this? Thanks.
by tradetree
20 Jan 2014
Forum: MultiCharts .NET
Topic: Persistence of primitives if declared within constructor?
Replies: 4
Views: 1796

Re: Persistence of primitives if declared within constructor

"old_power" is a class variable. Not sure what "persistence of primitives" means? This should be working just fine though, if you want to see a value across calls to CalcBar. You are not showing all of the code, however. Where is the declaration of "SignalObject"? Can't really help with too little c...
by tradetree
17 Jan 2014
Forum: MultiCharts .NET
Topic: Reload from command line [SOLVED]
Replies: 14
Views: 4840

Re: Reload from command line [SOLVED]

MultiCharts .NET64 Version 8.8 Release (Build 8365) is my version. From the command line I type, ".rld glob, res=1day". Or from a signal I have ChartCommands.CommandLine(".rld glob, res=1day") I also tried: ChartCommands.CommandLine(".rld glob, name=^GSPC") but it looks from the documentation that t...
by tradetree
16 Jan 2014
Forum: MultiCharts .NET
Topic: Reload from command line [SOLVED]
Replies: 14
Views: 4840

Reload from command line [SOLVED]

Here is a link to the MC help for the reload command from the command line. I have found it does not work as the documentation has stated: https://www.multicharts.com/trading-software/index.php/Reloading_Charts If you type ".rld" into the command line, it will reload the current active chart. If you...
by tradetree
14 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Re: Free Quotes for S&P500 [SOLVED]

Ok, could you check with your software team and see if there is any type of programmatic way to start the reload? All I need is a way to initiate the "reload" from an indicator or signal. I realize this is a long shot, but clearly there is already code in place to take action when the "reload" is d...
by tradetree
10 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Re: Free Quotes for S&P500 [SOLVED]

That is correct. Free Quotes is not a data provider with an API that MultiCharts can subscribe for contiguous data access. Free Quotes data is accessed by downloading an excel file from the website and parsing it. If you need to get the new bars - you need to reload your chart. Ok, could you check ...
by tradetree
10 Jan 2014
Forum: MultiCharts .NET
Topic: GenerateStopLoss
Replies: 1
Views: 1497

GenerateStopLoss

I thought the following code would work for long and short entries. Right now I have a short entry in YG at 1220, and this code created a stop loss entry at 1201.7, where stop_loss_max is 8. This is clearly incorrect. The stop loss for a short position should be above the entry price, not below it. ...
by tradetree
10 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Re: Free Quotes for S&P500 [SOLVED]

Yes reload works. Does that mean that the only way to get daily update of bars is to go to each chart and perform a "reload" on a daily basis?
by tradetree
09 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Re: Free Quotes for S&P500 [SOLVED]

Looks like I resolved this topic prematurely. I was able to load data once, but now it is stuck on 1/7/2014 as the last day. I tried going into the quote manager and "Loading" but it still only went to 1/7/2014. Being that it is now after close of market on 1/9/2014 there should be at least the 1/8/...
by tradetree
08 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Re: Free Quotes for S&P500 [SOLVED]

Henry,
Today it works for me as well! I have no idea what happened. Perhaps yahoo finance was having trouble and it was a coincidence with when I first tried it. Anyway, thanks for the help.
by tradetree
07 Jan 2014
Forum: MultiCharts .NET
Topic: Multi-threading & Semaphores in signals [SOLVED]
Replies: 2
Views: 1861

Multi-threading & Semaphores in signals [SOLVED]

For the sake of software piracy protection, I have a single resource that must be accessed by multiple signals that in the MC environment could be different threads. The way a shared resource is protected in C# is by the use of semaphores. The question I have is if anyone has used semaphores in MC s...
by tradetree
07 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Re: Free Quotes for S&P500 [SOLVED]

(...) I am not looking for ASCII mapping, because then I have to map every day.(....) ASCII mapping settings are remembered, though you do need to update the source file each day (or use a script for that). (Just saying as a side note) Hey Josh, What kind of script? Do you mean one of those scripts...
by tradetree
07 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Re: Free Quotes for S&P500 [SOLVED]

tradetree, With FreeQuotes you can get data only for the symbols that have the option Historical prices->Download to Spreadsheet on their webpage. You can get the data from one of the supported data providers: https://www.multicharts.com/market-data-feeds/ If you have in Metastock - you can load it...
by tradetree
04 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes for S&P500 [SOLVED]
Replies: 16
Views: 5430

Free Quotes for S&P500 [SOLVED]

I have contacted tech support via chat, but don't have the right solution so far. On other platforms, it is possible to connect to free End of Day data feeds like Yahoo indexes. I have found through help with tech support that some things are available that follow the S&P500, like SPY for example, b...
by tradetree
04 Jan 2014
Forum: MultiCharts .NET
Topic: Communicating from MultiCharts.NET with another .NET program [SOLVED]
Replies: 14
Views: 5284

Re: Communicating from MultiCharts.NET with another .NET pro [SOLVED]

Yes, you can use the built in .NET internet API to send data to a website. Include using System.IO; using System.Net; You have to write software to call "System.Net.ServicePointManager" and software on the server to receive. If you are not a software developer this may be a challenge. I do this to m...
by tradetree
02 Jan 2014
Forum: MultiCharts .NET
Topic: Free Quotes Performance report [SOLVED]
Replies: 2
Views: 1777

Re: Free Quotes Performance report [SOLVED]

Hello Tradetree, Strategy Performance Report is available only when you have orders generated by your strategy. If there are no orders generated by the strategy, then the order generation conditions are not met in your code. Please check the strategy/backtesting configuration and debug your code to...
by tradetree
31 Dec 2013
Forum: MultiCharts .NET
Topic: Powerlanguage Reader [SOLVED]
Replies: 2
Views: 2390

Re: Powerlanguage Reader [SOLVED]

Ok, I installed a trial version of regular MC and read the files. Thanks. Hello Tradetree, With MultiCharts .Net you can create a study using C# or VB.Net and export it into a pln file. With regular MultiCharts you can create a study using PowerLanguage and export it into a pla file. Studies from Mu...
by tradetree
29 Dec 2013
Forum: MultiCharts .NET
Topic: Free Quotes Performance report [SOLVED]
Replies: 2
Views: 1777

Free Quotes Performance report [SOLVED]

I am using "Free Quotes" for some long term signal investigations. My signal code runs on the provided data, but I can't get any simulated trades. I know the Free Quotes data can't be used for actual trades, as that would have to come from my broker. But this is not for trading purposes, but simulat...
by tradetree
27 Dec 2013
Forum: MultiCharts .NET
Topic: Powerlanguage Reader [SOLVED]
Replies: 2
Views: 2390

Powerlanguage Reader [SOLVED]

Hi,
I have a .pla file from a vendor and I want to read it so as to manually recode / convert it to .pln. I own MC.NET, so the powerlanguage editor can't import a .pla even to read the list of calls. How can I get this .pla file readable / printed?
by tradetree
19 Dec 2013
Forum: MultiCharts .NET
Topic: Account information
Replies: 4
Views: 1877

Re: Account information

So is there no way to find out within the code how many contracts are being traded? This is a problem for risk management calculations and partial exit strategies. I guess what that would mean is that I'd have to use an input to give the number of contracts, and then use the API within the code to s...
by tradetree
15 Dec 2013
Forum: MultiCharts .NET
Topic: Account information
Replies: 4
Views: 1877

Re: Account information

I think this is now correct: string equity = InitialCapital.ToString() + ", Net:" + NetProfit.ToString(); string status = "Inst: " + Bars.Info.Name.ToString() + ", " + Bars.Info.Resolution.Size.ToString() + " min, Exp: " + Bars.Info.Expiration.ToString() + " Cont: " + Contracts.Default.Contract.ToSt...
by tradetree
15 Dec 2013
Forum: MultiCharts .NET
Topic: Account information
Replies: 4
Views: 1877

Account information

From .NET signal code I'm trying to get several pieces of information. Any parts that I'm missing would be appreciated: Needed as strings: Account name, Account balance, Number of contracts, Base instrument. My attempt at some of these: string equity = InitialCapital.ToString() + ", " + NetProfit.To...
by tradetree
13 Dec 2013
Forum: MultiCharts .NET
Topic: .NET external C# DLL [SOLVED]
Replies: 4
Views: 2327

Re: .NET external C# DLL [SOLVED]

That did it! I am now finally ported to MC. Thanks Josh for the tip.
by tradetree
13 Dec 2013
Forum: MultiCharts .NET
Topic: Merge historical data plus new real-time data [SOLVED]
Replies: 7
Views: 4851

Re: Merge historical data plus new real-time data [SOLVED]

Just for final clarity, what I did was to load my file data into the previous (expired) contract. So the custom futures worked by showing data from the current, front month, then the previous contract which also had all my data. It worked going back many years. Thanks.
by tradetree
13 Dec 2013
Forum: MultiCharts .NET
Topic: ATR (Average True Range) calculation
Replies: 10
Views: 5042

Re: ATR (Average True Range) calculation

I have posted the "_ATR" indicator in the "User Contributed Studies" section. I have tested it, so please let me know if it works out for you as well or if there are any problems. It is visibly different from the Average True Range from MC as it reacts much more quickly to ATR changes.
by tradetree
13 Dec 2013
Forum: User Contributed Studies
Topic: ATR (Average True Range)
Replies: 4
Views: 4594

ATR (Average True Range)

This indicator implements the original and industry standard Average True Range created by J. Welles Wilder, Jr. (June 1978) in New Concepts in Technical Trading Systems. Greensboro, NC: Trend Research. ISBN 978-0-89459-027-6. See page 23, 24 for the formula. It uses the EMA of true range values. Th...
by tradetree
13 Dec 2013
Forum: MultiCharts .NET
Topic: .NET external C# DLL [SOLVED]
Replies: 4
Views: 2327

Re: .NET external C# DLL [SOLVED]

Andrew, Not sure I understand, but here is some information: MC version: MultiCharts .NET64 Version 8.8 Release (Build 8365) DLL: Project properties: Target: x64. Root dir of my MC install: C:/ProgramFiles/MultiCharts.NET64 I put the dll in the root dir. I then put a "using DLLname" at the top of th...
by tradetree
12 Dec 2013
Forum: MultiCharts .NET
Topic: .NET external C# DLL [SOLVED]
Replies: 4
Views: 2327

.NET external C# DLL [SOLVED]

I have found a great deal about external DLL's for regular Multicharts, but nothing on .NET? I have a C# dll ready to be included into my .NET 64 study. How is this handled? I put the dll in the MultiCharts.NET64 program folder along with other dlls and tried to use a "using" directive, but it failed.
by tradetree
12 Dec 2013
Forum: MultiCharts .NET
Topic: Custom Criteria Optimization [SOLVED]
Replies: 10
Views: 3729

Re: Custom Criteria Optimization [SOLVED]

tradetree, probably you have missed the How Indicators and Signals are Calculated section of our Programming guide that repeats this warning multiple times ;-) Well I mentioned in my post that I had not seen the implications of the Create method until hitting the optimizer problems. Even after re-r...
by tradetree
12 Dec 2013
Forum: MultiCharts .NET
Topic: Merge historical data plus new real-time data [SOLVED]
Replies: 7
Views: 4851

Re: Merge historical data plus new real-time data [SOLVED]

I am confused about the custom futures contract. I have created one, but my thinking was that I was creating a pail and then I'd tell it the list of source to fill the pail with. But there is no mechanism to do this. So I understand the non-custom contract path (where there is an existing brokers co...
by tradetree
12 Dec 2013
Forum: MultiCharts .NET
Topic: Custom futures alert messages [SOLVED]
Replies: 2
Views: 1843

Re: Custom futures alert messages [SOLVED]

Thanks. I did the symbol mapping and I even placed a trade in a live account (not intentionally, but that is another story). All is good now. :-)
by tradetree
12 Dec 2013
Forum: MultiCharts .NET
Topic: Custom futures alert messages [SOLVED]
Replies: 2
Views: 1843

Custom futures alert messages [SOLVED]

I am creating "custom futures" that are composed of historical data from external import and then the front-month futures contracts. Here is the documentation on custom futures: https://www.multicharts.com/trading-software/index.php/Custom_Futures At the end it states, "If there are no futures symbo...
by tradetree
12 Dec 2013
Forum: MultiCharts .NET
Topic: ATR (Average True Range) calculation
Replies: 10
Views: 5042

Re: ATR (Average True Range) calculation

Fair enough regarding being polite, but I anticipated that it would be an up-hill battle to get the official and industry standard ATR accepted by MC. I was a bit stressed with the apparent lack of interest in the correct formula. I don't have a problem with anyone challenging any of my assumptions,...
by tradetree
11 Dec 2013
Forum: MultiCharts .NET
Topic: Custom Criteria Optimization [SOLVED]
Replies: 10
Views: 3729

Re: Custom Criteria Optimization [SOLVED]

I found the problem! This is actually really important and I'd suggest a review of the programmers guide documentation. When I read about the Create method, it stated, "The constructor and the Create() method for study classes will be executed once when a study is selected, now indicators will creat...
by tradetree
11 Dec 2013
Forum: MultiCharts .NET
Topic: Custom Criteria Optimization [SOLVED]
Replies: 10
Views: 3729

Re: Custom Criteria Optimization [SOLVED]

Henry, That didn't solve it, but I'm getting closer to isolating it. I am still not sure if it is a thread-safe issue or an initialization issue. What I know is that my code gets the identical inputs (CalcBar bar data) during optimization as during regular running. But my C# code produces different ...
by tradetree
10 Dec 2013
Forum: MultiCharts .NET
Topic: Custom Criteria Optimization [SOLVED]
Replies: 10
Views: 3729

Re: Custom Criteria Optimization [SOLVED]

Henry, I had a thought. I did some tests and read more details in the Programmers Guide. I think the problem I'm having is related to multiple threads during optimization. The Guide says that it is possible to turn off multi-threading. On page 47 it says, "Several strategy instances are created in p...
by tradetree
10 Dec 2013
Forum: MultiCharts .NET
Topic: Custom Criteria Optimization [SOLVED]
Replies: 10
Views: 3729

Re: Custom Criteria Optimization [SOLVED]

I have some new information about the symptoms. What I found is that after a few optimization runs, I get into a state where the original study is no longer functioning. I then find if I rebuild the study in the editor it will clear it up. Another symptom is that sometimes it stops printing out the ...
by tradetree
09 Dec 2013
Forum: MultiCharts .NET
Topic: Custom Criteria Optimization [SOLVED]
Replies: 10
Views: 3729

Re: Custom Criteria Optimization [SOLVED]

Henry, The problem I face is that I'm a professional system developer. My studies are proprietary and I can't afford to take a chance with sharing them, even though I'm a partner with Multicharts. I would have to figure out how to reproduce the problem with a "faked" version of the study. If I can f...
by tradetree
09 Dec 2013
Forum: MultiCharts .NET
Topic: ATR (Average True Range) calculation
Replies: 10
Views: 5042

Re: ATR (Average True Range) calculation

It is page 23 in "J. Welles Wilder, Jr. (June 1978). New Concepts in Technical Trading Systems. Greensboro, NC: Trend Research. ISBN 978-0-89459-027-6". He calculates it based on a 7 period ATR, so it is the EMA for 7 periods in his example. The period can be kept at 7 or any other integer greater t...
by tradetree
09 Dec 2013
Forum: MultiCharts .NET
Topic: ATR (Average True Range) calculation
Replies: 10
Views: 5042

Re: ATR (Average True Range) calculation

Josh, Thanks for pointing that out, but there is a reference in the wiki, "J. Welles Wilder, Jr. (June 1978). New Concepts in Technical Trading Systems. Greensboro, NC: Trend Research. ISBN 978-0-89459-027-6". Also, I have a platform that has it correct, so I know the calculation exactly. My post wa...
by tradetree
08 Dec 2013
Forum: MultiCharts .NET
Topic: stackoverflow exception, best way to debug?
Replies: 16
Views: 4255

Re: stackoverflow exception, best way to debug?

I do a lot of programming in C# for several trading platforms. I am surprised at how much trouble it is causing you because usually I can run in VStudio until it hits an exception. With code analysis and information from memory dumps and indexes I usually find a bad index or other pointer going out ...
by tradetree
08 Dec 2013
Forum: MultiCharts .NET
Topic: Custom Criteria Optimization [SOLVED]
Replies: 10
Views: 3729

Custom Criteria Optimization [SOLVED]

I have spent years optimizing strategies on other platforms. I therefore have extensive knowledge about optimization criteria, Monte Carlo simulations etc. I can't for the life of me figure out what is going on with the MC optimizer. I am open to seeing how I could be using it incorrectly, but so fa...
by tradetree
08 Dec 2013
Forum: MultiCharts .NET
Topic: ATR (Average True Range) calculation
Replies: 10
Views: 5042

Re: ATR (Average True Range) calculation

It is fascinating that even when I post that the ATR is wrong, people post back that it is right! Your post has no reliable information. Ok, so you say, "if you look at the formula it is a standard average". Here is their formula: ATR[t] = ( ATR[t-1] x (n-1) + TR[t] ) / n. This is the EMA!!! Now I'm...
by tradetree
07 Dec 2013
Forum: MultiCharts .NET
Topic: ATR (Average True Range) calculation
Replies: 10
Views: 5042

ATR (Average True Range) calculation

I have been porting an algorithm from another platform, and it contained the ATR. I discovered that Multicharts implementation of ATR is incorrect. I will show a simple example below that uses a 10 bar ATR. The ATR is made up of True Range values, where the final value is an EMA of the True Range va...
by tradetree
07 Dec 2013
Forum: MultiCharts .NET
Topic: Point value for futures contracts [SOLVED]
Replies: 2
Views: 1858

Re: Point value for futures contracts [SOLVED]

I created a new chart and added the instrument fresh and it worked. But now I've found the AverageTrueRange is calculated incorrectly. I'll start a new thread to capture that.
by tradetree
07 Dec 2013
Forum: MultiCharts .NET
Topic: Point value for futures contracts [SOLVED]
Replies: 2
Views: 1858

Point value for futures contracts [SOLVED]

The Strategy Performance Report is wrong because it is using the wrong "point value" for the futures contract. I tried to manually override the values by going to QuoteManager and changing the settings to "Use Custom Settings". The instrument is the TF and here is the contract specification: Tick si...
by tradetree
03 Dec 2013
Forum: MultiCharts .NET
Topic: Interfaces vs Objects [SOLVED]
Replies: 6
Views: 2616

Re: Interfaces vs Objects [SOLVED]

Thanks for the offer. Right now I've muddled through most issues, but when one comes up I'll be sure to ask. The thing I'm working on right now is how to get data from NT into MC. I am struggling with the expected CSV format of each field. Here is the C# code in NT: string format = "u"; sw.WriteLine...
by tradetree
26 Nov 2013
Forum: MultiCharts .NET
Topic: Merge historical data plus new real-time data [SOLVED]
Replies: 7
Views: 4851

Merge historical data plus new real-time data [SOLVED]

I have some data to be imported into Multicharts. When I import data into Multicharts (MC), I have to give it an instrument name. But then I want to merge new real-time data with this old data to form the overall continuous contract. For example, I want to use 6 years of TF continuous contract data ...
by tradetree
26 Nov 2013
Forum: MultiCharts .NET
Topic: Interfaces vs Objects [SOLVED]
Replies: 6
Views: 2616

Re: Interfaces vs Objects [SOLVED]

When you evaluate NT and MC keep in mind what you can't find out about NT until you own it: robustness. MC is far better, it just doesn't have the documentation. This surprises me, because documentation is not very expensive to create. I know, as I'm in the software industry.
by tradetree
22 Nov 2013
Forum: MultiCharts .NET
Topic: CancelOrder [SOLVED]
Replies: 2
Views: 2367

CancelOrder [SOLVED]

I am creating a Stop order and need to be able to cancel it at my own decision point in Signals code. Here is my entry setup in "Create": m_EnterLongStop = OrderCreator.Stop( new SOrderParameters(Contracts.Default, "LongStop", EOrderAction.Buy )); And my entry in CalcBars: m_EnterLongStop.Send( entr...
by tradetree
18 Nov 2013
Forum: MultiCharts .NET
Topic: StopLoss order cancellation
Replies: 1
Views: 1422

StopLoss order cancellation

I have read the Programmers Guide for Stop handling and I've looked elsewhere for Stop order information and can't find information on how Stop orders are handled when a position closes? I know how to initiate a Stop order. The question is if a Stop order is automatically cancelled when the underlyi...
by tradetree
18 Nov 2013
Forum: MultiCharts .NET
Topic: Input Arguments
Replies: 4
Views: 1811

Re: Input Arguments

Can someone from MC respond to this open question? Input args are not working.
by tradetree
18 Nov 2013
Forum: MultiCharts .NET
Topic: MaxBarsBack and ICalculationInfo [SOLVED]
Replies: 5
Views: 3435

Re: MaxBarsBack and ICalculationInfo [SOLVED]

Your points cover the issue quite well within the constraints of using MC data objects. I also solved it another way and we'll see if I ultimately like the outcome. I created my own linked list object and overrode the [] operator to create constructs like "Close[0]". I don't have to worry about goin...
by tradetree
17 Nov 2013
Forum: MultiCharts .NET
Topic: MaxBarsBack and ICalculationInfo [SOLVED]
Replies: 5
Views: 3435

Re: MaxBarsBack and ICalculationInfo [SOLVED]

Yes, one reason I'm confused is that this doesn't take the right approach. I am porting code from another platform that does this "MaxBarsBack" correctly. Here is an example case: You have 100 bars on a chart, and after the first 20 bars come in you will go back with some calculation to the first ba...
by tradetree
17 Nov 2013
Forum: MultiCharts .NET
Topic: Input Arguments
Replies: 4
Views: 1811

Re: Input Arguments

"(1) If the values you enter in the Format -> Input window are different from the default values, where do you see those default values?" In the debugger, or if I Output.Writeline from the Signals code to the PLeditor output window. "(2) Where do you enter "max_width=160"? You describe it as you wer...
by tradetree
16 Nov 2013
Forum: MultiCharts .NET
Topic: Input Arguments
Replies: 4
Views: 1811

Input Arguments

I am an experienced programmer, but I can't figure out what is going on with the default input arguments to my Signal: public class TChannel : SignalObject { public TChannel(object _ctx) : base(_ctx) { min_width = 40; // Default setting for Max_width max_width = 80; // Default setting for Max_width ...
by tradetree
14 Nov 2013
Forum: MultiCharts .NET
Topic: MaxBarsBack and ICalculationInfo [SOLVED]
Replies: 5
Views: 3435

MaxBarsBack and ICalculationInfo [SOLVED]

I have gone through the .NET programming guide and the .NET help and found little to nothing on MaxBarsBack. The problem I have is that my strategy, newly converted from another platform, builds in the PLeditor but fails to run do to an exception for MaxBarsBack. I know I access many bars back in my...
by tradetree
14 Nov 2013
Forum: MultiCharts .NET
Topic: Visual Studio 2010 debug failure [SOLVED]
Replies: 5
Views: 2282

Re: Visual Studio 2010 debug failure [SOLVED]

Support this morning told me to ignore the VB errors. Kind of makes me uncomfortable, but for now that is how I'll proceed. I would suggest the documentation for debugging reflect this reality.
by tradetree
13 Nov 2013
Forum: MultiCharts .NET
Topic: Visual Studio 2010 debug failure [SOLVED]
Replies: 5
Views: 2282

Re: Visual Studio 2010 debug failure [SOLVED]

Yes, the VS error list is all VB files, ie vb_Accum_Swing_Index.Indicator.VB. Project is "PLStudiesVB2010". None of the errors have anything to do with my source file or anything I even would need. These are all VB files. "Are all studies compiled ok in your PowerLanguage .Net Editor (there are no u...
by tradetree
12 Nov 2013
Forum: MultiCharts .NET
Topic: Out Params for a Function
Replies: 8
Views: 3279

Re: Out Params for a Function

This is a very good observation. I am an advanced C# programmer and I still find it hard to code MC.NET mainly because the interfaces are not described in reference to objects that are readily available in CalcBar. I think you are correct that trying to adhere to EasyLanguage history is what has mad...
by tradetree
12 Nov 2013
Forum: MultiCharts .NET
Topic: Visual Studio 2010 debug failure [SOLVED]
Replies: 5
Views: 2282

Visual Studio 2010 debug failure [SOLVED]

I have read through the Programming Guide .NET and I have built my Strategy successfully in the PLeditor. I have VS 2010 and I clicked on the blue button in the editor to start debug. VS 2010 comes up, but has 102 errors. It doesn't recommend that I continue with debug and I'd agree. The first error...
by tradetree
12 Nov 2013
Forum: MultiCharts .NET
Topic: Interfaces vs Objects [SOLVED]
Replies: 6
Views: 2616

Interfaces vs Objects [SOLVED]

In the Multicharts.NET help, there are often descriptions of C# interfaces, but not a corresponding object that implements the interface. I have been converting strategies from another platform and this has been a real problem. I have read the programming guide, and that is certainly a big help, but...
by tradetree
07 Nov 2013
Forum: MultiCharts .NET
Topic: Trendline dynamic changes [SOLVED]
Replies: 2
Views: 2118

Trendline dynamic changes [SOLVED]

From the MC supplied indicator "Trendlines_Automatic" is this piece of code: m_uptlref.Value.End = new ChartPoint(Bars.Time[0], m_uptlref.Value.PriceValue(Bars.Time[0])); Does the above code dynamically change the end point of the trendline? If you do this code: m_uptlref.Value = DrwTrendLine.Create...
by tradetree
23 Oct 2013
Forum: MultiCharts .NET
Topic: Port of code from another C# trading platform
Replies: 1
Views: 1301

Port of code from another C# trading platform

I am porting a large amount of trading code from my previous platform. A couple of things are confusing about this forum. First, why when you search for a topic in the MC.NET forum does it bring up posts from the MC forum? I am using .NET, so I don't want to get Easylanguage versions of functions. A...
by tradetree
20 Jun 2013
Forum: MultiCharts .NET
Topic: MC trial problem [SOLVED]
Replies: 4
Views: 5261

MC trial problem [SOLVED]

I am evaluating MC to consider a move from my current platform. I have come against a difficulty in the trial. If my data provider, Rithmic, does not provide continuous futures contracts, then I have no means of backtesting within MC, even for only one symbol. The reason is that each dated futures c...
by tradetree
20 Jun 2013
Forum: MultiCharts .NET
Topic: Chart data stops updating
Replies: 3
Views: 2286

Re: Chart data stops updating

Ok, that is a relief. I have a couple of follow-up questions to feel confident when these types of events take place. What is the best verification that tick level real-time data is streaming into MC? For example, on another platform there is an "Orders" tab that gives constant updates of price for ...
by tradetree
18 Jun 2013
Forum: MultiCharts .NET
Topic: Chart data stops updating
Replies: 3
Views: 2286

Chart data stops updating

I recently installed MC.net 8.5 My first week went well, and all charts updated with my live Rithmic data feed (I use the same feed for my current live trading platform). I am considering changing from a competitor to MC, so this is a test run. I have TF and YG as my two MC symbols. All was well unt...
by tradetree
30 Apr 2013
Forum: MultiCharts .NET
Topic: Competitive platform
Replies: 4
Views: 2311

Re: Competitive platform

It would be great for many people, and indeed MC to have such a converter from easylanguage etc, however I think easylanguage is actually too far removed from MC .Net. The platform I am currently on is based on C#. So the translation from that platform to MC is much less intensive. I will keep in mi...
by tradetree
30 Apr 2013
Forum: MultiCharts .NET
Topic: Code obfuscation [SOLVED]
Replies: 4
Views: 2659

Re: Code obfuscation [SOLVED]

That makes sense. How about putting the main part of the code in a C# dll and using dotfuscator on that? Then I could reference the C# dll from my main study. Looks like from the link you shared this is how to access a C# dll: "For C# dll you need to add a reference in PowerLanguage .Net Editor (Rig...
by tradetree
30 Apr 2013
Forum: MultiCharts .NET
Topic: Code obfuscation [SOLVED]
Replies: 4
Views: 2659

Code obfuscation [SOLVED]

Is there any support for protecting code you create so that a broker can run it without being able to reverse compile the source? I want to develop strategies for lease to be run on a brokers MC platform on his server. I know Visual Studio has Dotfuscator CE built in, so I'm wondering if that can be...
by tradetree
30 Apr 2013
Forum: MultiCharts .NET
Topic: Competitive platform
Replies: 4
Views: 2311

Re: Competitive platform

Ok, well thanks for the pointers. I doubt I'm the first to switch from another platform based on .NET and C#, but if that is the case then I'll have to be the pioneer. I'll be happy to share my findings when ready.
by tradetree
29 Apr 2013
Forum: MultiCharts .NET
Topic: Competitive platform
Replies: 4
Views: 2311

Competitive platform

I am currently a сompetitive platform user and I'm evaluating MultiCharts.net to see if it is a better platform for my needs. I have searched and can find nothing regarding converting an existing set of software from сompetitive platform to multicharts. Does anyone have experience or advice on how b...

Go to advanced search