﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>RightEdge Forums / General / Community Support </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>Thu, 11 Mar 2010 07:54:10 GMT</lastBuildDate><ttl>20</ttl><item><title>what's the difference between buy and open position in Action?</title><link>http://www.rightedgesystems.com/forums/Topic11132-13-1.aspx</link><description>please tell me ,I am a newer.&lt;P&gt;BTW, why is there not cancel order in Action? how to cancel order in a trade system?&lt;/P&gt;&lt;P&gt;Thank you!</description><pubDate>Thu, 11 Mar 2010 04:17:15 GMT</pubDate><dc:creator>terryep</dc:creator></item><item><title>filling an order on the close of the current bar</title><link>http://www.rightedgesystems.com/forums/Topic4625-13-1.aspx</link><description>Is there a way to have an order filled on the close of the current bar.  It would appear that in the NewSymbolBar event, if a new position is opened using OpenPosition and OrderType.Market, the order is filled on the open of the next bar</description><pubDate>Wed, 20 Feb 2008 08:12:16 GMT</pubDate><dc:creator>autotrader</dc:creator></item><item><title>How many tick data can I store?</title><link>http://www.rightedgesystems.com/forums/Topic11064-13-1.aspx</link><description>Hi, I wanna the RE can store the tick data when I trading.&lt;/P&gt;&lt;P&gt;How many tick data can RE store? If the tick data store will delay the trading respone speed?&lt;/P&gt;&lt;P&gt;Should I store the data in different way to protect?&lt;/P&gt;&lt;P&gt;King Regards</description><pubDate>Sun, 07 Mar 2010 19:01:16 GMT</pubDate><dc:creator>qichxi</dc:creator></item><item><title>Max Open Poistions in RE 2010</title><link>http://www.rightedgesystems.com/forums/Topic11022-13-1.aspx</link><description>Just tried out RE 2010 for the 1st time and getting different results from ED1 - seems to be allowing more open positions than I've defined.  i.e I've specified no more than 2 open&lt;br&gt;positions at a time but on one occasion it has allowed 3 to be opened&lt;br&gt;&lt;br&gt;Max Open = 2&lt;br&gt;Max Open/Symbol = 2&lt;br&gt;</description><pubDate>Wed, 03 Mar 2010 14:27:27 GMT</pubDate><dc:creator>blousetrader</dc:creator></item><item><title>Live Data: Last Volume and Live Price not available</title><link>http://www.rightedgesystems.com/forums/Topic10938-13-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;Last Volume and Live Price not available for E-Minis: ES ang NQ, &lt;br&gt;but Bid and Ask is available (s. attachment)&lt;br&gt;&lt;br&gt;I use RightEdge 2010 Release Candidate, Build 15&lt;br&gt;and TWS Last Version&lt;br&gt;&lt;br&gt;Please Help</description><pubDate>Tue, 23 Feb 2010 05:00:03 GMT</pubDate><dc:creator>tats</dc:creator></item><item><title>Using LowestValue</title><link>http://www.rightedgesystems.com/forums/Topic11026-13-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I want to get the lowest Close value in the last 5 bars.&lt;br&gt;&lt;br&gt;I think that BarUtils.LowestValue(XXX.Close,0,5) should be the right function to use. But, I'm struggling to figure out how to put in the "series of closes" into the function.&lt;br&gt;&lt;br&gt;I'm guessing this is pretty simple, can anyone give me some code example?&lt;br&gt;&lt;br&gt;Christian &lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 04 Mar 2010 10:23:34 GMT</pubDate><dc:creator>NNNKT</dc:creator></item><item><title>Multiple Instances of RightEdge on same machine?</title><link>http://www.rightedgesystems.com/forums/Topic10647-13-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I noticed, we can run multiple instances of RightEdge on the same machine. Hence, it seems possible to run multiple strategies on several different brokers at once. Is this supported?&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Sat, 30 Jan 2010 20:56:18 GMT</pubDate><dc:creator>felixtjung</dc:creator></item><item><title>Execute Trade at the Open</title><link>http://www.rightedgesystems.com/forums/Topic10973-13-1.aspx</link><description>Is it possible to execute a trade at the open in RE Edition 1.  What I'm trying to do is issue a trailing stop if the system&lt;br&gt;has an open position at market open and it has gapped in a favourable direction.   &lt;br&gt;&lt;br&gt;positionmanager.SetTrailingStop(pos.ID,2,targetPriceType.Price)&lt;br&gt;&lt;br&gt;I'm running on 5m bars and it seems to implement the trailing stop on the closing price of the 1st 5m bar.  It'd be ok live&lt;br&gt;as I could check the previous bar but I don't have that bar data for backtesting purposes.  Any other options? &lt;br&gt;&lt;br&gt;Also - I'd love to get started using multiple frequencies in RE 2 but don't know how to start - can you point me at any&lt;br&gt;examples and/or documentation.&lt;br&gt;&lt;br&gt;Cheers</description><pubDate>Fri, 26 Feb 2010 14:03:12 GMT</pubDate><dc:creator>blousetrader</dc:creator></item><item><title>ProfitTarget Executing on Incorrect Data</title><link>http://www.rightedgesystems.com/forums/Topic10851-13-1.aspx</link><description>I have a strategy sets a profit target Ratio&lt;br&gt;        &lt;br&gt;       settings.ProfitTarget = 0.05;					&lt;br&gt;	settings.ProfitTargetType = TargetPriceType.RelativeRatio;	&lt;br&gt;&lt;br&gt;The issue is, I am buying at a price and exiting on the same day with the profit target % and the stock never gets back to the profit target price.&lt;br&gt;Example : Stock opens the day at 4.95, It drops to 4.63 and my system buys. However, in my backtest, I am profit targeting out of the postion at &lt;br&gt;4.86, I suspect because the high of the day is 4.95 which is also the open price.&lt;br&gt;How do I prevent this from happening.&lt;br&gt;I believe what would fix it, would be to only allow the profit target to take place same day if the High &gt; Open.&lt;br&gt;&lt;br&gt;Please Advise</description><pubDate>Sat, 13 Feb 2010 11:28:14 GMT</pubDate><dc:creator>gregoryj</dc:creator></item><item><title>Tick data storage not supported for old data storage interface</title><link>http://www.rightedgesystems.com/forums/Topic10957-13-1.aspx</link><description>An exception of type System.NotSupportedException was thrown.&lt;BR&gt;Tick data storage not supported for old data storage interface (IBarDataStorage)&lt;BR&gt;   在 RightEdge.Common.OldDataStoreWrapper.GetTickStorage(Symbol symbol)&lt;BR&gt;   在 RightEdge.xfb471916970b0c9e.x5e5969a9722ffac4(NewLiveSymbolInfo x1beeafe0108e6b2f)&lt;/P&gt;&lt;P&gt;I complied the SQL Server DataStore Sample in VS2008,but it has some error. what happen? Thank you.</description><pubDate>Thu, 25 Feb 2010 04:21:47 GMT</pubDate><dc:creator>terryep</dc:creator></item><item><title>DatabaseDataStore sample occur error</title><link>http://www.rightedgesystems.com/forums/Topic10956-13-1.aspx</link><description>&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=BigTxt vAlign=top&gt;I have complied the sample project in vs 2008,the RE version is 2010.but it reported error , &lt;P&gt;error 5 “DatabaseDataStore” Does not implement interface member “RightEdge.Common.IBarDataStorage.GetBarCount(RightEdge.Common.SymbolFreq, System.DateTime, System.DateTime)” C:\Users\Administrator\AppData\Roaming\Yye Software\RightEdge\2010.1.0.0\Samples\C#\DatabaseDataStore\DatabaseDataStore.cs 19 14 DatabaseDataStore&lt;BR&gt;&lt;/P&gt;&lt;P&gt;Is the sampel project obsolete? &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Thu, 25 Feb 2010 03:39:44 GMT</pubDate><dc:creator>terryep</dc:creator></item><item><title>configure dtniq</title><link>http://www.rightedgesystems.com/forums/Topic10893-13-1.aspx</link><description>i have a prompt for ip and port.&lt;/P&gt;&lt;P&gt;what do i enter there?&lt;/P&gt;&lt;P&gt;&lt;A href="http://screencast.com/t/MjU0YTc0ZjYt"&gt;http://screencast.com/t/MjU0YTc0ZjYt&lt;/A&gt;</description><pubDate>Wed, 17 Feb 2010 17:37:36 GMT</pubDate><dc:creator>buysell2007</dc:creator></item><item><title>Scanning for Divergence</title><link>http://www.rightedgesystems.com/forums/Topic10845-13-1.aspx</link><description>Hi Guys,&lt;br&gt;&lt;br&gt;Looking for any help on how would I write the code to scan for a divergence between price and an indicator.&lt;br&gt;&lt;br&gt;i.e Bullish divergence when the price makes two lower lows but the indicator make two higher highs.&lt;br&gt;&lt;br&gt;See screen shot for a clear picture.&lt;br&gt;&lt;br&gt;Any ideas?&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Sat, 13 Feb 2010 05:00:04 GMT</pubDate><dc:creator>jimbob</dc:creator></item><item><title>Buy order on close</title><link>http://www.rightedgesystems.com/forums/Topic10183-13-1.aspx</link><description>Hi all,&lt;/P&gt;&lt;P&gt;i would like to open a position on close a day when the low of the current day is lower than the low of the day before.&lt;/P&gt;&lt;P&gt;I have tried to override the TickBar and open the position when the the tick was the close thick.&lt;/P&gt;&lt;P&gt;The results was not successfull. I got the position on close of the next day. How to implement this?&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;Mustafa</description><pubDate>Thu, 03 Dec 2009 11:25:39 GMT</pubDate><dc:creator>mustafaoe</dc:creator></item><item><title>Look Ahead Bias in RE?</title><link>http://www.rightedgesystems.com/forums/Topic10829-13-1.aspx</link><description>I'm evaluating RE at the moment to see if a switch from WealthLab is worthwhile for me. In WL you really have to be extremely&lt;br&gt;careful to avoid Look Ahead Bias when developing your systems since all prices, even future ones, are available at all times.&lt;br&gt;Since this is such a devastating error, you have to develop an eagle eye for spotting these mistakes when developing systems,&lt;br&gt;and I'm intrigued by RE's event driven model that seems to limit the possibility for look ahead errors.&lt;br&gt;&lt;br&gt;However when studying some of the example systems that ship with RE, I'm troubled by the code in their NewBar methods. This&lt;br&gt;is from the BollingerPenetration system (I have removed some comments and irrelevant code for clarity);&lt;br&gt;&lt;br&gt;        BollingerBandLower BBL = new BollingerBandLower(14, 1.5);&lt;br&gt;&lt;br&gt;	public override void Startup()&lt;br&gt;	{&lt;br&gt;		BBL.SetInputs(Close);&lt;br&gt;	}&lt;br&gt;&lt;br&gt;	public override void NewBar()&lt;br&gt;	{&lt;br&gt;		// Get the current calculated value.&lt;br&gt;		double targetPrice = BBL.Current;&lt;br&gt;&lt;br&gt;		// Create a limit order based on the lower band calculation.&lt;br&gt;               OpenPosition(PositionType.Long, OrderType.Limit, targetPrice);&lt;br&gt;	}&lt;br&gt;&lt;br&gt;To me this seems like a serious case of look ahead bias - the limit order is using a target price that is not known until &lt;br&gt;the bar has closed. Looking through other examples and the help files, I see this pattern repeating over and over.&lt;br&gt;&lt;br&gt;My question is: Does the BBL.Current value reflect the latest available closing price in a correct way (that is from&lt;br&gt;the previous bar's close) or do we have a case of look ahead bias here? &lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 11 Feb 2010 23:25:27 GMT</pubDate><dc:creator>max_velocity</dc:creator></item><item><title>what's the usage of the DLL compiled by RightEdge</title><link>http://www.rightedgesystems.com/forums/Topic10715-13-1.aspx</link><description>Whether the dll can be used to a thirdparty VS.net program? How to use it ? Thank you!</description><pubDate>Sun, 07 Feb 2010 07:20:36 GMT</pubDate><dc:creator>terryep</dc:creator></item><item><title>about a stand-lone application</title><link>http://www.rightedgesystems.com/forums/Topic10762-13-1.aspx</link><description>I have saw the following post:&lt;A href="http://www.rightedgesystems.com/forums/Topic3190-7-1.aspx?Highlight=api"&gt;http://www.rightedgesystems.com/forums/Topic3190-7-1.aspx?Highlight=api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;About the second question .I am curious very much what the application can be ? has it its UI control?&lt;/P&gt;&lt;P&gt;or just runs strategy in the application ,what's result after the application run ?&lt;/P&gt;&lt;P&gt;Do you provide a simple sample for me ? thank you .I am a newer.</description><pubDate>Wed, 10 Feb 2010 03:12:21 GMT</pubDate><dc:creator>terryep</dc:creator></item><item><title>New price method?</title><link>http://www.rightedgesystems.com/forums/Topic10764-13-1.aspx</link><description>Hello,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) &lt;/STRONG&gt;I'm just starting to understand how Rightedge works, and I understand the newbar method which is called when a new bar is complete.&lt;BR&gt;I would like to backtest a forex system, for which I have 1 minute data (which is the shortest time frame data I have) and I assume that all prices from High to low of each bar are tradable.&lt;BR&gt;The question I have is: In some cases my stop orders should be filled in the same bar that the buy/sell conditions are evaluated. For example my buy stop condition is "if price crosses 1.4958 then buystop at 1.5000", but the bar opens at 1.4950 and closes at 1.5005.&lt;BR&gt;As I understand, if I use the newbar method the buystop order cannot be placed because the close of the bar has already passed the buystop price.&lt;BR&gt;I know that I'm taking a decision based on the close of the bar which is not possible in live trading but this is the only way to do it in backtesting.&lt;BR&gt;Is there any way to accomplish this in rightedge?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) &lt;/STRONG&gt;In "real time" my buy and sell conditions should be evaluated as a new tick arrives. &lt;BR&gt;Which method should be called in this case instead of newbar method?&lt;BR&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt; </description><pubDate>Wed, 10 Feb 2010 06:27:14 GMT</pubDate><dc:creator>pmxgs0</dc:creator></item><item><title>Load Optimization Results</title><link>http://www.rightedgesystems.com/forums/Topic10707-13-1.aspx</link><description>Is there a way to load optimization results?  I finished a 10000 run optimization which took about 30 hours to complete and was attempting to save the results to csv for analysis when RE crashed. &lt;br&gt;&lt;br&gt;Please advise.&lt;br&gt;&lt;br&gt;Thanks, Duane</description><pubDate>Sat, 06 Feb 2010 18:12:09 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>Open Positions in Live Mode before First Live Bar</title><link>http://www.rightedgesystems.com/forums/Topic10706-13-1.aspx</link><description>Is there any way to open live positions before the first live bar either via reflection or other mechanism?  Note, I've attempted to implement some of the existing reflection code in the forum but it appears that some of  the methods have been updated as the code does not appear to work directly.  &lt;br&gt;&lt;br&gt;The underlying feature request is for a live position editor because when RE throws an exception due to minor code changes, the positions end up out of sync with TWS.   R-esyncing to TWS currently requires a lot of manual effort.&lt;br&gt;&lt;br&gt;Also, what is preventing positions from being opened using historical data and appearing in the live system OpenPositions list?  That is, the system will attempt to open positions starting at the first live data start date but the OpenPosition.Count is returning 0 after an OpenPostion call.  I noticed that InLeadBars == true when the live system is executing the system with historical data but setting InLeadBars to false via reflection returns the same results.&lt;br&gt;&lt;br&gt;Please advise.&lt;br&gt;&lt;br&gt;Thanks, Duane&lt;br&gt;</description><pubDate>Sat, 06 Feb 2010 17:50:06 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>How to get current cash from the broker?</title><link>http://www.rightedgesystems.com/forums/Topic5485-13-1.aspx</link><description>I'm using the TWS plugin.  I can't figure out how to get current cash from the broker.  Any suggestions?</description><pubDate>Sun, 20 Apr 2008 16:18:37 GMT</pubDate><dc:creator>rolfe</dc:creator></item><item><title>Change Local Data Store Directory</title><link>http://www.rightedgesystems.com/forums/Topic10700-13-1.aspx</link><description>How do I change the local data store directory.  I need to move it to a hard drive that has more space.&lt;br&gt;&lt;br&gt;Thanks, Duane</description><pubDate>Fri, 05 Feb 2010 17:09:11 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>System closing live position during lead bar period</title><link>http://www.rightedgesystems.com/forums/Topic10552-13-1.aspx</link><description>Guys, i'm running a system on Edition 1 on corn ZC and it had carried a position across overnight.  It prompted me this morning on that position which &lt;br&gt;was fine but it seemed to close it internally (not on the broker IB) during the lead period&lt;br&gt;&lt;br&gt;in the closed positin tab it now has&lt;br&gt;&lt;br&gt;Entry Time = 21/01/2010 17:15      Exit Time 05/01/2010 18:35&lt;br&gt;&lt;br&gt;Exit time is before Entry Time ????&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 22 Jan 2010 12:29:37 GMT</pubDate><dc:creator>blousetrader</dc:creator></item><item><title>Backtesting order execution</title><link>http://www.rightedgesystems.com/forums/Topic10646-13-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I noticed my market order is executed on the next day close for every market order which my system generated. &lt;br&gt;&lt;br&gt;So for example, if the current close is 1 and the next day close is 2. If I generate long signal when the current close is 1, my long entry order will be executed on 2 (the next day close). Here's the code that I'm using:&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;position = OpenPosition(PositionType.Long, OrderType.Market, this.Close.Current, getPositionSize(stop_threshold));&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;I'm using RE2 Beta 14. Is this the right behaviour or somekind of bug?&lt;br&gt;&lt;br&gt;P.S:If my entry order is executed on next day open, that still makes sense, but next day close is quite weird to me.</description><pubDate>Sat, 30 Jan 2010 20:19:10 GMT</pubDate><dc:creator>felixtjung</dc:creator></item><item><title>0 price on NewTick()</title><link>http://www.rightedgesystems.com/forums/Topic10574-13-1.aspx</link><description>Why when I run live strategy which shows price every each tick, then sometimes (every 2-5 ticks) is 0?&lt;br&gt;[code]&lt;br&gt;	public override void NewTick(BarData partialBar, TickData tick)  {&lt;br&gt;		OutputMessage("NewTick(), price: "+tick.price);&lt;br&gt;	}&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;Ed.2 Beta 14</description><pubDate>Mon, 25 Jan 2010 15:00:22 GMT</pubDate><dc:creator>Largo</dc:creator></item><item><title>Yahoo data adjusted? Can we get a non-adjusted adapter?</title><link>http://www.rightedgesystems.com/forums/Topic2786-13-1.aspx</link><description>I was comparing the yahoo data to data from other providers.  I have noticed the data seems to be way off from what they display on the site.  I looked back, and it looks like they also present data for an adjusted close (that is what appears to be downloaded through RightEdge).  What are the pro's and con's of using this data, vs. the non-adjusted data?   I have been attempting to compare data between systems developed on WL, and some simple ones I have done on RightEdge.   The data I have in WL is not adjusted, while it is in yahoo.   &lt;P&gt;I think this actually would cause a major problem with my back-testing:  &lt;/P&gt;&lt;P&gt;Take for example this data on AA that was pulled with RE yahoo adapter for open :  &lt;/P&gt;&lt;P&gt;2/4/2003 17.79 &lt;/P&gt;&lt;P&gt;2/5/2003 18.21 &lt;/P&gt;&lt;P&gt;A difference of .42 , or 2.3% &lt;/P&gt;&lt;P&gt;The actual open for those two days were:  &lt;/P&gt;&lt;P&gt;19.59&lt;/P&gt;&lt;P&gt;19.90&lt;/P&gt;&lt;P&gt;A difference of .31, or 1.5%  &lt;/P&gt;&lt;P&gt;To me it would seem to cause problems with backtesting.  Indicators, and entry/exit signals would be thrown off by this data, and I don't think the results would be accurate.   Can someone confirm this for me?  Is it possible to get this data non-adjusted.  Maybe I should try open-tick (although I have seen problems with there daily data too), but before going down that road, I want to make sure I'm not going to run in to the same problem there.  </description><pubDate>Fri, 22 Jun 2007 20:44:57 GMT</pubDate><dc:creator>jibs76</dc:creator></item><item><title>Mini Contract Size question???</title><link>http://www.rightedgesystems.com/forums/Topic10553-13-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I just begin trialing RightEdge today. I'm a bit confused with the contract size. I noticed, you guys use signature "long" for position size. Does that means we can't place fractional order (e.g. 0.1) as in Micro/Mini contract (especially in forex)? I'm testing the edition 2 beta.&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Sat, 23 Jan 2010 07:20:40 GMT</pubDate><dc:creator>felixtjung</dc:creator></item><item><title>Equity Curve on Log Scale</title><link>http://www.rightedgesystems.com/forums/Topic10546-13-1.aspx</link><description>Is it possible to display the equity curve on a log scale?</description><pubDate>Thu, 21 Jan 2010 11:25:19 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>Max Open Positions / Symbols</title><link>http://www.rightedgesystems.com/forums/Topic10527-13-1.aspx</link><description>&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT color=#000000 size=3 face=Calibri&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT color=#000000 size=3 face=Calibri&gt;Let's say I'm sending a market order if the latest Tick is over my trigger:&lt;/FONT&gt;&lt;/P&gt;&lt;P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;public&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;override&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;void&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt; NewTick(BarData partialBar, TickData tick)&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;      &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;if&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt; (tick.price &amp;gt; longTrigger){&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;      &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;      &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;OpenPosition(PositionType.Long, OrderType.Market);&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;      &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;In the properties of the strategy I set: Max Open/symbol = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;Assume that my broker for some reason uses some time before the marketorder is filled. While the marketorder is pending, a new tick comes in above my trigger. What happens now? will RE rel.2 send a new order?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;I guess what I can rephrase the question as: Does the "Max Open/symbol" also count in pending positions?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt"&gt;Chris..&lt;/SPAN&gt;</description><pubDate>Mon, 18 Jan 2010 05:19:59 GMT</pubDate><dc:creator>NNNKT</dc:creator></item><item><title>Showing Company Names on Charts</title><link>http://www.rightedgesystems.com/forums/Topic10513-13-1.aspx</link><description>Is there any way to show the company name on a chart?&lt;br&gt;&lt;br&gt;At the moment I have a folder of indexes with names like $CR $DJ $DJLI $DX $FT $HS $NK $SC $SP $VIX $XI $XAO and when clicking on them the index/company name is not shown. As they are not to easy to remember is there a way to show the company name on a chart?&lt;br&gt;&lt;br&gt;It would help with stocks as well.&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Sat, 16 Jan 2010 02:38:13 GMT</pubDate><dc:creator>jimbob</dc:creator></item><item><title>Papertrading vs. Backtesting - Execution at unrealistic prices (outside of candle!)</title><link>http://www.rightedgesystems.com/forums/Topic10040-13-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I did a papertest today and compared afterwards the simulation results of the same system to the papertest results.&lt;/P&gt;&lt;P&gt;The comparison was quite astonishing, as I had out of 4 trades only 1 that was executed nearly the same (apart from slippage).&lt;/P&gt;&lt;P&gt;I analyzed the main root causes and found a couple of reasons.&lt;/P&gt;&lt;P&gt;One of them is, that I have one "phantom trade" in the backtest, where I get an limit entry order filled in simulation at a price, that is never reached in the bar. In reality, this trade is never done, because the limit price is simply not reached. Funny thing is, RE is showing quite clearly in the chart, that the price is not reached. :-) What could be the reason for that?&lt;/P&gt;&lt;P&gt;Screenshot showing the chart with the phantom price is attached&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amin</description><pubDate>Fri, 20 Nov 2009 18:47:06 GMT</pubDate><dc:creator>Amin</dc:creator></item><item><title>New exception value (key) can not be null</title><link>http://www.rightedgesystems.com/forums/Topic10464-13-1.aspx</link><description>Hello,&lt;/P&gt;&lt;P&gt;I got a new exception thrown today. Not sure, what key the exception is actually referring to, I guess it's the symbol's key.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Amin&lt;/P&gt;&lt;P&gt;An exception of type System.InvalidOperationException was thrown.&lt;BR&gt;Exception thrown while processing message: PortfolioValue&lt;BR&gt;   at Krs.Ats.IBNet.IBClient.ProcessMsg(IncomingMessage msgId)&lt;BR&gt;   at Krs.Ats.IBNet.IBClient.Run()&lt;BR&gt;   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;BR&gt;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;BR&gt;   at System.Threading.ThreadHelper.ThreadStart()&lt;/P&gt;&lt;P&gt;Inner Exception:&lt;BR&gt;An exception of type System.ArgumentNullException was thrown.&lt;BR&gt;Value cannot be null.&lt;BR&gt;Parameter name: key&lt;BR&gt;   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)&lt;BR&gt;   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)&lt;BR&gt;   at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue&amp;amp; value)&lt;BR&gt;   at RightEdge.Common.EnumUtil`1.Parse(String s)&lt;BR&gt;   at RightEdge.TWSCSharpPlugin.TWSAssetArgs.GetRECurrency(String IBCurrency)&lt;BR&gt;   at RightEdge.TWSCSharpPlugin.TWSAssetArgs.SymbolFromContract(Contract contract)&lt;BR&gt;   at RightEdge.TWSCSharpPlugin.TWSPlugin.client_UpdatePortfolio(Object sender, UpdatePortfolioEventArgs e)&lt;BR&gt;   at Krs.Ats.IBNet.IBClient.RaiseEvent[T](EventHandler`1 event, Object sender, T e)&lt;BR&gt;   at Krs.Ats.IBNet.IBClient.OnUpdatePortfolio(UpdatePortfolioEventArgs e)&lt;BR&gt;   at Krs.Ats.IBNet.IBClient.updatePortfolio(Contract contract, Int32 position, Decimal marketPrice, Decimal marketValue, Decimal averageCost, Decimal unrealizedPNL, Decimal realizedPNL, String accountName)&lt;BR&gt;   at Krs.Ats.IBNet.IBClient.ProcessMsg(IncomingMessage msgId)</description><pubDate>Tue, 12 Jan 2010 03:22:13 GMT</pubDate><dc:creator>Amin</dc:creator></item><item><title>Finding the average period for a indicator</title><link>http://www.rightedgesystems.com/forums/Topic10448-13-1.aspx</link><description>I have an indicator that shows me the trend of the underlying stock which works as expected but I want to do some analysis on it and I am stuck on how to do it.&lt;br&gt;&lt;br&gt;It has readings for the trend strength and when it goes above zero I want to find out on average how many days it stays above 0.&lt;br&gt;&lt;br&gt;So on one stock over its life it can go above 0 for x days and then fall back below 0. Each stock may have any  number of periods above 0 so I need a way to count the number of bars in each period above 0 and then calculate the average number of bars &gt; 0 for each stock.&lt;br&gt;&lt;br&gt;At the moment I have a user series that shows 1 if &gt; 0 and 0 if &lt;0 but what would be a good way to loop through each section and calculate the average period &gt; 0?&lt;br&gt;&lt;br&gt;Any ideas?&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 08 Jan 2010 23:50:00 GMT</pubDate><dc:creator>jimbob</dc:creator></item><item><title>Problems with partial fills</title><link>http://www.rightedgesystems.com/forums/Topic10355-13-1.aspx</link><description>Hello,&lt;/P&gt;&lt;P&gt;during the low activity days around the holidays I discovered a new issue regarding partial fills. I got the following exception:&lt;/P&gt;&lt;P&gt;A Short order (41: Limit Short EUR/CHF  @ 1,4889 104000/400000: &lt;A href="mailto:84000@1,4889"&gt;84000@1,4889&lt;/A&gt;, &lt;A href="mailto:20000@1,4889"&gt;20000@1,4889&lt;/A&gt; - Partially Filled) with a size of 400000 was filled on position ID 206 which was closed.&lt;BR&gt;   at RightEdge.Common.PositionManager.HandlePositionOverfilled(PositionData pos, PositionState posState, BrokerOrder order, Fill fill, TradeType tradeType, String description)&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.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;broker_orderUpdated&amp;gt;b__0(Object )&lt;BR&gt;   at RightEdge.Shared.CallbackStub.DoCallback()&lt;/P&gt;&lt;P&gt;When I get a partial fill of an entry order the order with the remaining quantity remains active. That is fine for the actual bar, but the order does not get cancelled at the next bar as the original order would have been. That leads to a couple of issues. E.g. if you have an order placed that you would like to get executed at a certain situation, but you only want to have this order within this bar, usually you simply do not place an order at the next bar. But if the order got filled partially the remaining order remains placed forever.&lt;/P&gt;&lt;P&gt;The next problem arises, when the open order gets partially filled and is closed later. That is when I got the exception. The open order was partially filled, my system does not place any other open orders, once a position is opened until the current position is closed. Then the partially opened order was closed correctly. Even at that point in time, the remaining opening order was still active! Then some bars later a new open order was placed and RE caused the exception as it got confused about the still active old entry order.&lt;/P&gt;&lt;P&gt;I would recommend to treat remaining orders the same way as the original orders would be handled: Cancel open orders at the next bar and leave exit orders in place.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amin</description><pubDate>Tue, 29 Dec 2009 06:11:08 GMT</pubDate><dc:creator>Amin</dc:creator></item><item><title>Number of Trades incorrect in System Summary</title><link>http://www.rightedgesystems.com/forums/Topic10395-13-1.aspx</link><description>The number of trades on the System Summary is incorrect.  I verified by counting the trades individually.</description><pubDate>Thu, 31 Dec 2009 11:11:36 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>Symbols from Different Services</title><link>http://www.rightedgesystems.com/forums/Topic10362-13-1.aspx</link><description>I have set up to two identical symbol folders with identical symbols but configured with different historical data services.  It appears that if I attempt to download data into each folder, it always reverts back to the data downloaded from the 1st service that downloaded data.  Am I doing something wrong?</description><pubDate>Tue, 29 Dec 2009 11:20:58 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>Multiple Time Frames</title><link>http://www.rightedgesystems.com/forums/Topic10352-13-1.aspx</link><description>I am trying to run a sim that uses daily and weekly time frames but not sure when the bars for the weekly time frame get created.&lt;br&gt;&lt;br&gt;I have daily data and create weekly bars from it.&lt;br&gt;&lt;br&gt;In my newweekly bar sub I have :&lt;br&gt;OutputMessage(WeeklyFreq.Bars.Current.BarStartTime.ToString &amp; " " &amp; monday.ToString)&lt;br&gt;&lt;br&gt;It outputs data for each week except the last (current) week. So if today is Tuesday it does not have a weekly bar for Monday and Tuesday. I thought this would have been a partial bar using Monday's open and Tuesday close. Is this not the case?&lt;br&gt;&lt;br&gt;Is the weekly bar only created on a Friday?&lt;br&gt;&lt;br&gt;If that is the case how do I a use a weekly indicator mid week?&lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 28 Dec 2009 22:21:13 GMT</pubDate><dc:creator>jimbob</dc:creator></item><item><title>Last bar of data set</title><link>http://www.rightedgesystems.com/forums/Topic10317-13-1.aspx</link><description>Is there any way to tell if you are on the last bar of the data set?&lt;br&gt;&lt;br&gt;I want to output/email some info but only if it is the last bar of the dataset.</description><pubDate>Wed, 23 Dec 2009 18:04:22 GMT</pubDate><dc:creator>jimbob</dc:creator></item><item><title>Invalid Futures Symbol - IQFeed</title><link>http://www.rightedgesystems.com/forums/Topic10253-13-1.aspx</link><description>From my previous post, options are now working well.  There appears to be a different issue with future symbols from IQFeed.  I verified that the following symbols are valid and received via their diagnostics tool:  WH0 and W#.  The symbols were set to a bar frequency of 1 hour.  Can anyone help?&lt;br&gt;&lt;br&gt;Thanks, Duane</description><pubDate>Mon, 14 Dec 2009 17:15:45 GMT</pubDate><dc:creator>dwebber</dc:creator></item><item><title>BAS.DE is not loaded correctly from yahoo</title><link>http://www.rightedgesystems.com/forums/Topic10214-13-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;loading from Yahoo works fine for me, in general. But one stock (BAS.DE) gives me unresolved questions. When I load the stock the figures in 2009 are correct but not in 2000.&lt;/P&gt;&lt;P&gt;When I remove and purge the symbol and reload it is load again wrong. But the reload is too fas. Normaly it takes some time to load more than 2000 entries.&lt;/P&gt;&lt;P&gt;What is going onß&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mustafa</description><pubDate>Wed, 09 Dec 2009 06:08:54 GMT</pubDate><dc:creator>mustafaoe</dc:creator></item></channel></rss>