Search found 57 matches

by hairyMug
11 Oct 2014
Forum: MultiCharts .NET
Topic: opinions please: optimize long & short strategy separately?
Replies: 4
Views: 1914

Re: opinions please: optimize long & short strategy separate

Thanks for the reply, now if I only could get that crystal ball working. ;-) Right now I'm using the portfolio trader, and adjusting the "BuyBestX" & "SellWorstY" to bias the sides based on the history of the trades and which are currently more profitable. Initial tests seem to show better returns, ...
by hairyMug
08 Oct 2014
Forum: MultiCharts .NET
Topic: How to create new charts and load strategies automatically?
Replies: 8
Views: 3280

Re: How to create new charts and load strategies automatical

Hi Josh,

List the steps and I'll try to throw an "auto-it" example script together...
Walt
by hairyMug
06 Oct 2014
Forum: MultiCharts .NET
Topic: portfolio trader "RankStrategyR" list not clearing
Replies: 2
Views: 1435

Re: portfolio trader "RankStrategyR" list not clearing

Right now I don't have the time but I'll see if I can get it to you this week-end...
by hairyMug
04 Oct 2014
Forum: MultiCharts .NET
Topic: How stable is Multicharts for 24/7 autotrading?
Replies: 11
Views: 3860

Re: How stable is Multicharts for 24/7 autotrading?

also, I would suggest looking at "auto-it" which is a macro tool. It can be used to watch for specific windows and complete a set of commands to respond automatically. For instance, another tool I use pops up a "message" window which stops executions until the OK button is pressed. An autoit script ...
by hairyMug
03 Oct 2014
Forum: MultiCharts .NET
Topic: portfolio trader "RankStrategyR" list not clearing
Replies: 2
Views: 1435

portfolio trader "RankStrategyR" list not clearing

It seems that the "RankStrategyR" is not resetting correctly. I use the following code to set my rank: ... int lb = m_dirMVal.LowestBar(dirMLen*2); int hb = m_dirMVal.HighestBar(dirMLen*2); lastShort = lb [b]<[/b] hb; lastLong = hb [b]<[/b] lb; if (!lastLong && !lastShort) MyPortfolioData["RankStrat...
by hairyMug
03 Oct 2014
Forum: MultiCharts .NET
Topic: opinions please: optimize long & short strategy separately?
Replies: 4
Views: 1914

Re: opinions please: optimize long & short strategy separate

Thank you Josh, I would agree to do them together but then it seems either short or long is dependent on previous trade being on the correct side.( I would think) I have just completed doing a long opt, then a short opt (each with it's own settings) and then a combined opt. The combined opt results ...
by hairyMug
02 Oct 2014
Forum: MultiCharts .NET
Topic: opinions please: optimize long & short strategy separately?
Replies: 4
Views: 1914

opinions please: optimize long & short strategy separately?

If a strategy goes long and short, is it best to optimize separately then together?
Or all together at once?
I would like opinions please.

TIA, Walt
by hairyMug
29 Sep 2014
Forum: MultiCharts .NET
Topic: determine if the last closed trade was short or long [SOLVED]
Replies: 1
Views: 1678

determine if the last closed trade was short or long [SOLVED]

in V9, I'm trying to determine if the last closed trade was short or long. To get the last position, would I reference the "0" index or the "Count-1" index. Same question for the "ClosedTrades". (BTW: debugging never shows any information in the Positon returned from the collection) Here is my code:...
by hairyMug
27 Sep 2014
Forum: MultiCharts .NET
Topic: How I close stop pending order by program code?
Replies: 8
Views: 3825

Re: How I close stop pending order by program code?

take a look at the attached code;
It can be used to cancel open orders after a specific time.
It may work for what you need... (v9 RC)

Note: not tested live yet and I'm not sure if it works on "managed" trades...
by hairyMug
23 Sep 2014
Forum: MultiCharts .NET
Topic: Is ranking portfolio stocks possible in v9?
Replies: 3
Views: 1924

Re: Is ranking portfolio stocks possible in v9?

Super!! I tried it on a portfolio of 11 stocks; 1 minute data (10000 quotes), and it worked! But, I got bold and attempted a portfolio of 180 stocks and got multiple errors similar to the attached png. I rebooted and tried it again and got the same messages. Please continue the good work! Walt My sy...
by hairyMug
18 Sep 2014
Forum: MultiCharts .NET
Topic: Is ranking portfolio stocks possible in v9?
Replies: 3
Views: 1924

Is ranking portfolio stocks possible in v9?

I have a list of stocks in my portfolio and want to rank them according to yesterday's volume.
Can this be done in a strategy now? (It is one minute bars).
Thank you,
Walt
by hairyMug
04 Aug 2014
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 32156

Re: Memory leak

MAtricks,
I thought the same thing and I thought I did download the ".Net" version...
I will try again...

Mystery solved; when I went to the beta topic, I switched to the normal MC...
My apologies Henry.
by hairyMug
03 Aug 2014
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 32156

Re: Memory leak

Henry, You ask that I download beta 2 BUT when I attempted to import my formula into the editor, it seems that it is the standard MC editor, NOT the "Net" version... This will do nothing for me as I cannot run any of my signals... I did also try the latest 8.8 version buy the memory started climbing...
by hairyMug
25 Jul 2014
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 32156

Re: Memory leak

MultiCharts .NET64 Version 8.8 Release (Build 9191)
by hairyMug
24 Jul 2014
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 32156

Re: Memory leak

With all the other "undocumented features"... this is the straw that broke the camel's back... I'm moving to yet another platform... >> I'm a programmer by trade, and it is unbelievable how hard it is to find a good, stable platform... spent many hours (and dollars) getting my strategies profitable ...
by hairyMug
22 Jul 2014
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 32156

Re: Memory leak

I finally got my auto-trading system running and auto trading last week and am also having this issue. I am running on a VPS with 4 gig and by the time the trading day ends, the free memory is swapping out to keep running... I have 20 charts running @ 5 minute intervals and 4000 bars history using "...
by hairyMug
30 Jun 2014
Forum: MultiCharts .NET
Topic: auto trade account not changing chart trading account
Replies: 3
Views: 1646

Re: auto trade account not changing chart trading account

Ok, so it will not set it, BUT the setting in the drop-down is used by the wonderful "managed" trade engine, so in order to have my automated trades actually use the the account I have specified, I must set the same account on each chart... and I trade 20 charts... I have verified this; and it does ...
by hairyMug
23 Jun 2014
Forum: MultiCharts .NET
Topic: auto trade account not changing chart trading account
Replies: 3
Views: 1646

auto trade account not changing chart trading account

As per your advice, each strategy broker setting is set per symbol BUT when using an IB "FA" account, selecting an account in the strategy does not change the account on the chart trading drop-down which results in the chart not showing the position UNLESS I specifically pick the account from the ch...
by hairyMug
17 Jun 2014
Forum: MultiCharts .NET
Topic: I'm Stumped! How do I get a clean RE-install??
Replies: 8
Views: 3210

Re: I'm Stumped! How do I get a clean RE-install??

I went through all the trouble to rebuild my VPS from scratch and I can now report that (as I suspected) there is partial mapping information saved with-in the workspace (not all symbols) This information is preventing my workspace from functioning properly when I connect it on my VPS. How can I rem...
by hairyMug
17 Jun 2014
Forum: MultiCharts .NET
Topic: I'm Stumped! How do I get a clean RE-install??
Replies: 8
Views: 3210

Re: I'm Stumped! How do I get a clean RE-install??

Thank you for the response and Yes, I did all that you have indicated and it will still not work correctly. Still hoping that it would finally start working, I had my system running this morning and NO trades were entered... I did verify that signals were generated; The issue lies in that, even thou...
by hairyMug
16 Jun 2014
Forum: MultiCharts .NET
Topic: I'm Stumped! How do I get a clean RE-install??
Replies: 8
Views: 3210

Re: I'm Stumped! How do I get a clean RE-install??

Hmm... No response at all...

Looks like I'm going to have to post my issues on various trader boards and hope somebody has some suggestions...

>> If nothing else, others will see the bad experience I have had with MC and think twice before trying to use it...

What a shame...
by hairyMug
13 Jun 2014
Forum: MultiCharts .NET
Topic: I'm Stumped! How do I get a clean RE-install??
Replies: 8
Views: 3210

Re: I'm Stumped! How do I get a clean RE-install??

I am really disappointed right now; I have been attempting to get MC working as it was working after the original install, for over a week now, with very limited success... At this point, MC is unusable since I cannot get a clean re-install. Furthermore, it is surprising that support, ( usually very...
by hairyMug
12 Jun 2014
Forum: MultiCharts .NET
Topic: I'm Stumped! How do I get a clean RE-install??
Replies: 8
Views: 3210

Re: I'm Stumped! How do I get a clean RE-install??

I manually added a symbol map for each of my 20 IB symbols because multiple re-installs did not restore the default maps. After reading you reply, I deleted the indicated folder and did a repair install... This resulted in my same 20 symbols being mapped; no more, no less... So I must assume that lo...
by hairyMug
10 Jun 2014
Forum: MultiCharts .NET
Topic: I'm Stumped! How do I get a clean RE-install??
Replies: 8
Views: 3210

I'm Stumped! How do I get a clean RE-install??

MC had been working fine using the IB data source. Then I tried IQ data (trial) and when my trial was over my symbol maps were all confused. So I uninstalled MC completely and reinstalled BUT the symbol map for IB was still confused and contained invalid references to IQ symbols. After deleting all ...
by hairyMug
06 Jun 2014
Forum: MultiCharts .NET
Topic: Multicharts.net build in function
Replies: 8
Views: 3068

Re: Multicharts.net build in function

Bars.Close.Summation (in a strategy)
by hairyMug
04 Jun 2014
Forum: MultiCharts .NET
Topic: Cancel an order in backtest [SOLVED]
Replies: 3
Views: 1762

Re: Cancel an order in backtest [SOLVED]

this is what I expect happens when a stop-limit is submitted: 1. the order is submitted to the broker with the stop & limit and creates an orderID 2. the position is "flat" until the order is filled. 3. the position is the "long" or "short" when trading "live" : if a "cancel(orderID)" is sent to the...
by hairyMug
03 Jun 2014
Forum: MultiCharts .NET
Topic: Cancel an order in backtest [SOLVED]
Replies: 3
Views: 1762

Cancel an order in backtest [SOLVED]

I THINK I've figured how to cancel an order in live trading: TradeManager.TradingProfiles[0].CancelOrder(curOrderID); But this does not seem to work when backtesting... How are orders cancelled in backtesting; I want to cancel a "stop-limit" order if not filled within a specified number of bars... T...
by hairyMug
03 Jun 2014
Forum: MultiCharts .NET
Topic: bars since order placed?? [SOLVED]
Replies: 1
Views: 1463

bars since order placed?? [SOLVED]

When placing a "stop-limit" order, I need to find the number of bars between when the order was placed and when the position was opened.

I know there is "barssinceEntry" to find number of bars in position but how would I get bars since order placed?

Thanks!
by hairyMug
08 May 2014
Forum: MultiCharts .NET
Topic: IOGMode option from code.
Replies: 6
Views: 3224

Re: IOGMode option from code.

seems to me that if you define two signals, one with "[IOGMode(IOGMode.Disabled)]" and one with " [IOGMode(IOGMode.Enabled)]". Then in the "CalcBar" method just use code to by-pass the code for the one and use the "opposite" code for the other... Not sure if two signals can have different "IOGMode" ...
by hairyMug
02 May 2014
Forum: MultiCharts .NET
Topic: Heads Up!; latest IB TWS won't connect to MC [SOLVED]
Replies: 2
Views: 1506

Heads Up!; latest IB TWS won't connect to MC [SOLVED]

When I attempt to connect, it looks OK but then returns the following message:

Fatal Error: Unknown message id.

>> I'm going back to previous TWS...
by hairyMug
30 Apr 2014
Forum: MultiCharts .NET
Topic: All of my studies GONE!!!! [SOLVED]
Replies: 6
Views: 2508

Re: All of my studies GONE!!!! [SOLVED]

re-install MC and see if that fixes; if it does, check your disk drive for errors... it might have scrambled something...
by hairyMug
24 Apr 2014
Forum: MultiCharts .NET
Topic: IB account settings for advisor account are ignored [SOLVED]
Replies: 3
Views: 1746

Re: IB account settings for advisor account are ignored [SOLVED]

...for each chart...
This is very tedious... but does answer the question...

Please add a development request to add a check-box to the main broker setting which will set ALL the broker settings the same as the main setting...

Thanks!
by hairyMug
23 Apr 2014
Forum: MultiCharts .NET
Topic: IB account settings for advisor account are ignored [SOLVED]
Replies: 3
Views: 1746

IB account settings for advisor account are ignored [SOLVED]

the "financial advisor settings" settings entered in the "manual account allocation" and the "single account allocation" are being ignored and all orders are always sent to the main advisor account.

Please check...
by hairyMug
23 Apr 2014
Forum: MultiCharts .NET
Topic: Problem starting Powerlanguage.net editor [SOLVED]
Replies: 2
Views: 1640

Re: Problem starting Powerlanguage.net editor [SOLVED]

an easier way is to save the "key" from the config file and put the exported "reg" file on the desktop.
Then just "double-clck" the file and it should just replace the corrupt settings...
>> Works for me...
by hairyMug
22 Apr 2014
Forum: MultiCharts .NET
Topic: cannot submit any orders to IB
Replies: 3
Views: 1375

Re: cannot submit any orders to IB

approximately when do you expect to do the next build?
by hairyMug
21 Apr 2014
Forum: MultiCharts .NET
Topic: cannot submit any orders to IB
Replies: 3
Views: 1375

cannot submit any orders to IB

Since I have upgraded to the latest MC .Net, when I submit an order, the IB log shows the following messages for each attempted order (order ids are increasing as expected): Date/Time Category Instrument Profile Strategy Message 4/21/2014 20:04 Warning Interactive Brokers - Can't find order with id ...
by hairyMug
21 Apr 2014
Forum: MultiCharts .NET
Topic: MC .NET freezes when closing multiple chart windows
Replies: 2
Views: 1100

Re: MC .NET freezes when closing multiple chart windows

after adjusting some of my code, this problem is very infrequent, which leads me to believe that it is all based on my code...
I will re-post if I can reproduce the issue on a consistant basis...
by hairyMug
17 Apr 2014
Forum: MultiCharts .NET
Topic: using user specified lots confuses Backtest report.
Replies: 1
Views: 1018

using user specified lots confuses Backtest report.

When specifying lots (instead of using "default") the results from the "Optimizer Report" show reasonable but after applying the settings, the "backtest performance report" is completly invalid, showing hardly any trades and totally different results. This is using the latest version (8969.9) in the...
by hairyMug
17 Apr 2014
Forum: MultiCharts .NET
Topic: MC .NET freezes when closing multiple chart windows
Replies: 2
Views: 1100

MC .NET freezes when closing multiple chart windows

I have a workspace with 20 charts and I wanted to close all but to charts. After closing about 5 -7 charts, MC freezes and has to be forced to close. Here are details: Description: A problem caused this program to stop interacting with Windows. Problem signature: Problem Event Name: AppHangB1 Applic...
by hairyMug
15 Apr 2014
Forum: MultiCharts .NET
Topic: OnBrokerStategyOrderFilled not called when backtesting/optim
Replies: 3
Views: 1315

OnBrokerStategyOrderFilled not called when backtesting/optim

I have code in the "OnBrokerStategyOrderFilled" and when debugging while optimizing or backtesting, this is never hit. Without this being hit, the results are not valid. Is there an event that I can capture when an order is filled when backtesting? This way I could call the "OnBrokerStategyOrderFill...
by hairyMug
14 Apr 2014
Forum: MultiCharts .NET
Topic: Output / Write / Alerts and OnBrokerStategyOrderFilled
Replies: 10
Views: 3223

Re: Output / Write / Alerts and OnBrokerStategyOrderFilled

I would suggest getting c# express (free) and using the debugger...
(if express supports attaching to process)
by hairyMug
14 Apr 2014
Forum: MultiCharts .NET
Topic: Output / Write / Alerts and OnBrokerStategyOrderFilled
Replies: 10
Views: 3223

Re: Output / Write / Alerts and OnBrokerStategyOrderFilled

"out of bounds" will happen if the index < 0 OR if the "items" collection starts at 1. Try using: int lastOrderIndex= this.TradeManager.TradingData.Orders.Items.Count() ; If that works, then the collection is "1 based". If that does not work the look to see if the lastIndex >=0 before using it... (L...
by hairyMug
13 Apr 2014
Forum: MultiCharts .NET
Topic: Output / Write / Alerts and OnBrokerStategyOrderFilled
Replies: 10
Views: 3223

Re: Output / Write / Alerts and OnBrokerStategyOrderFilled

Try This: protected override void OnBrokerStategyOrderFilled(bool is_buy, int quantity, double avg_fill_price) { int lastOrderIndex= this.TradeManager.TradingData.Orders.Items.Count() -1; PowerLanguage.TradeManager.Order lastOrder= this.TradeManager.TradingData.Orders.Items[lastOrderIndex]; string l...
by hairyMug
10 Apr 2014
Forum: MultiCharts .NET
Topic: manually set position not remembered... [SOLVED]
Replies: 9
Views: 2508

Re: manually set position not remembered... [SOLVED]

I have attached a screen shot to display the issue (in case I have not described it correctly). Note the broker dialog box wants to set "flat" even though the chart & broker show 240 shares. Also, the current profit amount on the chart is incorrect. After entering the 240 shares into the dialog (wit...
by hairyMug
09 Apr 2014
Forum: MultiCharts .NET
Topic: manually set position not remembered... [SOLVED]
Replies: 9
Views: 2508

Re: manually set position not remembered... [SOLVED]

I will try to connect to chat if I can... I think that this occurs on those stocks in which the trade was opened by the MC Auto-trade and then closed in the TWS (after Auto-trade was turned off). I have already experimented with the "client id", but that does not seem to matter... Because I am tradi...
by hairyMug
09 Apr 2014
Forum: MultiCharts .NET
Topic: Where are all the classes documented?
Replies: 2
Views: 1430

Re: Where are all the classes documented?

being fairly new myself, I found the "wiki" to be the most helpful...
by hairyMug
09 Apr 2014
Forum: MultiCharts .NET
Topic: manually set position not remembered... [SOLVED]
Replies: 9
Views: 2508

Re: manually set position not remembered... [SOLVED]

FYI... This is still an issue with the latest release...
by hairyMug
07 Apr 2014
Forum: MultiCharts .NET
Topic: manually set position not remembered... [SOLVED]
Replies: 9
Views: 2508

Re: manually set position not remembered... [SOLVED]

v 8595 and I use IB for both data & broker with 5 minute charts...
by hairyMug
07 Apr 2014
Forum: MultiCharts .NET
Topic: manually set position not remembered... [SOLVED]
Replies: 9
Views: 2508

Re: manually set position not remembered... [SOLVED]

Ok, Then I must have something else happening because currently I have a 120 share long position and chart & broker show the information. I then turned off auto-trading and turned it back on... The broker dialog was displayed and "flat" was select instead of 120 shares (which was still showing on th...
by hairyMug
07 Apr 2014
Forum: MultiCharts .NET
Topic: manually set position not remembered... [SOLVED]
Replies: 9
Views: 2508

manually set position not remembered... [SOLVED]

After auto-trading an instrument, when re-starting auto-trade, I have set the "show assign the initial market position at the broker dialog". This does prompt for position (as expected) but the position that I have entered is not "remembered" and the next time it reverts to the history position. I w...
by hairyMug
27 Mar 2014
Forum: MultiCharts .NET
Topic: IB advisor acct with two sub-accts only one shorting allowed [SOLVED]
Replies: 5
Views: 2084

Re: IB advisor acct with two sub-accts only one shorting all [SOLVED]

"unmanaged" agreed... I reviewed the referenced link but I am not sure if I need to define two profiles; one for short and one for long OR will it work to just set the current account? I am not sure that just setting the "currentaccount" would be enough since it seems that it would need to "disconne...
by hairyMug
26 Mar 2014
Forum: MultiCharts .NET
Topic: IB advisor acct with two sub-accts only one shorting allowed [SOLVED]
Replies: 5
Views: 2084

Re: IB advisor acct with two sub-accts only one shorting all [SOLVED]

will this work? if (TradeManager != null ) if( (shortMkt)||(sellMkt )) { this.TradeManager.TradingProfiles[0].CurrentAccount = "shortAccount"; } else { this.TradeManager.TradingProfiles[0].CurrentAccount = "advisorAccount"; } The idea is when the order is NOT short or cover, send the order to the ad...
by hairyMug
24 Mar 2014
Forum: MultiCharts .NET
Topic: IB advisor acct with two sub-accts only one shorting allowed [SOLVED]
Replies: 5
Views: 2084

IB advisor acct with two sub-accts only one shorting allowed [SOLVED]

My advisor acct has one margin account and one IRA account. The IRA account does not allow short positions so when I send a short order, only 50 shares are filled by the broker and the other 50 shares are rejected (since the IRA account cannot go short). So now I have a strategy with that shows 100 ...
by hairyMug
08 Mar 2014
Forum: MultiCharts .NET
Topic: Portfolio Backtester throws exception on startup
Replies: 1
Views: 1472

Portfolio Backtester throws exception on startup

when starting the portfolio backtester application, an exception is thrown with the following content: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Runtime.InteropServices.ExternalExce...
by hairyMug
03 Mar 2014
Forum: MultiCharts .NET
Topic: "processor architecture" warning when compiling using VS2010
Replies: 1
Views: 1173

"processor architecture" warning when compiling using VS2010

I consistently get the following warning when compiling, (everything seems to work OK) : Warning 5 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:\Program Files\TS Support\MultiCharts .NET64\PLDataLoader.dl...
by hairyMug
22 Feb 2014
Forum: MultiCharts .NET
Topic: "auto-it" script for turning on trading on multiple charts
Replies: 0
Views: 1051

"auto-it" script for turning on trading on multiple charts

When auto-trading multiple charts, each chart must be "activated" one at a time. The attached script will activate up to 12 charts (and choose "Y" for the confirmation of each). To use: 1. place up to 12 charts on your screen 2. select "arrange all" from the MC "window" menu 3. run the "auto-it" scr...
by hairyMug
10 Feb 2014
Forum: MultiCharts
Topic: auto-trading portfolio without charts possible?
Replies: 1
Views: 859

auto-trading portfolio without charts possible?

I have my portfolio and would like to auto-trade the stocks (5-minute bars) but don't want to open a chart for each stock.

Is it possible (in code or otherwise) to turn on auto-trade for the list?

Thanks!

Go to advanced search