To import trading data from Right Edge into BTAnalytics, you can use the Binary Data Feeder created for this purpose. For more information about Binary Data Feeders, please see: Importing Data using a Binary Data Feeder in the BTAnalytics Documentation.

 

To be able to import data into BTAnalytics from Right Edge, take the following steps:

 

1.Download the Right Edge Binary Data Feeder from the BTAnalytics website.

 

You can download the RightEdge Data Feeder from the External Data Feeders download page in our website.

 

2.Install the RightEdge Binary Data Feeder.

 

You must decompress the downloaded file and move all the included files to the 'Plugins' sub directory in RightEdge installation directory in your computer (the folder where the 'RightEdge.exe' is located).

 

That's all! When RightEdge runs, it detects the Data Feeder as a plugin and loads it.

 

3.Configure the RightEdge Data Feeder.

 

The next step is to enable the Data Feeder plugin from the RightEdge menu, by selecting 'Tools' -> 'Options' and inside the shown 'Options' dialog, in the 'System Results' tab activate the 'BTAnalytics Data Feeder'.

 

4.Easily export your Trading Data from RightEdge into BTAnalytics!

 

Whenever you want to export your Trading Data (backtest results or live trading data) from RightEdge into BTAnalytics, you only have to select the 'BTAnalytics Data Feeder' System Results visualizer.

 

 

redatafeeder_zoom80

 

 

In this window, you can:

Select a name for the exported data, write a small note (that will be shown in the Studies Explorer) or a greater description.
Normalize Equity Curve: you can make that the exported Equity Curve only has data points with certain periodicity. For example you can normalize an intraday Trading System equity curve to show the equity curve with data only in a daily basis.
Ignore Priority When Comparing Positions: This control allows you to configure whether BTAnalytics should take into account the Trade Priority field when searching for exact matches of the simulation being imported among the already imported Trading Data. (BTAnalytics can be configured to only import the Trading Results that haven't already been imported before and hence checks all the previously imported Trading Data before importing a new Data Set)

 

 

 


 

 

Exporting Analysis Variables (Optional):

 

For an in depth description of Analysis Variables and their utility, please, see the Adding Analysis Variables Filters Tutorial and Analysis Vars DAV description in the BTAnalytics Documentation.

 

If you want to include Analysis Variables for further analysis or to design filters over them using the BTAnalytics Analysis Vars DAV or the Analysis Vars Derivation Builder, you have to include them in the 'CustomString' field of the positions. This method allows to explicitly select the Series that you want to export.

 

1.Suppose that you want to include with the Trading Data two series for further analysis using BTAnalytics. The series are defined as follows:

 

      // Series Definition:        

 ChandeMomentum CMO20 = new ChandeMomentum(20);

 ADX ADX10 = new ADX(10);

 

 

 

2.Then in the entry rules, you could include the Series as follows:

 

 

   // Enter position:

  Position p = OpenPosition(PositionType.Long, OrderType.Limit, targetPrice);

         

  // Add Analysis Variables to CustomString field

  p.CustomString="AnalysisVars={CMO-20;1;"+CMO20.Current+"|ADX-10;1;"+ADX10.Current"}";

 

 

 

 

The Analysis Vars must be encoded in a string such as "AnalysisVars={var1;boa1;value1|var2;boa2;value2}", where:
ovarX -> name of the Analysis Var.
oboaX -> bar of analysis:
1-> Bar before entry
2-> Bar of entry
3-> Bar before exit
4-> Bar of exit
ovalueX-> value of the Analysis Var.

 

 

 

3.When you imports into BTAnalytics the Trading Results, you will be able to analyze the results for the Analysis Vars in the Analysis Vars DAV of the Raw Simulation Study or in the Analysis Var Derivation Builder:

 

Analysis Vars DAV
Analysis Vars DAV

 

Note: RightEdge is a trademark of Yye Software.