﻿<?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>Tue, 14 Oct 2008 09:48:52 GMT</lastBuildDate><ttl>20</ttl><item><title>it can plot MACD automatically ?</title><link>http://www.rightedgesystems.com/forums/Topic6624-18-1.aspx</link><description>when i run the code below, i can not find the MACD pane~~&lt;/P&gt;&lt;P&gt;pls help me ~~thanks a lot~~&lt;/P&gt;&lt;P&gt;public class MySymbolScript : MySymbolScriptBase&lt;BR&gt;{&lt;BR&gt; // Create a standard MACD indicator with a 12 period fast&lt;BR&gt; // line and a 26 period slow line.&lt;BR&gt; MACD MACD = new MACD(12, 26);&lt;BR&gt; &lt;BR&gt; // Now construct the signal line using a 9 period&lt;BR&gt; // EMA which will use the MACD instance as input.&lt;BR&gt; EMA MACDSignal = new EMA(9);&lt;BR&gt; public override void Startup()&lt;BR&gt; {&lt;BR&gt;  // Calculate the MACD using the closing price of the bar.&lt;BR&gt;  MACD.SetInputs(Close);&lt;BR&gt; &lt;BR&gt;  // Set the line color to blue&lt;BR&gt;  MACD.ChartSettings.Color = Color.Blue;&lt;/P&gt;&lt;P&gt;  // Draw the MACD on it's own chart pane named "MACD".&lt;BR&gt;  MACD.ChartSettings.ChartPaneName = "MACD";&lt;BR&gt;  &lt;BR&gt;  // Chain the EMA to the MACD indicator&lt;BR&gt;  MACDSignal.SetInputs(MACD);&lt;BR&gt;  &lt;BR&gt;  // Set the line color to black&lt;BR&gt;  MACDSignal.ChartSettings.Color = Color.Black;&lt;/P&gt;&lt;P&gt;  // Draw the signal line on the same pane as MACD&lt;BR&gt;  MACDSignal.ChartSettings.ChartPaneName = "MACD";&lt;/P&gt;&lt;P&gt;  // Make the signal line dashed&lt;BR&gt;  MACDSignal.ChartSettings.LineType = SeriesLineType.Dashed;  &lt;BR&gt; }&lt;BR&gt;}</description><pubDate>Wed, 10 Sep 2008 11:03:53 GMT</pubDate><dc:creator>leesnet</dc:creator></item><item><title>Newbie Programming Questions</title><link>http://www.rightedgesystems.com/forums/Topic6544-18-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;1. Is it possible to have a profit target in points or $ instead of percentage? For example trading the ES (e-mini S&amp;amp;P), to have a profit target of 3 points or $150? Is it possible with the drag and drop method or just programming?&lt;/P&gt;&lt;P&gt;2. Is there a simple to way to make a simple moving average that has this formula: (SMA(High+Low+Close) / 3, 10), basically a simple average of the High+Low+Close divided by 3 over a period of 10 bars? Or is this only possible with programming?&lt;/P&gt;&lt;P&gt;3. If I can learn C#, can I create any system I can think of, no matter how many filters, rules, indicators, etc, with the only limitation being my knowledge of C#?&lt;/P&gt;&lt;P&gt;4. Is it better to have one system that includes a crossover and a cross under for both buy and sell signals or to have 2 systems, one for the crossover buys and one for the crossover sells?&lt;/P&gt;&lt;P&gt;5. Can you tell your system to buy the close of the bar that initiated the crossover minus 1 point? For example the close of the bar that had the crossover was 1298 so I would like to send a limit order to buy at 1297 and if the order is not filled within the next 10 bars, to cancel the order?&lt;/P&gt;&lt;P&gt;I have downloaded the demo version and I created a very simple exponential moving average system but I would like to modify it but I can't seem to be able to do it via drag and drop.&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Sun, 31 Aug 2008 21:59:41 GMT</pubDate><dc:creator>olobay</dc:creator></item><item><title>how can I plot singal on the chart?</title><link>http://www.rightedgesystems.com/forums/Topic6596-18-1.aspx</link><description>if i open position ,how can i plot signal on the chart&lt;FONT color=#dd3333&gt; programmatically&lt;/FONT&gt; ?&lt;P&gt;&lt;FONT color=#11bb11&gt;for example:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color=#11bb11&gt;&lt;SPAN class=highlight-comment&gt;// Setup our X coordinates.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#11bb11&gt;&lt;SPAN class=highlight-comment&gt;&lt;/SPAN&gt;&lt;FONT color=#111133&gt;DateTime point = DateTime.Now.AddDays(&lt;SPAN class=highlight-number&gt;-10&lt;/SPAN&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#11bb11&gt;&lt;SPAN class=highlight-comment&gt;// Create the label object.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#11bb11&gt;&lt;SPAN class=highlight-comment&gt;&lt;/SPAN&gt;&lt;FONT color=#111155&gt;ChartLabel label = &lt;SPAN class=highlight-keyword&gt;new&lt;/SPAN&gt; ChartLabel(&lt;SPAN class=highlight-keyword&gt;new&lt;/SPAN&gt; ChartPoint(point, &lt;SPAN class=highlight-number&gt;25.00&lt;/SPAN&gt;), &lt;SPAN class=highlight-literal&gt;"Hello World"&lt;/SPAN&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#11bb11&gt;&lt;SPAN class=highlight-comment&gt;// Add this object to the chart.  "symbol" would equal the current symbol object in the system.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#11bb11&gt;&lt;SPAN class=highlight-comment&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#111133&gt;ChartObjects.Add(symbol, label);&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#111133&gt;But,builder output "fail"~~&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;Who can help me ?&lt;/PRE&gt;&lt;PRE&gt; &lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#111133&gt;&lt;/FONT&gt; &lt;/PRE&gt;</description><pubDate>Sat, 06 Sep 2008 13:05:26 GMT</pubDate><dc:creator>leesnet</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>Volume Pane High</title><link>http://www.rightedgesystems.com/forums/Topic6357-18-1.aspx</link><description>Hi!&lt;/P&gt;&lt;P&gt;How can I change the size of the volume pane in C#?&lt;/P&gt;&lt;P&gt;Thanks, DH</description><pubDate>Wed, 13 Aug 2008 08:48:52 GMT</pubDate><dc:creator>dh</dc:creator></item><item><title>ADO.NET and SQL Server references</title><link>http://www.rightedgesystems.com/forums/Topic6156-18-1.aspx</link><description>I added the System.Data reference but the intellisense doesn't seem to see it.  Whats going on here?&lt;/P&gt;&lt;P&gt;Jason</description><pubDate>Thu, 17 Jul 2008 11:58:24 GMT</pubDate><dc:creator>jayt696969</dc:creator></item><item><title>Optimize a system</title><link>http://www.rightedgesystems.com/forums/Topic6125-18-1.aspx</link><description>Hi I am writing my system in C#. It is a very simple one that uses moving averages as signals for buy and sell.&lt;P&gt;How do I declare the variables, i.e. the periods for the mov. avg. so that I can run the system and optimize it to find out what is the optimal length for each period.&lt;P&gt;Thanks..</description><pubDate>Mon, 14 Jul 2008 07:39:54 GMT</pubDate><dc:creator>agragr</dc:creator></item><item><title>user graph indicator?</title><link>http://www.rightedgesystems.com/forums/Topic6109-18-1.aspx</link><description>I see chart objects and constants but is there a way to create a user indicator?&lt;/P&gt;&lt;P&gt;In other words, I have a list of points that I want to graph in a pane; How would this be done in code? &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;It's probably staring me right in the face... I just need some help turning my head  ;-)&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Walt</description><pubDate>Wed, 09 Jul 2008 19:44:14 GMT</pubDate><dc:creator>hairy_mug</dc:creator></item><item><title>Quick-Start Template (VB)</title><link>http://www.rightedgesystems.com/forums/Topic6105-18-1.aspx</link><description>this template is an easy way to implement and optimize your trading ideas.&lt;/P&gt;&lt;P&gt;It has pre-defined "condition groups":&lt;/P&gt;&lt;P&gt;pre-entry, entry, pre-exit, and exit.&lt;/P&gt;&lt;P&gt;Each group has 5 conditions which you set to your indicators. After all the pre-conditions have been met, it then waits 3 bars and then tests the entry conditions. If these are met an order is submitted.&lt;/P&gt;&lt;P&gt;Exit works the same way; pre-exit then three days exit...&lt;/P&gt;&lt;P&gt;Everything is adjustable and it uses system parameters to setup. Short and long trades are supported but one one  position per symbol.&lt;/P&gt;&lt;P&gt;A simple "moving average crossover" has been coded to show how it works...&lt;/P&gt;&lt;P&gt;AND, by optimizing the group "seq" it will show the effect ignoring a condition...&lt;/P&gt;&lt;P&gt;Enjoy!&lt;/P&gt;&lt;P&gt;Walt</description><pubDate>Tue, 08 Jul 2008 22:44:43 GMT</pubDate><dc:creator>hairy_mug</dc:creator></item><item><title>DateTime from Iseries?</title><link>http://www.rightedgesystems.com/forums/Topic5946-18-1.aspx</link><description>How can I retrieve the date time of the specific bar at LookBack(0) within my indicator? The indicator derives from SeriesCalcSimple and has one series input (another indicator). I'm trying to reset the indicator on new day.&lt;/P&gt;&lt;P&gt;thx</description><pubDate>Sat, 14 Jun 2008 20:41:20 GMT</pubDate><dc:creator>DoQ</dc:creator></item><item><title>question about "Public  Overloads Overrides  Sub NewBar()"</title><link>http://www.rightedgesystems.com/forums/Topic5774-18-1.aspx</link><description>if I declare "sub newBar()" in the "MySystem" class:&lt;/P&gt;&lt;P&gt;Public Class MySystem&lt;BR&gt; Inherits MySystemBase&lt;BR&gt; &lt;BR&gt; Public  Overloads Overrides  Sub NewBar()&lt;BR&gt; ...&lt;BR&gt; end sub&lt;BR&gt;end class&lt;/P&gt;&lt;P&gt;The "sub newBar" in the "&lt;FONT face="Courier New" size=2&gt;MySymbolScript" class does not get called...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;Both of the subs are declared "&lt;FONT face=Verdana&gt; Public  Overloads Overrides  Sub NewBar()".&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If I remove the sub in the "mySystem" class then the "sub newbar()" in "&lt;FONT face="Courier New" size=2&gt;MySymbolScript" class &lt;/FONT&gt;works.&lt;/P&gt;&lt;P&gt;Is it possible to declare the subs so they both are called?&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Sat, 24 May 2008 22:13:00 GMT</pubDate><dc:creator>hairy_mug</dc:creator></item><item><title>Novice Coding Query</title><link>http://www.rightedgesystems.com/forums/Topic5186-18-1.aspx</link><description>Hi All,&lt;/P&gt;&lt;P&gt;Given that I am a coding novice, any assistance with coding the below would be greatly appreciated. I am looking to….&lt;/P&gt;&lt;P&gt;Buy on stop (intrabar) as the current price moves above the previous bars high.&lt;/P&gt;&lt;P&gt;Also, does anyone have any sample code they could share for using multiple profit targets to exit a single position? &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Tim&lt;BR&gt;</description><pubDate>Sun, 30 Mar 2008 05:43:38 GMT</pubDate><dc:creator>Tfrog</dc:creator></item><item><title>Code Snippets</title><link>http://www.rightedgesystems.com/forums/Topic4944-18-1.aspx</link><description>One of the handier features in recent years is code snippets.  Microsoft introduced it into their editor in Visual Studio 2005.  As of 1.2 our editor has support for code snippets.  If you're not familiar with them, allow me to give you a rundown.  This will also be added to the documentation for future reference.&lt;/P&gt;&lt;P&gt;A code snippet is a fragment of code that you can store for reuse within the code editor at a later time.  Microsoft introduced an open standard for code snippets starting with Visual Studio 2005.  The editor honors this format.  RightEdge ships with a number of code snippets that are contained in the AppData\Snippets directory.  There are code snippets for both C# and Visual Basic. &lt;/P&gt;&lt;P&gt;When a code snippet is activated, it inserts its text into the editor.  If there are fields declared in the code snippet, they are highlighted within the inserted code.  This easily facilitates naming items that are typically variable but are required to complete the code snippet.  To move around these fields, hit the Tab key.  To indicate that all fields have been named, hit the Enter key.  If more than one field use the same declaration, then the secondary fields are flagged as dependent on the primary field for the declaration.  They automatically update whenever the text in the primary field is updated. &lt;/P&gt;&lt;P class=p_Heading1&gt;&lt;SPAN class=f_Heading1&gt;&lt;STRONG&gt;&lt;FONT size=4&gt;Using Code Snippets&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To use a code snippet, begin typing the shortcut within the editor &amp;#119;indow.  For example, to create a class definition, start by typing the word 'class' onto an empty line followed by the tab key.  The code will be auto-generated and allow you to define your class name.  Code snippets may also be invoked via the &lt;SPAN style="FONT-STYLE: italic"&gt;Insert Snippet&lt;/SPAN&gt; command on the &lt;SPAN style="FONT-STYLE: italic"&gt;Edit&lt;/SPAN&gt; menu or by right clicking in the editor window and selecting &lt;SPAN style="FONT-STYLE: italic"&gt;Insert Snippet&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://www.rightedgesystems.com/forums/Uploads/Images/59a3b208-158a-4e93-890c-b0d6.png"&gt;&lt;/P&gt;&lt;P&gt;The up and down arrow keys also allow for selection of items in the list.  The Tab and Enter keys pick the selected folder or code snippet, while the Escape key cancels the popup.  If a folder is picked, the folder is traversed into and its contents are displayed in the list.  Code snippets are grouped in the list through a directory structure on disk.  The name shown in the list for each snippet indicates the shortcut name that will invoke this snippet when typed into the editor.&lt;/P&gt;&lt;P&gt;In the sample below, prop followed by the Tab key were entered into the editor window to invoke a property snippet.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://www.rightedgesystems.com/forums/Uploads/Images/46c496fb-0d93-4a82-a17a-2a26.png"&gt;&lt;/P&gt;&lt;P&gt;If a code snippet requires additional items, these fields are highlighted and represent the regions of text that need to be edited to complete the code snippet.  While the caret is in a field, the Tab key can be used to navigate to the next field. Likewise, Shift+Tab navigates to the previous field. &lt;/P&gt;&lt;P&gt;The active field is drawn with a line around it.  Sometimes a field refers to a declaration that is used in multiple places within the code snippet.  In that case, only the first field is designated as editable.  When its value changes, the other fields that are dependent on it automatically update.  The dependent fields are drawn with a dotted line around them.&lt;/P&gt;&lt;P class=p_Heading1&gt;&lt;SPAN class=f_Heading1&gt;&lt;FONT size=4&gt;&lt;STRONG&gt;Creating Code Snippets&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As mentioned, RightEdge ships with a number of code snippets that are ready to use.  In some cases it may be desirable to create your own code snippets.  The snippets follow the format put forth by Microsoft.&lt;/P&gt;&lt;P&gt;A code snippet is simple an XML-formatted file on the file system that contains a .snippet extension.  These are placed in RightEdge's AppData\Snippets folder underneath the corresponding folder (C# and VB.NET).  The code snippets that ship with RightEdge can be examined and changed with any text editor.  The full schema definition can be found in the Visual Studio documentation.&lt;/P&gt;&lt;P&gt;The example below is a quick analysis of the basic nodes within a code snippet file.  This snippet is the contents of the current close snippet. &lt;/P&gt;&lt;P class=p_CodeExample&gt;&lt;SPAN class=f_CodeExample&gt;[code]&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR&gt;&amp;lt;CodeSnippets  xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"&amp;gt;&lt;BR&gt;       &amp;lt;CodeSnippet Format="1.0.0"&amp;gt;&lt;BR&gt;               &amp;lt;Header&amp;gt;&lt;BR&gt;                       &amp;lt;Title&amp;gt;Current Close&amp;lt;/Title&amp;gt;&lt;BR&gt;                       &amp;lt;Shortcut&amp;gt;close&amp;lt;/Shortcut&amp;gt;&lt;BR&gt;                       &amp;lt;Description&amp;gt;Code snippet for current close value&amp;lt;/Description&amp;gt;&lt;BR&gt;                       &amp;lt;Author&amp;gt;Yye Software&amp;lt;/Author&amp;gt;&lt;BR&gt;               &amp;lt;/Header&amp;gt;&lt;BR&gt;               &amp;lt;Snippet&amp;gt;&lt;BR&gt;                       &amp;lt;Code Language="csharp"&amp;gt;&amp;lt;![CDATA[Close.CurrentValue]]&amp;gt;&lt;BR&gt;                       &amp;lt;/Code&amp;gt;&lt;BR&gt;               &amp;lt;/Snippet&amp;gt;&lt;BR&gt;       &amp;lt;/CodeSnippet&amp;gt;&lt;BR&gt;&amp;lt;/CodeSnippets&amp;gt;[/code]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=p_CodeExample&gt;Each code snippet starts with a &amp;lt;CodeSnippets&amp;gt; tag and the &amp;lt;CodeSnippet&amp;gt; itself is contained within.  The first four lines and the last three lines of the file should never need modification.&lt;/P&gt;&lt;P&gt;The &amp;lt;Header&amp;gt; blocks contain information about the code snippet.  The title of the code snippet is a descriptive name.  The shortcut is used to allow the developer to quickly invoke this code snippet.&lt;/P&gt;&lt;P&gt;The &amp;lt;Snippet&amp;gt; tag itself contains the meat of the snippet definition.  The language is specified in the &amp;lt;Code&amp;gt; tag followed by a CDATA element that contains the actual code that is inserted.  This simple example takes no parameters.&lt;/P&gt;&lt;P&gt;Once you have a firm understanding of this example, consider opening some of the more complicated snippets, especially those taking parameters to realize the full power of code snippets.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;Note:&lt;/SPAN&gt; The editor window loads the code snippets when it is opened.  If you modify or create a code snippet, simply close all editor window instances and load them again.</description><pubDate>Tue, 18 Mar 2008 18:59:07 GMT</pubDate><dc:creator>billb</dc:creator></item><item><title>Fibonacci Number Generator</title><link>http://www.rightedgesystems.com/forums/Topic4495-18-1.aspx</link><description>&lt;A href="http://www.hanselman.com/blog/TheWeeklySourceCode13FibonacciEdition.aspx"&gt;http://www.hanselman.com/blog/TheWeeklySourceCode13FibonacciEdition.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ran across this on the Visual Studio start page.  Fibs are used in trading quite a bit.  This article gets down to the nuts and bolts of fib number generation and how to do it in 5 different languages (including C# and F#).  Might be a good starting point for someone.</description><pubDate>Thu, 31 Jan 2008 08:21:23 GMT</pubDate><dc:creator>billb</dc:creator></item><item><title>Dictionary Question</title><link>http://www.rightedgesystems.com/forums/Topic4711-18-1.aspx</link><description>Hello Everyone,&lt;br&gt;&lt;br&gt;.... I've been thinking about this but I don't know how to solve it:&lt;br&gt;&lt;br&gt;When looping through a dictionary derived class with foreach, how do I get back to the key of the object. For example the dictionary holds &lt;Timecode&gt; as the key and &lt;Any Object&gt;, I will have a variable for the &lt;Any Object&gt; in the for each loop but how do I retrieve the key &lt;TimeCode&gt; from this object?&lt;br&gt;&lt;br&gt;Many thanks - Christian&lt;br&gt;</description><pubDate>Wed, 27 Feb 2008 09:28:22 GMT</pubDate><dc:creator>cendter</dc:creator></item><item><title>When exactly does NewSymbolBar get called?</title><link>http://www.rightedgesystems.com/forums/Topic4148-18-1.aspx</link><description>Hi there. I am trying to learn how RightEdge operates, and would like to know what exactly happens when NewSymbolBar(Symbol symbol, BarData bar) is called. &lt;br&gt;&lt;br&gt;Specifically, when this method is called, is the bar collection for the entire collection of symbols that I'm watching updated at that point, or only the bars for the current symbol? In historical/simulation mode, it looks like the entire collection of symbols is updated. Does a live system operate the same way, or is it multi-threaded, and thus the bar data is updated independently for each symbol - hence when we look at bar data for other symbols within this method, we have no guarantee we have the most recent bar ?&lt;br&gt;&lt;br&gt;Also - what happens when NewBarInfo is called? For a daily frequency, would this include all the new bars for the symbols under watch?&lt;br&gt;&lt;br&gt;Thanks!</description><pubDate>Wed, 26 Dec 2007 18:06:58 GMT</pubDate><dc:creator>invingator</dc:creator></item><item><title>C# question - indexer property</title><link>http://www.rightedgesystems.com/forums/Topic4432-18-1.aspx</link><description>Hi there,&lt;br&gt;&lt;br&gt;Slightly off topic - I need to encapsulate an n-dimensional array in a class and want to have access to it via a property but I'm not sure how to do it. For example, the class appartment contains the fields Rent[t, s] and Costs[t,s] - is there a way to do something in C# so that it is readable/writable as Appartment1.Rent[t,s] = 1 etc.&lt;br&gt;&lt;br&gt;Of course one could do it via a method but then the read/write requires two methods. Alternatively, I could use one big array as a public field and add an index so that 0 means Rent and 1 means Costs but then people need to keep track of the indices .... I think it's clear what I mean.&lt;br&gt;&lt;br&gt;Any ideas?&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;&lt;br&gt;C.</description><pubDate>Thu, 24 Jan 2008 03:53:01 GMT</pubDate><dc:creator>cendter</dc:creator></item><item><title>Porting 1.0 to 1.1 - BarCollections</title><link>http://www.rightedgesystems.com/forums/Topic4269-18-1.aspx</link><description>This has been mentioned but I'll post again for reference as I had to make changes and willl have to repeat again in other systems not yet ported. &lt;/P&gt;&lt;FONT face="Courier New" size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#006400 size=2&gt;//From:&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;&lt;P&gt;SystemData.BarCollections[symbol]&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#006400 size=2&gt;//To:&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;&lt;P&gt;SystemData.SystemBars[symbol]&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#006400 size=2&gt;//From:&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;&lt;P&gt;List&amp;lt;BarData&amp;gt; bars&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#006400 size=2&gt;//To:&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;&lt;P&gt;IList&amp;lt;BarData&amp;gt; bars&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 11 Jan 2008 23:06:17 GMT</pubDate><dc:creator>DoQ</dc:creator></item><item><title>Porting 1.0 to 1.1 - OrderFilled</title><link>http://www.rightedgesystems.com/forums/Topic4260-18-1.aspx</link><description>I see that the params for Orderfilled have changed. Is it safe to assume that the functionality remains the same and simply modifying existing code to use these params will suffice?&lt;/P&gt;&lt;P&gt;thx</description><pubDate>Thu, 10 Jan 2008 15:01:54 GMT</pubDate><dc:creator>DoQ</dc:creator></item><item><title>Porting 1.0 to 1.1 - NetProfit</title><link>http://www.rightedgesystems.com/forums/Topic4250-18-1.aspx</link><description>I've been trying to compile a system with many errors in 1.1. Since its taken way too long to figure out on my own I'll start posting some errors and see if i can get help. The first error seems to be at runtime when I try to create an indicator called NetProfit. Here is the error:&lt;P&gt;An exception of type System.Runtime.Serialization.SerializationException was thrown.&lt;BR&gt;Type 'RightEdge.Common.SystemData' in Assembly 'Common, Version=1.1.0.0, Culture=neutral, PublicKeyToken=825834b19e38a0a8' is not marked as serializable.&lt;BR&gt;   at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)&lt;BR&gt;   at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)&lt;BR&gt;   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()&lt;BR&gt;   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)&lt;BR&gt;   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)&lt;BR&gt;   at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)&lt;BR&gt;   at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)&lt;BR&gt;   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)&lt;BR&gt;   at RightEdge.Common.SymbolIndicatorCollection.CreateIndicator(ISeries indicator)&lt;BR&gt;   at SystemMain.Startup() in c:\...\System.cs:line 95&lt;BR&gt;   at RightEdge.Common.SystemBase.Startup(SystemData data)&lt;BR&gt;   at RightEdge.SystemWrapper.x48e933368eb7e155(SystemData xf8b17e246221600d, SystemRunInfo x43db333cad062ed2)&lt;BR&gt;   at RightEdge.SystemWrapper.x52ef4d2a0d98271a(SystemData x98d4678c2951cc7a, SystemRunInfo x9d1811d594cb536b, Dictionary`2 x2c50334dbe0bafd0, String xe7444de1f6d6a785)&lt;BR&gt;   at RightEdge.SystemWrapper.RunSystem(DateTime start, String filename)&lt;BR&gt;   at RightEdge.SystemWrapper.RunSystem(DateTime start, String filename)&lt;BR&gt;   at RightEdge.TradingModuleWrapper.RunSystem(SystemDataCreationSettings settings, Dictionary`2 historicalData, SystemRunInfo dndInfo, String brokerService)&lt;BR&gt;   at RightEdge.SystemProgress.InitAndRunSystem()&lt;/P&gt;&lt;P&gt;Here are Lines 94 - 100:&lt;/P&gt;&lt;FONT face="Courier New" size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#006400 size=2&gt;// NetProfit Line.&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;&lt;P&gt;Indicators[&lt;/FONT&gt;&lt;FONT face="Courier New" color=#800000 size=2&gt;"NetProfit"&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; ].CreateIndicator(&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; NetProfit(&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;));&lt;/P&gt;&lt;P&gt;Indicators[&lt;/FONT&gt;&lt;FONT face="Courier New" color=#800000 size=2&gt;"NetProfit"&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;].SeriesColor = Color.LightSeaGreen;&lt;/P&gt;&lt;P&gt;Indicators[&lt;/FONT&gt;&lt;FONT face="Courier New" color=#800000 size=2&gt;"NetProfit"&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;].LineType = SeriesLineType.Histogram;&lt;/P&gt;&lt;P&gt;Indicators[&lt;/FONT&gt;&lt;FONT face="Courier New" color=#800000 size=2&gt;"NetProfit"&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;].LineSize = &lt;/FONT&gt;&lt;FONT face="Courier New" color=#800080 size=2&gt;4&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;;&lt;/P&gt;&lt;P&gt;Indicators[&lt;/FONT&gt;&lt;FONT face="Courier New" color=#800000 size=2&gt;"NetProfit"&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; ].ChartPaneName = &lt;/FONT&gt;&lt;FONT face="Courier New" color=#800000 size=2&gt;"NetProfit"&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;;&lt;/P&gt;&lt;P&gt;Indicators[&lt;/FONT&gt;&lt;FONT face="Courier New" color=#800000 size=2&gt;"NetProfit"&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;].AddToCharts();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;thx&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 10 Jan 2008 00:04:28 GMT</pubDate><dc:creator>DoQ</dc:creator></item><item><title>Welcome to the Programming Forum</title><link>http://www.rightedgesystems.com/forums/Topic4142-18-1.aspx</link><description>We've opened this forum for the purpose of fielding programming / software development related questions.  We invite the community to jump in, but this will also be visited by the programmers here as well.&lt;/P&gt;&lt;P&gt;We understand that not everyone using RightEdge is a programmer, so we welcome questions at all levels.</description><pubDate>Wed, 26 Dec 2007 09:03:48 GMT</pubDate><dc:creator>billb</dc:creator></item></channel></rss>