Search found 39 matches
- 24 Apr 2013
- Forum: MultiCharts .NET
- Topic: MULTICHARTS .NET 8.5 RELEASE
- Replies: 16
- Views: 5662
Re: MULTICHARTS .NET 8.5 RELEASE
Hi MidKnight, Although I haven't used those particular functions that you mention, I had a very similar problem relating to the implementation of the Bollinger Band function https://www.multicharts.com/discussion/viewtopic.php?f=19&t=12571 I think there must have been some breaking changes between 8...
- 15 Apr 2013
- Forum: MultiCharts
- Topic: Optimize on Sharpe Ratio
- Replies: 18
- Views: 11435
Re: Optimize on Sharpe Ratio
Thanks for following up on that Henry.
Just to confirm, is there a bug with optimize_by_sharp_ratio not working for both the daily AND monthly settings on user created signals? Or was it just the Daily?
Thanks
Just to confirm, is there a bug with optimize_by_sharp_ratio not working for both the daily AND monthly settings on user created signals? Or was it just the Daily?
Thanks
- 11 Apr 2013
- Forum: MultiCharts .NET
- Topic: Portfolio Backtesting - Extended mode, Bar Magnifier and IOG
- Replies: 3
- Views: 3545
Re: Portfolio Backtesting - Extended mode, Bar Magnifier and
Thanks for updating us Henry. It's good to hear that the Portfolio trading and IOG development is underway. However, it's a shame to hear that Bar magnifier and Extended Backtesting are not going to be released at the same time! I would argue that it is more important to have the Bar magnifier and E...
- 11 Apr 2013
- Forum: MultiCharts .NET
- Topic: How to count bars using CalcBar() [SOLVED]
- Replies: 5
- Views: 4460
Re: How to count bars using CalcBar() [SOLVED]
Thanks guys, I think is what I'm after. I'll give that a go.
Cheers
Code: Select all
if (Bars.Status == EBarState.Close )
Cheers
- 31 Mar 2013
- Forum: MultiCharts .NET
- Topic: Portfolio Backtesting - Extended mode, Bar Magnifier and IOG
- Replies: 3
- Views: 3545
Portfolio Backtesting - Extended mode, Bar Magnifier and IOG
Hi, There have been a few posts in the past that indicate that Portfolio Backtesting extended mode, IOG and Bar magnifier features would be a great addition and that they were going to be added. https://www.multicharts.com/discussion/viewtopic.php?f=1&t=7497&hilit=extended+backtesting+portfolio http...
- 31 Mar 2013
- Forum: MultiCharts .NET
- Topic: How to count bars using CalcBar() [SOLVED]
- Replies: 5
- Views: 4460
How to count bars using CalcBar() [SOLVED]
Hi, I'm trying to implement a basic counter for the number of bars that I'm in a trade for. The data originally imported into quote manager was tick data for bid and ask. My chart is using 1hr bars with extended mode and bar magnifier switched on. The CalcBar() method appears to be called each intra...
- 29 Mar 2013
- Forum: MultiCharts
- Topic: Optimize on Sharpe Ratio
- Replies: 18
- Views: 11435
Re: Optimize on Sharpe Ratio
Hi, Using exactly the same data, when I apply the prebuilt Bollinger Band signal, the optimize_by_sharp_ratio works, but only for "Monthly" input. When I change input to "Daily", the Sharpe Ratio becomes -1.0. When I add my signal however, inputs of both Daily and Monthly give a Sharpe Ratio of 0. (...
- 27 Mar 2013
- Forum: MultiCharts
- Topic: Optimize on Sharpe Ratio
- Replies: 18
- Views: 11435
Re: Optimize on Sharpe Ratio
I have tried using the optimize_by_sharp_ratio in MC.NET exactly as described but it does not appear to work. I just get a Custom Fitness Values of 0 when using both Daily and Monthly as the inputs to the signal. I am working with minute bars over a 3 month range. As you can see form the screenshots...
- 26 Mar 2013
- Forum: MultiCharts .NET
- Topic: Stop Loss & Profit target in Exit strategies [SOLVED]
- Replies: 5
- Views: 3914
Re: Stop Loss & Profit target in Exit strategies [SOLVED]
Thanks for clarifying Henry. I will have a read of the Interactive Brokers - Broker Profile that you linked to.
Ed
Ed
- 26 Mar 2013
- Forum: MultiCharts .NET
- Topic: Saving workspace does not save instrument data range correct [SOLVED]
- Replies: 2
- Views: 2432
Re: Saving workspace does not save instrument data range cor [SOLVED]
Doh! Whoops - don't know how I missed that one!
Thanks,
Ed
Thanks,
Ed
- 26 Mar 2013
- Forum: User Contributed Studies
- Topic: Bollinger_Band - fractional standard deviations
- Replies: 3
- Views: 3789
Re: Bollinger_Band - fractional standard deviations
Nice one Laurentius! Appreciated
- 26 Mar 2013
- Forum: MultiCharts .NET
- Topic: Stop Loss & Profit target in Exit strategies [SOLVED]
- Replies: 5
- Views: 3914
Re: Stop Loss & Profit target in Exit strategies [SOLVED]
I'm still in the testing phase, but when I start trading I intend to use Interactive Brokers.
- 25 Mar 2013
- Forum: MultiCharts .NET
- Topic: Saving workspace does not save instrument data range correct [SOLVED]
- Replies: 2
- Views: 2432
Saving workspace does not save instrument data range correct [SOLVED]
Hi, If I load historical data for an instrument on to a chart e.g. EURUSD FX pair, from 2012-01-01 to 2012-03-31 and then save the workspace, close it, are-open it, the data range is not preserved. It is now 2012-01-01 to (current date). This is a bit of a pain every time I re-open a workspace for a...
- 25 Mar 2013
- Forum: MultiCharts .NET
- Topic: MULTICHARTS .NET 8.5 RELEASE
- Replies: 16
- Views: 5662
Re: MULTICHARTS .NET 8.5 RELEASE
Thanks guys I was suffering from a different problem and this solved it. After upgrading to version 8.5 RC 64-bit and now also to 8.5 64-bit, the PowerLanguage.NET editor is invisible when I run it! It shows in Task Manager and in the main application bar at the bottom of the screen, but no matter w...
- 13 Mar 2013
- Forum: MultiCharts .NET
- Topic: How to add a trailing stop using GeneratePercentTrailing() [SOLVED]
- Replies: 1
- Views: 2887
How to add a trailing stop using GeneratePercentTrailing() [SOLVED]
Hi, I'm having trouble using the GeneratePercentTrailing(double profit, double percent) method to create a trailing stop. I'm using the GenerateStopLoss(lossAmount) method to add an initial stop and this works fine. When my close price goes beyond a certain level though, I'd like to add a trailing s...
- 13 Mar 2013
- Forum: MultiCharts .NET
- Topic: Stop Loss & Profit target in Exit strategies [SOLVED]
- Replies: 5
- Views: 3914
Re: Stop Loss & Profit target in Exit strategies [SOLVED]
I'd be interested to hear about this too. In other packages I've used, you can have what is known as a "soft" stop or "virtual" stop that is held on the client side so the order book at the broker knows nothing about it. When it gets triggered client side, it sends a market order to close out the po...
- 12 Mar 2013
- Forum: MultiCharts
- Topic: Optimize on Sharpe Ratio
- Replies: 18
- Views: 11435
Re: Optimize on Sharpe Ratio
p.s. At the risk of sounding extremely pedantic, Sharpe is spelled with an "e" at the end. The ratio is named after Mr. Sharpe, so should be capitalised too. You may want to mention it to the devs as it seems slightly unprofessional having the signal mis-named like that in what is otherwise a very p...
- 12 Mar 2013
- Forum: MultiCharts
- Topic: Optimize on Sharpe Ratio
- Replies: 18
- Views: 11435
Re: Optimize on Sharpe Ratio
Thanks for the responses guys. Thanks for clarifying how to do this Henry. I have to say that it would not have been at all obvious how to do this had you not shown me however! My preference would still be to just be able to select Sharpe Ratio from the list of things to optimize by and I think that...
- 07 Mar 2013
- Forum: MultiCharts
- Topic: Multiple Ascii File Import
- Replies: 2
- Views: 2078
Re: Multiple Ascii File Import
I've also just run into the same problem. I've been working with historical data that was stored as one file per year so didn't mind importing these one at a time. However, I've come to import tick data (bid and ask) that is stored in monthly files, so 24 files per year for one symbol! N.B. One of t...
- 04 Mar 2013
- Forum: MultiCharts .NET
- Topic: How to access Strategy Properties - Trade size - in code [SOLVED]
- Replies: 2
- Views: 2387
Re: How to access Strategy Properties - Trade size - in code [SOLVED]
Thanks for clarifying that Henry. I'll define the number of contracts in code instead of using the strategy properties.
Ed
Ed
- 04 Mar 2013
- Forum: MultiCharts .NET
- Topic: How to access Strategy Properties - Trade size - in code [SOLVED]
- Replies: 2
- Views: 2387
How to access Strategy Properties - Trade size - in code [SOLVED]
Hi, I'm setting the Strategy Properties > Trade Size > Fixed Shares/Contracts. How can I then access this value in code? I've tried: Contracts.Default.Contract but it returns 0. I've also tried: _longMO = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "LongMO", EOrderAction.Buy))...
- 28 Feb 2013
- Forum: MultiCharts
- Topic: Optimize on Sharpe Ratio
- Replies: 18
- Views: 11435
Optimize on Sharpe Ratio
Hi, When optimizing a strategy or portfolio, ideally I would like to optimize based on the Sharpe ratio. Also, I would like to be able to view the Sharpe ratio on the optimisation reports (standard strategy optimization and portfolio optimization). There is a feature in the Project Management app th...
- 28 Feb 2013
- Forum: MultiCharts
- Topic: MultiCharts 7.4 backtester include Sharpe Ratio?
- Replies: 6
- Views: 2846
Re: MultiCharts 7.4 backtester include Sharpe Ratio?
I couldn't agree more Eric! I'm using 8.5 beta and have recently moved from backtesting a single instrument strategy to the Portfolio Backtester and was shocked to see that the Sharpe Ratio is missing in Portfolio Backtester > Portfolio Performance Report > Strategy Analysis > Performance Ratios. Sh...
- 28 Feb 2013
- Forum: MultiCharts .NET
- Topic: Is this the right code for SL and TP? [SOLVED]
- Replies: 10
- Views: 5133
Re: Is this the right code for SL and TP? [SOLVED]
Hi Henry that's much clearer now. Just what I was after.
Many thanks,
Ed
Many thanks,
Ed
- 27 Feb 2013
- Forum: MultiCharts
- Topic: Stratgey Data discrepency
- Replies: 3
- Views: 1641
Re: Stratgey Data discrepency
Hi master.aurora, I was having the same issue. The MaxBarsBack param is set by right clicking on the "Strategy" in the "Portfolio Tree" within the Portfolio Backtester. I had been clicking on the Signal itself and couldn't find it there! I found this post that clarified it: https://www.multicharts.c...
- 27 Feb 2013
- Forum: MultiCharts .NET
- Topic: How to debug a signal in Visual Studio? [SOLVED]
- Replies: 2
- Views: 3757
Re: How to debug a signal in Visual Studio? [SOLVED]
Thanks Henry. That works nicely.
N.B. In case anyone is having problems with their break points not working (with a little yellow warning triangle next to them) - make sure you select the correct target framework (3.5 not 4.0) in the project properties > Application > Target Framework.
N.B. In case anyone is having problems with their break points not working (with a little yellow warning triangle next to them) - make sure you select the correct target framework (3.5 not 4.0) in the project properties > Application > Target Framework.
- 27 Feb 2013
- Forum: MultiCharts .NET
- Topic: BollingerBand - fractional standard deviations [SOLVED]
- Replies: 4
- Views: 3322
Re: BollingerBand - fractional standard deviations [SOLVED]
Thanks Henry. I will just use the new way of creating a Bollinger Band. Just wanted to check it wasn't going to be suddenly changed back.
- 27 Feb 2013
- Forum: MultiCharts .NET
- Topic: Visual Studio errors and warnings with 8.5 beta [SOLVED]
- Replies: 2
- Views: 2831
Re: Visual Studio errors and warnings with 8.5 beta [SOLVED]
Thanks for the clarification Henry. Nice to know that it will be sorted in the next version.
- 27 Feb 2013
- Forum: User Contributed Studies
- Topic: Bollinger_Band - fractional standard deviations
- Replies: 3
- Views: 3789
Re: Bollinger_Band - fractional standard deviations
MC.NET 8.5 beta has introduced a breaking change to the BollingerBand function.
Here is the updated indicator script so you can use fractional standard deviations in 8.5 beta.
Here is the updated indicator script so you can use fractional standard deviations in 8.5 beta.
- 27 Feb 2013
- Forum: MultiCharts .NET
- Topic: Visual Studio errors and warnings with 8.5 beta [SOLVED]
- Replies: 2
- Views: 2831
Visual Studio errors and warnings with 8.5 beta [SOLVED]
Hi, I have just installed 8.5 beta after using 8.0. When opening the .NET solution in VS, and performing a build I get the following errors and warnings. Errors 1-3 appear to be breaking changes (from upgrade of 8.0 to 8.5 beta) relating to those indicators. The warnings were present after compiling...
- 27 Feb 2013
- Forum: MultiCharts .NET
- Topic: BollingerBand - fractional standard deviations [SOLVED]
- Replies: 4
- Views: 3322
Re: BollingerBand - fractional standard deviations [SOLVED]
Thanks Henry. I have installed 8.5 beta and can now see the functions in the PowerLanguage.NET editor (but I can not see them in VS). However, there is no longer a BollingerBand function! All the other ones are present, but BollingerBand appears to have been removed and its functionality replaced wi...
- 27 Feb 2013
- Forum: MultiCharts .NET
- Topic: Is this the right code for SL and TP? [SOLVED]
- Replies: 10
- Views: 5133
Re: Is this the right code for SL and TP? [SOLVED]
Hi Henry, Thanks for your swift response. Unfortunately there are still a couple of things unanswered. I'm aware that the GenerateStopLoss(amt) takes an amount rather than a percent, as my examples show. I'm using a percentage of the entry price as my loss amount, in the same way the example signals...
- 26 Feb 2013
- Forum: MultiCharts .NET
- Topic: BollingerBand - fractional standard deviations [SOLVED]
- Replies: 4
- Views: 3322
BollingerBand - fractional standard deviations [SOLVED]
Hi, I am working on a signal that uses PowerLanguage.Function.BollingerBand. The BollingerBand.numdevs property takes an integer but I require a double in order to set the Bollinger band up with a fractional standard deviation. e.g. Setting up a Bollinger band with a standard dev of 2.5 I think it's...
- 26 Feb 2013
- Forum: MultiCharts .NET
- Topic: Is this the right code for SL and TP? [SOLVED]
- Replies: 10
- Views: 5133
Re: Is this the right code for SL and TP? [SOLVED]
I'm trying to use the GenerateStopLoss(amt) method on a FOREX symbol. The example signals Stop_Loss and Profit_Target apply the stop like this: e.g. GenerateStopLoss(this.EntryPrice() * _stopLossPercent) However, my stops are coming up incorrectly - they are way too small. The FOREX symbol in questi...
- 26 Feb 2013
- Forum: MultiCharts .NET
- Topic: How to get a symbol's name [SOLVED]
- Replies: 1
- Views: 2685
Re: How to get a symbol's name [SOLVED]
Figured it out.
It's a property on IInstrumentSettings interface which Bars.Info implements.
e.g.
string symbolName = Bars.Info.Name;
Ed
It's a property on IInstrumentSettings interface which Bars.Info implements.
e.g.
string symbolName = Bars.Info.Name;
Ed
- 26 Feb 2013
- Forum: MultiCharts .NET
- Topic: How to get a symbol's name [SOLVED]
- Replies: 1
- Views: 2685
How to get a symbol's name [SOLVED]
Hi, I'm trying to look up what the current symbol's name is. In the EasyLanguage/PowerLanguage reference there is a reserved keyword or method name - GetSymbolName https://www.multicharts.com/trading-software/index.php/GetSymbolName I've looked in the MC.NET C# library but can't seem to find an equi...
- 21 Feb 2013
- Forum: MultiCharts .NET
- Topic: How to debug a signal in Visual Studio? [SOLVED]
- Replies: 2
- Views: 3757
How to debug a signal in Visual Studio? [SOLVED]
Hi there, I have created a new signal, it compiles fine, but when I apply it to a chart it gives an error. Message: Error in study "MyStudy" : : Unaccessible property(method): AddFunction. Construct only. How can I attach the Visual Studio debugger in order to debug this issue? Many thanks, Ed p.s. ...
- 21 Feb 2013
- Forum: User Contributed Studies
- Topic: Bollinger_Band - fractional standard deviations
- Replies: 3
- Views: 3789
Bollinger_Band - fractional standard deviations
Hi, I recently started using MultiCharts.Net and wanted to use the Bollinger Band indicator. Other competitor products allow the BBs to have fractional standard deviations (double values) but MC.Net only allows integer values. This is quite a standard requirement (and only a basic code change) and I...
- 18 Feb 2013
- Forum: MultiCharts .NET
- Topic: Where are C# strategies stored? [SOLVED]
- Replies: 3
- Views: 2975
Re: Where are C# strategies stored? [SOLVED]
Hi,
I had the same issue as robbob. My initial install of MultiCharts was successful apart from indicators and signals were missing.
I "repaired" the install from Add/Remove Programs in control panel and they were downloaded and now appear correctly.
Many thanks
Ed
I had the same issue as robbob. My initial install of MultiCharts was successful apart from indicators and signals were missing.
I "repaired" the install from Add/Remove Programs in control panel and they were downloaded and now appear correctly.
Many thanks
Ed