﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>RightEdge Forums / Programming and Software Development / Programming Questions </title><generator>InstantForum.NET v4.1.4</generator><description>RightEdge Forums</description><link>http://www.rightedgesystems.com/forums/</link><webMaster>rightedge@yyesoftware.com</webMaster><lastBuildDate>Fri, 12 Mar 2010 07:50:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Memory issues - another thread</title><link>http://www.rightedgesystems.com/forums/Topic10691-18-1.aspx</link><description>Hi!&lt;P&gt;I have some problems using RE as I cannot run simulations only once ore twice until I get an OutOfMemory Exception.&lt;/P&gt;&lt;P&gt;At startup of RE it uses app. 150 MB of memory&lt;/P&gt;&lt;P&gt;After the first simulation it uses 800 MB and wont free up the memory afterwards. Second simulation pushes up memory usage to 1.4 GB.&lt;/P&gt;&lt;P&gt;I'm generating UserSeries for about 400K Bars.&lt;/P&gt;&lt;P&gt;Is there a way to set free the used memory after simulation?&lt;/P&gt;&lt;P&gt;If I'm not interested in displaying UserSeries after the simulation, is it possible to use MaxLookBack for UserSeries as well?&lt;/P&gt;&lt;P&gt;Increasing RAM from 4GB to 8 GB would allow 4 simulation runs but wont solve my problem ;)&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;GT</description><pubDate>Thu, 04 Feb 2010 16:13:33 GMT</pubDate><dc:creator>gtomez</dc:creator></item><item><title>Automating IB TWS login</title><link>http://www.rightedgesystems.com/forums/Topic11092-18-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;TWS has recently come up with a security system whereby one would need to enter a dynamic security code based on your userID, and the characters displayed on-screen. Since I would need to start TWS daily automatically (or disable the daily time-based auto log-out), this new security feature is becoming an impediment to my solution. Has anyone found a way to resolve this, or to go around it?&lt;br&gt;&lt;br&gt;Thanks!</description><pubDate>Mon, 08 Mar 2010 12:13:59 GMT</pubDate><dc:creator>invingator</dc:creator></item><item><title>Exception message</title><link>http://www.rightedgesystems.com/forums/Topic10974-18-1.aspx</link><description>Hi&lt;br&gt;&lt;br&gt;I have read some posts about the same problem and followed the advice given but still, I get the following exception while trying to run the system:&lt;br&gt;&lt;br&gt;An exception of type System.ArgumentOutOfRangeException was thrown.&lt;br&gt;Value must be between 0 and 0, value was 1&lt;br&gt;Parameter name: nBars&lt;br&gt;   at RightEdge.Common.RList`1.LookBack(Int32 nBars)&lt;br&gt;   at MySymbolScript.NewBar() in c:\Dokumente und Einstellungen\Raphael Rigert\Desktop\systemRR\DipBuyerWL4\DipBuyerWL4.cs:line 89&lt;br&gt;   at RightEdge.Common.SymbolScriptCollection`1.NewBar()&lt;br&gt;   at MySystemBase.NewBar() in c:\Dokumente und Einstellungen\Raphael Rigert\Desktop\systemRR\DipBuyerWL4\BaseClasses.cs:line 31&lt;br&gt;   at RightEdge.Common.Internal.SystemRunner.NewBar(Dictionary`2 bars)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SystemRunInfo runInfo, Dictionary`2 historicalData, ServiceFactory brokerFactory)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(DateTime start, String filename, ServiceFactory brokerFactory)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(DateTime start, String filename, ServiceFactory brokerFactory)&lt;br&gt;   at RightEdge.Shared.TradingModuleWrapper.RunSystem(SystemDataCreationSettings settings, Dictionary`2 historicalData, SystemRunInfo dndInfo, ServiceAppDomainFactory brokerFactoryFactory)&lt;br&gt;   at RightEdge.SystemProgress.InitAndRunSystem()[/size][/font]&lt;br&gt;&lt;br&gt;I have changed the lead bars to higher values and have also the fllowng code:&lt;br&gt;&lt;br&gt;	public override void NewBar()&lt;br&gt;	{&lt;br&gt;		Need a couple of bars before we can trade&lt;br&gt;		if (Bars.Count &gt; 20)&lt;br&gt;		{&lt;br&gt;		return;&lt;br&gt;		}&lt;br&gt;&lt;br&gt;It doesn't seem to work. What am I doing wrong?&lt;br&gt;&lt;br&gt;Thanks for your help&lt;br&gt;</description><pubDate>Sat, 27 Feb 2010 11:33:16 GMT</pubDate><dc:creator>rigi583</dc:creator></item><item><title>Errors running downloaded DipBuyer ver 2 strategy</title><link>http://www.rightedgesystems.com/forums/Topic10897-18-1.aspx</link><description>Apologies if this is in the wrong forum topic, i did try posting in the uploaded systems forum so please kill that thread if needed...&lt;/P&gt;&lt;P&gt;&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=BigTxt vAlign=top&gt;I'm getting errors while trying to compile/run the DipBuyer ver2 strategy - specifically: &lt;P&gt;'RightEdge.Common.PositionManager' does not contain a definition for "PositionTimeOut' (line 18)&lt;/P&gt;&lt;P&gt;Cannot implicitly convert type 'RightEdge.Common.RList&amp;lt;RightEdge.Common.BarData&amp;gt;' to 'System.Collections.Generic.IList&amp;lt;RightEdge.Common.BarData&amp;gt;' (line 38)&lt;/P&gt;&lt;P&gt;among other related errors...  I am a newbie using the 30-day trial, so perhaps i am missing some common files or community files from the base install?  (Build 384)...can someone point me in the right direction?  The other sample systems (ie not downloaded from website) seem to work fine. &lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Thu, 18 Feb 2010 06:35:00 GMT</pubDate><dc:creator>jaymann</dc:creator></item><item><title>RelativeStrength LookBack</title><link>http://www.rightedgesystems.com/forums/Topic10922-18-1.aspx</link><description>RSI.LookBack(1) throws the following error&lt;br&gt;&lt;br&gt;&lt;br&gt;[code]An exception of type System.ArgumentOutOfRangeException was thrown.&lt;br&gt;Value must be between 0 and 0, value was 1&lt;br&gt;Parameter name: nBars&lt;br&gt;   at RightEdge.Common.RList`1.LookBack(Int32 nBars)&lt;br&gt;   at MySymbolScript.NewBar() in y:\0-TradingSystem\TradingSystems\ETFTrader\ETFTrader\ETFTrader.cs:line 55&lt;br&gt;   at RightEdge.Common.SymbolScriptCollection`1.NewBar()&lt;br&gt;   at MySystemBase.NewBar() in y:\0-TradingSystem\TradingSystems\ETFTrader\ETFTrader\BaseClasses.cs:line 31&lt;br&gt;   at RightEdge.Common.Internal.SystemRunner.CallSystemNewBar(FrequencyNewBarEventArgs args)&lt;br&gt;   at RightEdge.Common.Internal.SystemRunner.ProcessBarEvents(IEnumerable`1 eventList)&lt;br&gt;   at RightEdge.Common.FrequencyManager.x189467b274f1add6(NewBarEventArgs xce8d8c7e3c2c2426)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.TradingModuleWrapper.Run(String filename, ServiceAppDomainFactory brokerFactoryFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData, ServiceAppDomainFactory brokerFactoryFactory, Func`2 dataStoreFactory)&lt;br&gt;   at RightEdge.SystemProgress.InitAndRunSystem()[/code]</description><pubDate>Sun, 21 Feb 2010 20:29:05 GMT</pubDate><dc:creator>gregoryj</dc:creator></item><item><title>CrossOver/Under function on previous bars</title><link>http://www.rightedgesystems.com/forums/Topic10915-18-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I have the following code. Essentially, the problem I had to solve was when the 2 EMAs cross over, close positions at next day open.  First, I couldn't find a function to close an order on next day open.  So, what I had to do was check for a cross under yesterday and submit a closeatmarket order.  Is there a better way of doing this?  Also, can the SystemUtils.CrossUnder() function check for previous day instead of only the current day?&lt;br&gt;&lt;br&gt;//		if( SystemUtils.CrossUnder(ShortEMA, LongEMA) )&lt;br&gt;		if( Bars.Count &gt; 2 &amp;&amp; ShortEMA.LookBack(1) &lt; LongEMA.LookBack(1) &amp;&amp; ShortEMA.LookBack(2) &gt;= LongEMA.LookBack(2) )&lt;br&gt;		{&lt;br&gt;			foreach(Position pos in OpenPositions)&lt;br&gt;			{&lt;br&gt;				pos.CloseAtMarket();&lt;br&gt;			}&lt;br&gt;		}&lt;br&gt;&lt;br&gt;Thanks in advance.&lt;br&gt;RightEdge seems to be really awesome.  I've just started evaluating it, and I really like the flexibility and plugins, etc.</description><pubDate>Fri, 19 Feb 2010 14:27:05 GMT</pubDate><dc:creator>zykem</dc:creator></item><item><title>Automating Night Right and Automatically Exporting Signals</title><link>http://www.rightedgesystems.com/forums/Topic10837-18-1.aspx</link><description>I have a strategy which generates signals overnight for the next trading day. I have a proprietry app I wrote to do the trading, sow I want to use RightEdge each night to update hist data, run the system and then AUTO Export the signals for the next day (ideally to a database table), but csv would be fine to start. &lt;br&gt;&lt;br&gt;I believe the Update Hist and Run System can easily be done from the command line (from what I have read), but I believe there is some code needed for the final step of exporting the singals automatically. Can someone just point me in the right direction. i.e (which method do I override) and which classes I would need to do such a thing.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Greg</description><pubDate>Fri, 12 Feb 2010 07:22:08 GMT</pubDate><dc:creator>gregoryj</dc:creator></item><item><title>SystemParameters Output</title><link>http://www.rightedgesystems.com/forums/Topic10856-18-1.aspx</link><description>I'm trying to add Systemparater settings to the output pane.&lt;/P&gt;&lt;P&gt;How can I convert it to a string?&lt;/P&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;P&gt;[code] SystemData.Output.Add(OutputSeverityLevel.Informational,&lt;/P&gt;&lt;P&gt;SystemParameters[&lt;FONT color=#800000 size=2 face="Courier New"&gt;&lt;FONT color=#800000 size=2 face="Courier New"&gt;&lt;FONT color=#800000 size=2 face="Courier New"&gt;"Allocation"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;]);&lt;/FONT&gt;&lt;/FONT&gt;[/code]&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Sat, 13 Feb 2010 19:13:51 GMT</pubDate><dc:creator>gtomez</dc:creator></item><item><title>Scan / Future Signal Generation where does it happen?</title><link>http://www.rightedgesystems.com/forums/Topic10847-18-1.aspx</link><description>What method generates the scan output in the system summary reports?&lt;br&gt;I need to caputre this data and automatically export it to a file, just need to know how to during the backtest, so I can handle it when the system is complete.&lt;br&gt;Is it in symbolscripts somewhere? &lt;br&gt;My guess is I would override the shutdown method and send the output somewhere.</description><pubDate>Sat, 13 Feb 2010 06:34:11 GMT</pubDate><dc:creator>gregoryj</dc:creator></item><item><title>Set  minimum bars to hold</title><link>http://www.rightedgesystems.com/forums/Topic10853-18-1.aspx</link><description>How can I set a profit target on a position after it has been held 1 bar?&lt;br&gt;&lt;br&gt;The reason for this, is that in my backtest, if I set a profittarget right away, the position exits based on the high of the day, even though, i may have bought it after the high occured. Very tough to prevent this...so I would like to set min bars held somehow and then set profit target&lt;br&gt;&lt;br&gt;Any idea if this is possibld?</description><pubDate>Sat, 13 Feb 2010 14:53:19 GMT</pubDate><dc:creator>gregoryj</dc:creator></item><item><title>System.IO.FileNotFoundException was thrown with External Reference</title><link>http://www.rightedgesystems.com/forums/Topic10813-18-1.aspx</link><description>I have added reference to an external lib, and when try to create an instance of an object in the external lib, I get the following error&lt;br&gt;Any Secret to using external dlls?&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;An exception of type System.IO.FileNotFoundException was thrown.&lt;br&gt;Could not load file or assembly 'TradeLinkAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.&lt;br&gt;   at System.Signature._GetSignature(SignatureStruct&amp; signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle)&lt;br&gt;   at System.Signature..ctor(RuntimeFieldHandle fieldHandle, RuntimeTypeHandle declaringTypeHandle)&lt;br&gt;   at System.Reflection.RtFieldInfo.get_FieldType()&lt;br&gt;   at RightEdge.Common.IndicatorManager.RegisterMembers(Object obj, Symbol symbol)&lt;br&gt;   at MySystemBase.Startup(SystemData data) in y:\0-TradingSystem\TradingSystems\DipBuyer Fast\BaseClasses.cs:line 24&lt;br&gt;   at RightEdge.Common.Internal.SystemRunner.Startup()&lt;br&gt;   at RightEdge.Shared.SystemWrapper.InitializeModule(SystemData systemData, SystemRunSettings runSettings, ServiceFactory brokerFactory)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.TradingModuleWrapper.Run(String filename, ServiceAppDomainFactory brokerFactoryFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData, ServiceAppDomainFactory brokerFactoryFactory, Func`2 dataStoreFactory)&lt;br&gt;   at RightEdge.SystemProgress.InitAndRunSystem()&lt;br&gt;[/code]</description><pubDate>Thu, 11 Feb 2010 12:02:11 GMT</pubDate><dc:creator>gregoryj</dc:creator></item><item><title>Plotting during system execution?</title><link>http://www.rightedgesystems.com/forums/Topic10664-18-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;Is there anyway to plot something on the chart during system execution (or backtesting)? I need this to debug my trailing stop, so I'm thinking it's easier to debug my problem if I can see my trailing stop graphically.&lt;br&gt;&lt;br&gt;Thanks a heap.</description><pubDate>Sun, 31 Jan 2010 17:34:03 GMT</pubDate><dc:creator>felixtjung</dc:creator></item><item><title>Next Bar Filtering</title><link>http://www.rightedgesystems.com/forums/Topic10336-18-1.aspx</link><description>I would like to filter limit orders for the following bar in daily backtesting (it is more cost effective to find daily data then intraday data).  That is, to test my system for robustness, I would like to Not execute a limit order that is within X cents (or percent) of the following bar or if the following bar has limited liquidity.  This will ensure that unrealistic orders are not filled during backtesting and will reflect worst case fill conditions.  An example of the system producing an incorrect fill (unable to ascertain via daily data) is that if an order is submitted for 1000 shares at a limit price that happens to equal the following bars daily low but in reality only 100 shares were traded at the low.  In backtesting this could obviously produce optimistic results.&lt;br&gt;&lt;br&gt;Is there a way to implement this as I understand there is no lookahead features (except for the BarClosing event) or is there a way to post cancel the order so that it does not show up in the backtesting results?&lt;br&gt;&lt;br&gt;Thanks, Duane&lt;br&gt;</description><pubDate>Sun, 27 Dec 2009 21:51:59 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>Monitoring only symbols that are pending in position manager</title><link>http://www.rightedgesystems.com/forums/Topic10478-18-1.aspx</link><description>Is there a way to programmatically monitor live data only for symbols that have pending orders in position manager?  Live data is subscribed to on a number of symbols at a specific time, for example, a 100.  However, some limit order systems will place pending orders the night before on only a fraction of these symbols, for example, 5.  The following day, the system only needs to monitor 5 symbols rather than 100 symbols.&lt;br&gt;&lt;br&gt;Being able to reduce the number of symbols that require live data the following day will a) reduce the work load required by RE in processing tick data and b) allow more symbols to be scanned without manually turning on and off symbols, for example, expanding the system to scan 2000 symbols and produce limit orders on a 100 symbols the following day.&lt;br&gt;&lt;br&gt;Thanks, Duane&lt;br&gt;</description><pubDate>Tue, 12 Jan 2010 17:50:14 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>TEMPLATE BACKTESTING</title><link>http://www.rightedgesystems.com/forums/Topic10465-18-1.aspx</link><description>I have a litle system i use and teach my pupils, would like to backtest the template over a long period and assess the Ea as an auto matic robot system. Can a template be backtested befor coding it?&lt;/P&gt;&lt;P&gt;I have M4 platform&lt;/P&gt;&lt;P&gt;thank you</description><pubDate>Tue, 12 Jan 2010 05:39:00 GMT</pubDate><dc:creator>codingdummy</dc:creator></item><item><title>Recommended math/statistics library for C#</title><link>http://www.rightedgesystems.com/forums/Topic6407-18-1.aspx</link><description>As I transition to C# as part of moving to RightEdge, I wanted to get people's recommendations for a good all purpose math-statistics library in C#. I have used R in the past for statistics work, and it is great and seems market standard. For financial math I use FinCAD.&lt;/P&gt;&lt;P&gt;I am looking for the equivalent of a standard math-statistics package for C# to use with RightEdge. Any and all suggestions are welcome. I have run across &lt;A href="http://www.gnu.org/software/gsl/"&gt;http://www.gnu.org/software/gsl/&lt;/A&gt; the GNU Statistical Library, but before I commit to something I wanted to get people's suggestions.</description><pubDate>Tue, 19 Aug 2008 16:07:21 GMT</pubDate><dc:creator>rsheftel</dc:creator></item><item><title>Did not have current price for [symbol]</title><link>http://www.rightedgesystems.com/forums/Topic10363-18-1.aspx</link><description>The title of this post should have been: Did not have current price for [symbol]&lt;br&gt;&lt;br&gt;During a simulation, I'm receiving a "Did not have current price for [symbol]" exception (see call stack below).  There is obviously no data for that date/symbol but I thought the simulation would skip over a date that did not have data and use the next bar.  I set synchronize bars to both true and false with the same results.  Is there a setting that I'm overlooking?&lt;br&gt;&lt;br&gt;Thanks, Duane&lt;br&gt;&lt;br&gt;&lt;br&gt;The service plugin PaperBroker.PaperTrader threw an exception of type RightEdge.Common.RightEdgeError&lt;br&gt;   at RightEdge.Shared.ServiceWrapper.DoError(Exception e)&lt;br&gt;   at RightEdge.Shared.BrokerWrapper.SimTick(Symbol symbol, TickData tick)&lt;br&gt;   at RightEdge.Common.Internal.SystemRunner.ProcessTickInPaperBroker(Symbol symbol, TickData tick)&lt;br&gt;   at RightEdge.Common.FrequencyManager.x3fd1cdb5e353e534()&lt;br&gt;   at RightEdge.Common.FrequencyManager.xfc18b789d02886f4(DateTime xb21f13a9707ad954)&lt;br&gt;   at RightEdge.Common.FrequencyManager.ProcessTick(Symbol symbol, TickData tick)&lt;br&gt;   at RightEdge.Common.Internal.SystemRunner._tickGenerator_NewTick(Object sender, NewTickEventArgs e)&lt;br&gt;   at RightEdge.Common.TickGenerator.ProcessBar(NewBarEventArgs args)&lt;br&gt;   at RightEdge.Common.Internal.SystemRunner.ProcessBar(NewBarEventArgs newBars)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.TradingModuleWrapper.Run(String filename, ServiceAppDomainFactory brokerFactoryFactory, PluginReference dataStore, SystemParameters systemParameterOverrides)&lt;br&gt;   at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData, ServiceAppDomainFactory brokerFactoryFactory, Func`2 dataStoreFactory)&lt;br&gt;   at RightEdge.SystemProgress.InitAndRunSystem()&lt;br&gt;&lt;br&gt;Inner Exception:&lt;br&gt;Did not have current price for NTLI&lt;br&gt;   at RightEdge.Shared.SystemWrapper.&lt;CreateSynchronizationContext&gt;b__0(Object sender, ExceptionEventArgs args)&lt;br&gt;   at RightEdge.Shared.CallbackStub.DoCallback()&lt;br&gt;   at RightEdge.Shared.MarshalledSynchronizationContext.Post(SendOrPostCallback d, Object state)&lt;br&gt;   at RightEdge.Shared.BrokerWrapper.broker_orderUpdated(BrokerOrder order, Fill fill, String information)&lt;br&gt;   at PaperBroker.PaperTrader.OnOrderUpdated(BrokerOrder order, Fill fill, String information)&lt;br&gt;   at PaperBroker.PaperTrader.ProcessOrder(BrokerOrder order, Double bidPrice, Double askPrice, DateTime tickTime, Boolean bGap, Boolean bClose)&lt;br&gt;   at PaperBroker.PaperTrader.SimTick(Symbol symbol, TickData tick)&lt;br&gt;   at RightEdge.Shared.BrokerWrapper.SimTick(Symbol symbol, TickData tick)&lt;br&gt;&lt;br&gt;Inner Exception:&lt;br&gt;Did not have current price for NTLI&lt;br&gt;   at RightEdge.Common.SystemStatistics.OrderFilled(BarStatistic stats, TradeInfo trade, PositionInfo position, Double lastPrice, IAccountInfo accountInfo, Dictionary`2 positionValues)&lt;br&gt;   at RightEdge.Common.SystemStatistics.OrderFilled(TradeInfo trade, PositionInfo position, Double lastPrice, IAccountInfo accountInfo)&lt;br&gt;   at RightEdge.Common.BaseSystemHistory.OrderFilled(TradeInfo trade, PositionInfo pos, PositionState state)&lt;br&gt;   at RightEdge.Common.BaseSystemHistory.positionManager_OrderFilled(Object sender, OrderFilledEventArgs e)&lt;br&gt;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&lt;br&gt;   at RightEdge.Common.PositionManager.OnOrderFilled(Trade trade, Position position, PositionInfo brokerPosition)&lt;br&gt;   at RightEdge.Common.PositionManager.PositionOrderFilled(PositionData pos, PositionState posState, BrokerOrder order, Fill fill, TradeType tradeType, String description, Boolean sendUpdate)&lt;br&gt;   at RightEdge.Common.PositionManager.OnOrderFilled(BrokerOrder order, Fill fill, PositionData pos, PositionState posState, TradeOrder tradeOrder)&lt;br&gt;   at RightEdge.Common.PositionManager.broker_OrderUpdated(BrokerOrder brokerOrder, Fill fill, String information)&lt;br&gt;   at RightEdge.Shared.BrokerWrapper.&lt;&gt;c__DisplayClass3.&lt;broker_orderUpdated&gt;b__0(Object )&lt;br&gt;   at RightEdge.Shared.CallbackStub.DoCallback()</description><pubDate>Tue, 29 Dec 2009 11:43:37 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>Profit Target, CreateTicksFromBars, and EnableTradeOnClose</title><link>http://www.rightedgesystems.com/forums/Topic10350-18-1.aspx</link><description>I like the CreateTicksFromBars feature that you have included in RE.  I believe it will save me programming time by automatically accomplishing something that I manually had to implement before.  However, I'm receiving strange trade results and need to get clarification on how the RE processes orders.  I understand that if CreateTicksFromBars == true, then OHLC is processed in that order.  Here are the basics of the system as implemented.  Note that EnableTradeOnClose == true because I need to CloseAtMarket if certain conditions are hit.  The issues relate to profit target though and Not CloseAtMarket execution but included this additional information in case it had an effect on what I'm seeing.&lt;br&gt;&lt;br&gt;    1.  MySymbolScript.NewBar() processes next bar limit orders with a profit target set.&lt;br&gt;    2.  A BarOnClosing() implements conditional closes for the bar.&lt;br&gt;&lt;br&gt;Here is an example of a profit target exit on the same bar that should not have occurred (profit target amount is irrelevant to the example):&lt;br&gt;    &lt;br&gt;      1.  OHLC is 13.27, 13.34, 12.75, and 12.78 respectfully&lt;br&gt;      2.  Buy limit == 13.09&lt;br&gt;      3.  Exit price == 13.35&lt;br&gt;&lt;br&gt;That is, the buy could have not happened before the low of the bar and the only way to obviously obtain the exit price was to exit at the high.  If high is processed before low, this trade would not have occurred.&lt;br&gt;&lt;br&gt;Am I looking at the problem correctly or do I need to implement additional code?&lt;br&gt;&lt;br&gt;Thanks, Duane&lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 28 Dec 2009 18:53:53 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>Beginner need help to get started - Building Trading System Using VB</title><link>http://www.rightedgesystems.com/forums/Topic10302-18-1.aspx</link><description>Hi all,&lt;br&gt;&lt;br&gt;I have been trading Forex for 7 years and I came to the point that I feel I could improve my trading performance by automating my trades. However, I have absoluate no experience in computer programming and I have never built a trading system before. Hence, I hope that you could help guide me in the right direction on how I could get started.&lt;br&gt;&lt;br&gt;Here is what I have done so far to get started. I have finished reading Microsoft Visual Basic 2008 Step by Step by Michael Halvorson and I'm currently reading Murach's ADO.NET 3.5, LINQ, and the Entity Framework with VB 2008 by Anne Boehm. I intend to build my trading system using Visual Basic.&lt;br&gt;&lt;br&gt;The following are some of the questions that I have:&lt;br&gt;&lt;br&gt;1) How long does it take for an average trader with no programming knowledge to learn a programming language in order to build a trading system?&lt;br&gt;&lt;br&gt;2) Can you recommend me where do I start, what do I need to learn in order to build a trading system and suggest any reference books that I should get?&lt;br&gt;&lt;br&gt;3) Where can an absoluate novice like me get support to get started?&lt;br&gt;&lt;br&gt;Thank you very much for your opinions!&lt;br&gt;&lt;br&gt;~30percent trader&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Sun, 20 Dec 2009 21:13:11 GMT</pubDate><dc:creator>30percent</dc:creator></item><item><title>How to debug trading system ? May I to do the back-test one line after one line ?</title><link>http://www.rightedgesystems.com/forums/Topic10220-18-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;How to debug trading system ?&lt;br&gt;May I to do the back-test one line after one line ?</description><pubDate>Wed, 09 Dec 2009 10:37:58 GMT</pubDate><dc:creator>Pierre8r</dc:creator></item><item><title>Previous Value Of Variable</title><link>http://www.rightedgesystems.com/forums/Topic9769-18-1.aspx</link><description>In NewBar(), how can I go about referencing the value of an int or double on the previous bar?</description><pubDate>Wed, 21 Oct 2009 17:31:15 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>How to use RightEdge Indicators in C#?</title><link>http://www.rightedgesystems.com/forums/Topic6857-18-1.aspx</link><description>RightEdge is a great patform with flexibility.&lt;br&gt;I have succesfully create historical data retrieval plugin.   I could also read out bar data for any symbol with C#.&lt;br&gt;&lt;br&gt;Now I wonder whether it is possible for me to calculate RightEdge indicators with the RightEge indicator class in my C# program.     The program is not a custom indicator plugin for RE.  Just my own program.&lt;br&gt;&lt;br&gt;For example, in my C# program, I want to do the following jobs:&lt;br&gt;1.  Read the bar data for any symbol.    No Problem.&lt;br&gt;2.  Calculate the EMA(60) for the bar data.    DON'T KNOW HOW TO DO.&lt;br&gt;3.  Other calculatings .    No problem if 2 is settled.&lt;br&gt;4.  Write the results to csv file for statistic software.  No problem.&lt;br&gt;&lt;br&gt;[code]RList &lt; BarData &gt;  bars =  new RList &lt; BarData &gt; () ;&lt;br&gt;bars = myRE.readBarDataFromDataStore(sfilename);&lt;br&gt;EMA ema = new EMA(60);[/code]&lt;br&gt;&lt;br&gt;Then I don't know how to do next.   &lt;br&gt;Because I am just learning C# recently, so I could not get any clue from the help &amp;#100;ocument.&lt;br&gt;Would you please give me some sample code ?&lt;br&gt;Thanks in advance.&lt;br&gt;</description><pubDate>Tue, 04 Nov 2008 08:59:14 GMT</pubDate><dc:creator>windspeedo</dc:creator></item><item><title>Position opened below limit price</title><link>http://www.rightedgesystems.com/forums/Topic10132-18-1.aspx</link><description>Hi&lt;br&gt;&lt;br&gt;I've found the following situation and not sure of the reason.&lt;br&gt;&lt;br&gt;I've opened a position with a LimitPrice = £1014 (2008 Edition 1). I can see this looks setup OK with OrderType = Limit in the debugger.&lt;br&gt;&lt;br&gt;However the order is filled at £978&lt;br&gt;&lt;br&gt;The previous bar to the order fill closes at £972.5&lt;br&gt;&lt;br&gt;For the bar where the order is filled:&lt;br&gt;Open: 978&lt;br&gt;High: 988&lt;br&gt;Low: 960.5&lt;br&gt;Close: 961&lt;br&gt;&lt;br&gt;Is there any reason why the order is filled below the LimitPrice?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;Dave</description><pubDate>Sun, 29 Nov 2009 10:30:45 GMT</pubDate><dc:creator>djboardman</dc:creator></item><item><title>My Stop Loss / Bar Count Exits are sometimes ignored</title><link>http://www.rightedgesystems.com/forums/Topic10098-18-1.aspx</link><description>I think I must be doing something wrong - please help!&lt;br&gt;&lt;br&gt;I'm setting up my positions with a PositionSettings object. However, I have found that where I have set BarCountExit and StopLoss are being ignored. I've pasted an example of how I'm setting up the PositionSettings below. I've checked for situations where there is a bit overnight gap where losses are greater than expected. However, there do appear to be cases where the StopLoss/BarCountExit settings are just ignored for no particular reason I can see.&lt;br&gt;&lt;br&gt;Thanks for any help...&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;PositionSettings posSet = new PositionSettings();&lt;br&gt;posSet.ProfitTargetType = TargetPriceType.Price;&lt;br&gt;posSet.StopLossType = TargetPriceType.Price;&lt;br&gt;posSet.BarCountExit = 40;&lt;br&gt;posSet.PositionType = posType;&lt;br&gt;if (posType == PositionType.Long) {&lt;br&gt;	posSet.OrderType = OrderType.Limit;&lt;br&gt;	posSet.LimitPrice = High.Current;&lt;br&gt;	posSet.StopLoss = lowestLow3.Current;&lt;br&gt;	posSet.Size = (long)((10000*0.01)/(posSet.LimitPrice - posSet.StopLoss));&lt;br&gt;	posSet.ProfitTarget = posSet.LimitPrice + (3*(posSet.LimitPrice - posSet.StopLoss));&lt;br&gt;	posSet.Description = posSet.LimitPrice.ToString() + " " + posSet.StopLoss.ToString();&lt;br&gt;} else {&lt;br&gt;	posSet.OrderType = OrderType.Stop;&lt;br&gt;	posSet.StopPrice = Low.Current;&lt;br&gt;	posSet.StopLoss = highestHigh3.Current;&lt;br&gt;	posSet.Size = (long)((10000*0.01)/(posSet.StopLoss - posSet.StopPrice));&lt;br&gt;	posSet.ProfitTarget = posSet.StopPrice - (3*(posSet.StopLoss - posSet.StopPrice));&lt;br&gt;	posSet.Description = posSet.StopPrice.ToString() + " " + posSet.StopLoss.ToString();&lt;br&gt;}&lt;br&gt;&lt;br&gt;if (posSet.Size &gt; 0) {&lt;br&gt;	OpenPosition(posSet);&lt;br&gt;}&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;</description><pubDate>Thu, 26 Nov 2009 19:33:05 GMT</pubDate><dc:creator>djboardman</dc:creator></item><item><title>External use of Database</title><link>http://www.rightedgesystems.com/forums/Topic9659-18-1.aspx</link><description>Hi i was wondering if i can use the RE database externally, or better use the database already filtered and corrected of RE in a .net program. Somehow export a RList&amp;lt;barData&amp;gt; or something like this to use with an .net program so i can make some things not possible YET through RE.&lt;/P&gt;&lt;P&gt;                Thank´s Vitor</description><pubDate>Fri, 02 Oct 2009 16:00:38 GMT</pubDate><dc:creator>vitor dantas</dc:creator></item><item><title>API to access RightEdge from the outside</title><link>http://www.rightedgesystems.com/forums/Topic10014-18-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;I was wondering if there is an API for RightEdge.&lt;br&gt;&lt;br&gt;I would like to create a program (outside of RightEdge) that generates different strategies and then runs simulations via RightEdge. I would also like to use RightEdge to calculate indicators. Finally i want to read the results of the simulation run and use them in my program.&lt;br&gt;&lt;br&gt;Is this possible?</description><pubDate>Thu, 19 Nov 2009 07:11:37 GMT</pubDate><dc:creator>styx2000</dc:creator></item><item><title>chartobjects on different chat panes?</title><link>http://www.rightedgesystems.com/forums/Topic9991-18-1.aspx</link><description>Hi!&lt;br&gt;&lt;br&gt;I wonder - is it possible to add chartobjects on indicator and userseries panes? I can see that it can be done via drag'n'drop, but struggling to understand how it can be done in code. &lt;br&gt;&lt;br&gt;I was looking for something similar to SystemData.ChartObjects in ChartPane class but haven't found anything.</description><pubDate>Tue, 17 Nov 2009 11:26:43 GMT</pubDate><dc:creator>fbalobanov</dc:creator></item><item><title>Using NLog</title><link>http://www.rightedgesystems.com/forums/Topic9946-18-1.aspx</link><description>Does anyone have a quick example they could post of how to use NLog. I can't seem to get it to write to a file. Not sure its picking up my config.&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&lt;br&gt;private static Logger logger = LogManager.GetLogger("MySymbolScript");&lt;br&gt;&lt;br&gt;public override void NewBar() {&lt;br&gt; logger.Trace("Testing");&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;[/code]</description><pubDate>Thu, 12 Nov 2009 10:16:09 GMT</pubDate><dc:creator>gregoryj</dc:creator></item><item><title>Creation ISeries Open,Close,High,Low analogue</title><link>http://www.rightedgesystems.com/forums/Topic9882-18-1.aspx</link><description>Hi! &lt;br&gt;&lt;br&gt;I have a class where I use Bars,Open,Close etc objects by reference. &lt;br&gt;So in class i have this:&lt;br&gt;&lt;br&gt;private RList&lt; BarData&gt; Bars;&lt;br&gt;private ISeries Low;&lt;br&gt;private ISeries High;&lt;br&gt;...&lt;br&gt;&lt;br&gt;it works ok, but now I'm trying to create modified bar list (different time frame) and give it to another instance of my class. In NewBar() I'm adding new bars via Add method in RList&lt; BarData&gt; object, so I have Bars object analogue, but I can't understand how I can create analogue of Open,Close and other ISeries objects. &lt;br&gt;&lt;br&gt;Typeof shows me that this is RightEdge.Common.BarElementSeries object, but it's protected&lt;br&gt;&lt;br&gt;If there any way to create this objects?&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 04 Nov 2009 10:55:25 GMT</pubDate><dc:creator>fbalobanov</dc:creator></item><item><title>UserSeries.SetValue problem</title><link>http://www.rightedgesystems.com/forums/Topic9862-18-1.aspx</link><description>If I populate a UserSeries with SetValue(0, 10.0) for example and open a chart after a simulation run from the system result window it works find.  I see my series plot on the chart.&lt;br&gt;&lt;br&gt;However if I try to modify UserSeries data on previous bars (e.g. SetValue(1, 10.0) for example) it does not show on my chart.&lt;br&gt;&lt;br&gt;What am I missing.&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;</description><pubDate>Sun, 01 Nov 2009 19:58:18 GMT</pubDate><dc:creator>rightedgeusr</dc:creator></item><item><title>Limit orders filled at wrong price</title><link>http://www.rightedgesystems.com/forums/Topic9760-18-1.aspx</link><description>&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2 face="Courier New"&gt;&lt;FONT color=#008000 size=2 face="Courier New"&gt;&lt;FONT color=#008000 size=2 face="Courier New"&gt;Any Ideas why the Code below does NOT always trade at the Limit specified. I have checked values of Variable BidPrice, and they are correct. However during backtesting, The system fills with some unkown logic, sometimes at Bar.Open, sometimes at BidPrice.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000 size=2 face="Courier New"&gt;&lt;FONT color=#008000 size=2 face="Courier New"&gt;&lt;FONT color=#008000 size=2 face="Courier New"&gt; // Long Actions&lt;BR&gt;   &lt;FONT color=#111111&gt;&lt;FONT color=#1111ff&gt;if&lt;/FONT&gt; (TradeCondition == 1)&lt;BR&gt;   {&lt;BR&gt;    &lt;FONT color=#77bb77&gt;&lt;FONT color=#33bb33&gt;// Close Short and Bid to go long&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;    &lt;FONT color=#1111ff&gt;foreach&lt;/FONT&gt; (Position pos in OpenPositions)&lt;BR&gt;    {&lt;BR&gt;     &lt;FONT color=#1111ff&gt;if&lt;/FONT&gt; (pos.Type == PositionType.Short)&lt;BR&gt;     {&lt;BR&gt;      pos.SubmitOrder(Contracts,TransactionType.Cover,OrderType.Limit,BidPrice);&lt;BR&gt;      OpenPosition(PositionType.Long,OrderType.Limit,BidPrice,Contracts);&lt;BR&gt;     }&lt;BR&gt;    }&lt;BR&gt;   &lt;FONT color=#33bb33&gt; // Bid to go Long&lt;/FONT&gt;&lt;FONT color=#113311&gt;&lt;BR&gt;&lt;/FONT&gt;    &lt;FONT color=#1111ff&gt;if&lt;/FONT&gt; ( OpenPositions.Count == 0)&lt;BR&gt;    {&lt;BR&gt;     OpenPosition(PositionType.Long,OrderType.Limit,BidPrice,Contracts);&lt;BR&gt;    }&lt;BR&gt;    &lt;FONT color=#33bb33&gt;// Open first position&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#1111ff&gt;if&lt;/FONT&gt; ( OpenPositions.Count == 0 &amp;amp;&amp;amp; Bars.Count &amp;lt; 50)&lt;BR&gt;    {&lt;BR&gt;     OpenPosition(PositionType.Long,OrderType.Market,0,Contracts);&lt;BR&gt;    }&lt;BR&gt;   }&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Wed, 21 Oct 2009 10:12:02 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>Calling RE functions in C#</title><link>http://www.rightedgesystems.com/forums/Topic9670-18-1.aspx</link><description>Bill, is the functions of RE available in C#?&lt;BR&gt;&lt;BR&gt;Eg. Can I do for example indicator.Lookback(1) in Visual Studio C#?&lt;BR&gt;&lt;BR&gt;I have the following relevant code :&lt;BR&gt;&lt;BR&gt;    public class RcntHighClose : IndicatorBase          // Class specification.&lt;BR&gt;    {&lt;BR&gt;        private List&amp;lt;RcntHighClose&amp;gt; hihg = null;&lt;BR&gt;&lt;BR&gt;        public RcntHighClose(int Periods)                                   // Constructor method.&lt;BR&gt;        {&lt;BR&gt;            hihg = new List&amp;lt;RcntHighClose&amp;gt;();&lt;BR&gt;&lt;BR&gt;        public override RList&amp;lt;double&amp;gt; CalcSeriesValues(RList&amp;lt;BarData&amp;gt; bars) // Full method.&lt;BR&gt;        {&lt;BR&gt;            hihg = new List&amp;lt;RcntHighClose&amp;gt;();&lt;BR&gt;&lt;BR&gt;        public override double CalcNextValue(BarData bar)                   // Next method.&lt;BR&gt;        {&lt;BR&gt;&lt;BR&gt;                if (bar.Close &amp;gt; hihg.LookBack(1))&lt;BR&gt;&lt;BR&gt;C# does not recognise the Lookback() function.&lt;BR&gt;&lt;BR&gt;Which give error:&lt;BR&gt;&lt;BR&gt;Error    2    'System.Collections.Generic.List&amp;lt;phgIndicators.RcntHighClose&amp;gt;' does not contain a definition for 'Lookback' and no extension method 'Lookback' accepting a first argument of type 'System.Collections.Generic.List&amp;lt;phgIndicators.RcntHighClose&amp;gt;' could be found (are you missing a using directive or an assembly reference?)    P:\henk\indicators\RecentLow\RecentLow\BarsSinceHigh.cs    105    38    BarsSinceHigh&lt;BR&gt;</description><pubDate>Mon, 05 Oct 2009 10:23:42 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>Optimization parameters</title><link>http://www.rightedgesystems.com/forums/Topic9525-18-1.aspx</link><description>Following code gives error iter alia: cannot convert 'double' to 'int'. Please help.&lt;/P&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;P&gt;ema = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; EMA(SystemParameters[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2 face="Courier New"&gt;&lt;FONT color=#800000 size=2 face="Courier New"&gt;&lt;FONT color=#800000 size=2 face="Courier New"&gt;"MAperiod"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;]);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Mon, 21 Sep 2009 07:51:12 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>Position Management</title><link>http://www.rightedgesystems.com/forums/Topic9501-18-1.aspx</link><description>I would like to fix the number of Contracts my system trade. However when running a simulation, the system trades according to settings in the System Properties menu. Please help. &lt;/P&gt;&lt;P&gt;The essential parts of code follows below:&lt;/P&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;P&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT color=#000000 size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT color=#000000&gt; MySymbolScript : MySymbolScriptBase&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;long&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; Contracts = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;override&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;void&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; NewBar()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;P&gt;OpenPosition(PositionType.Long,OrderType.Market,Contracts);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Fri, 18 Sep 2009 10:06:17 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>Live Chart: Indicator is not synchronized with Price Bars</title><link>http://www.rightedgesystems.com/forums/Topic9485-18-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;the title tells it all. I am a RE novice and try to make my first steps to get familiar with the particular way of C# scripting in RE. As you can see in the attached exampe pic the two EMAs do not fit to the price bars. Same with ADX - it indicates trends where no trend was. When I use scripts from rightedgesystems.com (i.e. BollingerPenetration) a similar offset occurs. The problems refers only to the way of processing the stored data. During the live run of the script the indicators are synchronized with the bars. That means that for example the EMAs move step by step to the correct values. &lt;br&gt;&lt;br&gt;Do you have any advise?&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Michael&lt;br&gt;&lt;br&gt;Example: [img]http://217.160.138.37/ms_de/GBL_2009_09_17.jpg[/img]</description><pubDate>Thu, 17 Sep 2009 15:41:48 GMT</pubDate><dc:creator>waynem59</dc:creator></item><item><title>SystemUtils</title><link>http://www.rightedgesystems.com/forums/Topic9464-18-1.aspx</link><description>Can anybody tell me why the following code compiles:   &lt;br&gt;&lt;br&gt;   if (SystemUtils.CrossUnder(SMA50, SMA200))&lt;br&gt;&lt;br&gt;But the following code gives me "The best overloaded method match for RightEdge.Common.SystemUtils.CrossUnder(blah blah blah...!&lt;br&gt;&lt;br&gt;      if (SystemUtils.CrossUnder(High.Current, Tceiling.Current))</description><pubDate>Wed, 16 Sep 2009 13:38:26 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>System does not generate trades.</title><link>http://www.rightedgesystems.com/forums/Topic9465-18-1.aspx</link><description>&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;P&gt;Any ideas why the following code does not generate any trades?&lt;/P&gt;&lt;P&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT color=#000000 size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT color=#000000&gt; MySymbolScript : MySymbolScriptBase&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;Highest Tceiling = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; Highest(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;20&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;);&lt;/P&gt;&lt;P&gt;Lowest Tfloor = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; Lowest(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;20&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;);&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;override&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;void&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; Startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Tceiling.SetInputs(High);&lt;/P&gt;&lt;P&gt;Tfloor.SetInputs(Low);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;override&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;void&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; NewBar()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (High.Current &amp;gt; Tceiling.Current)&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;foreach&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (Position pos &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;in&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; OpenPositions)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (pos.Type == PositionType.Short)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;pos.CloseAtMarket();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (OpenPositions.Count == &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;OpenPosition(PositionType.Long,OrderType.Market);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (Low.Current &amp;lt; Tfloor.Current)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;foreach&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (Position pos &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;in&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; OpenPositions)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (pos.Type == PositionType.Long)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;pos.CloseAtMarket();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt; (OpenPositions.Count == &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;&lt;FONT color=#800080 size=2 face="Courier New"&gt;0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;&lt;FONT size=2 face="Courier New"&gt;)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;OpenPosition(PositionType.Short,OrderType.Market);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Wed, 16 Sep 2009 13:44:46 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>check for openposition</title><link>http://www.rightedgesystems.com/forums/Topic9440-18-1.aspx</link><description>I want to do a check whether there is an existing open position before executing OpenPosition()&lt;br&gt;&lt;br&gt;My code gives me an error "The name 'PositionType' does not exist in the current context. Please help me fixing my code.&lt;br&gt;&lt;br&gt;if (High.Current &gt; Tceiling.Current)&lt;br&gt;{&lt;br&gt;      foreach (Position pos in OpenPositions)&lt;br&gt;      {&lt;br&gt;             If (pos.Type == PositionType.Short)&lt;br&gt;             {&lt;br&gt;                   pos.CloseAtMarket();&lt;br&gt;             }&lt;br&gt;             if(pos.State == PositionState.None)&lt;br&gt;             {&lt;br&gt;                   OpenPosition(PositionType.Long,OrderType.Market);&lt;br&gt;             }&lt;br&gt;       }&lt;br&gt;}</description><pubDate>Tue, 15 Sep 2009 16:39:53 GMT</pubDate><dc:creator>henk</dc:creator></item><item><title>Noob Futures Question</title><link>http://www.rightedgesystems.com/forums/Topic9444-18-1.aspx</link><description>I have a simple strategy written that runs correctly against some imported daily bar data.  I am using this strategy to evaluate RightEdge.  I use the following code to open a position.&lt;/P&gt;&lt;P&gt;   Dim settings As New PositionSettings()&lt;BR&gt;   settings.Size = 100&lt;BR&gt;   settings.PositionType = PositionType.Long&lt;BR&gt;   settings.OrderType = OrderType.Market &lt;BR&gt;   OpenPosition(settings)&lt;BR&gt;&lt;/P&gt;&lt;P&gt;I run a simulation against an instrument (stock) and I get the trades I would expect.&lt;/P&gt;&lt;P&gt;I then edit the Symbol information for the test symbol and change it from Stock to Future.  I also enter in contract size and tick size.  Expiration Date is set to sometime in the future.  &lt;/P&gt;&lt;P&gt;When I run a simulation after the data edit, I get 0 trades. I navigate to the symbol results tab and open a chart of the tested symbol.  All of the bar data is there with the strategy indicators properly plotted.  &lt;/P&gt;&lt;P&gt;Why would the change of the Asset Type prohibit the entries from firing in the new simulation?</description><pubDate>Wed, 16 Sep 2009 01:07:07 GMT</pubDate><dc:creator>Roger Harden</dc:creator></item><item><title>New Edition problem</title><link>http://www.rightedgesystems.com/forums/Topic9399-18-1.aspx</link><description>I'm evaluating your software (absolutely love the IDE, BTW) and I tried the BollingerPenetration example. &lt;br&gt;&lt;br&gt;So I went into Options - System Results, I turned on the other results plugins.  Now when I close the Options dialog, it throws:&lt;br&gt;&lt;br&gt;An exception of type System.NotImplementedException was thrown.&lt;br&gt;The method or operation is not implemented.&lt;br&gt;   at RightEdge.Common.DocumentManager.UserControl&amp;#100;ocument.UpdateSettings()&lt;br&gt;   at RightEdge.DocumentManager.DocumentManager.UpdateAllDocuments()&lt;br&gt;   at RightEdge.xf266856f631ec016.ShowOptionsDialog()&lt;br&gt;   at RightEdge.xf266856f631ec016.x860fa90e3b7e64c8(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)&lt;br&gt;   at TD.SandBar.ToolbarItemBase.OnActivate()&lt;br&gt;   at TD.SandBar.ButtonItemBase.OnActivate()&lt;br&gt;   at TD.SandBar.&lt;br&gt;.&#x1;(TopLevelMenuItemBase , Boolean , Boolean , Point )&lt;br&gt;   at TD.SandBar.TopLevelMenuItemBase.Show(Boolean select)&lt;br&gt;   at TD.SandBar.TopLevelMenuItemBase.Show()&lt;br&gt;   at TD.SandBar.ToolBar.OnItemPush(ToolbarItemBase item, Point position)&lt;br&gt;   at TD.SandBar.ToolBar.OnMouseDown(MouseEventArgs e)&lt;br&gt;   at TD.SandBar.MenuBar.OnMouseDown(MouseEventArgs e)&lt;br&gt;   at System.Windows.Forms.Control.WmMouseDown(Message&amp; m, MouseButtons button, Int32 clicks)&lt;br&gt;   at System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;br&gt;   at TD.SandBar.ToolBar.WndProc(Message&amp; m)&lt;br&gt;   at RightEdgeUI.CustomMenuBar.WndProc(Message&amp; m)&lt;br&gt;   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp; m)&lt;br&gt;   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp; m)&lt;br&gt;   at System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br&gt;&lt;br&gt;Any thoughts?&lt;br&gt;&lt;br&gt;It also throws an error if I set the TickLevelSimulation property on the project to True.</description><pubDate>Sat, 12 Sep 2009 11:35:34 GMT</pubDate><dc:creator>IK</dc:creator></item></channel></rss>