Modulus Customer Support


Modulus Customer Support
Follow Modulus on Twitter
Home | Knowledgebase |Ask Question |My Info |Browser Toolbar
  Search |List All Entries |Quick FAQs Only


FREQUENTLY ASKED QUESTIONS - QUICK LIST


  • Where can I download the barchart data feed API?
  • How can I change the database source for TA-SDK?
  • Download a trial version of StockChartX COM Edition
  • Can I upgrade a product by paying the difference in price?
  • Am I required to pay additional run time license fees if I redistribute my software?
  • Do I need to be a software programmer in order to use your products?
  • How can I display multiple symbols on one chart?
  • I can't find the StockChartX.chm help file
  • What limitations do the charting components have?
  • Can technical support be extended?
  • Do you offer discount packages if I buy multiple products at once?
  • Do you offer custom financial software development?
  • How will I receive my software after I purchase it?
  • Where can I download software updates?
  • Will the software work on Vista and Windows 7 with VS 2010?
  • How can I develop a stock scanner application?
  • If I purchase a product, when does the technical support period begin?
  • How do your charting products compare with others?
  • Where can I find information about Neural Trader or neural networks in general?
  • What is the difference between TA-SDK's Neural Network and Neural Trader?
  • Class not registered exception HRESULT 0x80040154 REGDB_E_CLASSNOTREG
  • What kind of programming language is TradeScript based on?
  • Chart fails to place line study objects after loading the first time
  • How can I retrieve the list of indicators and their values?
  • How can I place a watermark on the chart?
  • How do I change a particular bar color when using a histogram chart?
  • Failed to create component 'AxHost". System.ComponentModel.LicenseException
  • How do I get values for indicators programmatically in StockChartX WPF?
  • How to place the buy/sell symbol by code?
  • Cannot open HTML Help files.




    Question: Where can I download the barchart data feed API?
    Where can I download the barchart data feed API?

    Answer:
    The API can be downloaded using this link:

    Use the following link to register for the data feed subscription:

    Symbols lists:

    Documentation:

     Top Next




    Question: How can I change the database source for TA-SDK?
    TA-SDK loads CSV files only (not in real time). How can I change this?

    Answer:
    TA-SDK loads CSV files by default. You can modify the Database class file's OpenDatabase function to change this behavior.

    The OpenDatabase function simply inserts data into the Database class Field objects, m_Date, m_Open, m_High, m_Low, m_Close and m_Volume.

    These Fields can be updated in real time. Upon updating these fields, you can recalculate the technical indicators.

    Previous Top Next




    Question: Download a trial version of StockChartX COM Edition
    Where can I download a trial version of StockChartX COM (ActiveX)?

    Answer: You can download a fully functional trial using this link: http://www.modulusfe.com/download/stcx5trial.exe


    Please note the demo uses Softice memory protection therefore it may not run on Windows 7 or Vista depending on certain system security settings.

    Previous Top Next




    Question: Can I upgrade a product by paying the difference in price?
    Can I upgrade a product by paying the difference in price?

    Answer: Within one year from the date of the original purchase, you can upgrade a product to the next higher license (e.g. from personal to commercial or commercial to enterprise) by paying the difference in price.
    Previous Top Next




    Question: Am I required to pay additional run time license fees if I redistribute my software?
    Am I required to pay additional run time license fees if I redistribute my software?

    Answer: In most cases, no. Most of our products are royalty-free and run-time license-free. When you purchase a product from us (one copy per developer on your project), you may distribute the component with your applications without paying any run-time fees to us or anyone else. We offer discounts on purchases of 5 and 10 developer packages. If you require more developer seats than 10, please contact us regarding our site licenses.
    Previous Top Next




    Question: Do I need to be a software programmer in order to use your products?
    Do I need to be a software programmer in order to use your products?

    Answer: Yes. All of our products require software development experience. However, our pre-built trading application at www.m4platform.com may save you a lot of development work.
    Previous Top Next




    Question: How can I display multiple symbols on one chart?
    I would like to display multiple symbols overlaid in one chart panel. How can I achieve this?

    Answer: This can be achieved using the ShareScale property for each "Symbol.close" series on your chart. Please refer to the ShareScale (set_ShareScale) property in the StockChartX.chm help file.
    Previous Top Next




    Question: I can't find the StockChartX.chm help file
    Where can I find the StockChartX COM help file?

    Answer: The StockChartX.chm help file can be found in "My Documents\My Projects\Modulus Financial Engineering\StockChartX Pro\Examples\<any example folder>\"

    This applies to the COM version of StockChartX only.

    Previous Top Next




    Question: What limitations do the charting components have?
    What limitations do the charting components have?

    Answer: Most limitations are related by the amount of available RAM and CPU, GPU, etc. but in general, it is best to load fewer than 50,000 bars, fewer than 1,500 objects (buy/sell/lines, etc.) and it is best to display fewer than around 50 charts at once (all charts are thread safe). If you want to display hundreds of thousands or millions of bars, then you must page through your database. This is what most charting applications do.
    Previous Top Next




    Question: Can technical support be extended?
    I see that most products come with 30, 60, or 90 days of technical support. Can this be extended and when does this support period start?

    Answer:
    Yes, you can extend the technical support license by 30 days whenever needed (please inquire for pricing). Your support period starts when you first start using the product, not necessarily when you purchase it.

    Previous Top Next




    Question: Do you offer discount packages if I buy multiple products at once?
    Do you offer discount packages if I buy multiple products at once?

    Answer: Yes, occasionally we offer discounts if you purchase more than two products at the same time. See http://www.modulusfe.com/discounts.asp

    We also offer a complete Source Code Subscription package for those who need  to develop a complete turn key trading application. See http://www.modulusfe.com/subscription.asp

    Previous Top Next




    Question: Do you offer custom financial software development?
    Do you offer custom financial software development services?

    Answer: Yes we offer custom software development services. We offer our services by the hour and often at a fixed price. We also offer a complete trading application solution built using our StockChartX, TA-SDK, TradeScript and Real Time Data Feed API with a stylish GUI, help system and graphics, which can speed your development: http://www.m4platform.com - our developers can be hired to customize this application for you.
    Previous Top Next




    Question: How will I receive my software after I purchase it?
    How will I receive my software after I purchase it?

    Answer: Unless stated otherwise, all software is delivered electronically. An email will be sent to you automatically shortly after you purchase a product. This email will contain your invoice information and download links.
    Previous Top Next




    Question: Where can I download software updates?
    Where can I download software updates?

    Answer: Updates can be obtained from http://www.modulusfe.com/support/updates.asp
    Previous Top Next




    Question: Will the software work on Vista and Windows 7 with VS 2010?
    Will the software work on Vista and Windows 7?

    Answer: Yes all of our software compiles and runs under Windows Vista and Windows 7 using VS 2005, 2008 and 2010, even 64 bit. Please review the related KB articles below.
    Previous Top Next




    Question: How can I develop a stock scanner application?
    How can I develop a stock scanner application?

    Answer: Our TradeScript COM library offers scripting capabilities that will allow you to develop a scanning system. Although the code inside TradeScript can be compiled in 64bit mode and it is extremely fast*, you must understand that the database system is the main bottleneck in a scanning application.

    There are at least three ways of designing a scanning system, each of which are outlined in our scanner design guide: http://www.modulusfe.com/download/scandesign.pdf

    *TradeScript, when integrated with a proprietary database system, was benchmarked at scanning over 50,000 symbols in less than 100ms (1/10th of one second). You should not expect the same results unless your database system is designed correctly. You may contact Modulus for help in designing your scanning system. Please refer to the KB articles listed below.

    Previous Top Next




    Question: If I purchase a product, when does the technical support period begin?
    If I purchase a product, when does the support period begin?

    Answer:
    You can purchase a product today and delay starting the support period for several months until you are ready to begin using the product.

    The technical support period begins the day you send the first technical support request or within 12 months from the date of purchase, whichever comes first.
    Previous Top Next




    Question: How do your charting products compare with others?
    How do your charting products compare with others?

    Answer:
    Our products are designed, developed and maintained by software engineers who are also part time or full time traders.

    For this reason, our products are engineered with finance being a core part of the design.

    While other charting companies are good at developing other types of charts, we are the professionals to consult for financial charts.

    Previous Top Next




    Question: Where can I find information about Neural Trader or neural networks in general?
    Where can I find information about Neural Trader or neural networks in general?

    Answer: Although Neural Trader uses a proprietary training algorithm, the topology of Neural Trader is the similar to a backprop neural network. Therefore the following wiki page is applicable to Neural Traderhttp://en.wikipedia.org/wiki/Neural_network
    Previous Top Next




    Question: What is the difference between TA-SDK's Neural Network and Neural Trader?
    What is the difference between TA-SDK's Neural Network and Neural Trader?

    Answer:
    While the Neural Network Indicator that is part of TA-SDK is "plug-and-play" (you only have to insert market data), it is not as flexible nor as powerful as Neural Trader.

    The Neural Network Indicator in TA-SDK uses a fixed topology with two inputs, one hidden node and one output. It also accepts only a sliding window of technical indicators as it's only inputs.

    On the other hand, Neural Trader allows for any type of training data, any number of inputs, hidden nodes and outputs. Neural Trader also uses a more advanced training algorithm with simulated annealing.

    Previous Top Next




    Question: Class not registered exception HRESULT 0x80040154 REGDB_E_CLASSNOTREG
    I am running Windows 64 and I receive the following exception:

    Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close automatically.

    Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))


    Answer:
    To prevent this error, select x86 from the Build Configuration menu (instead of “Any CPU”) then select Clean Solution and Rebuild Solution.

    StockChartX COM works with Windows 64, however you must either compile your project in 32 bit mode as shown above (if you are using the 32 bit version of StockChartX) or you must compile the StockChartX VC++ code in 64 bit mode.

    Previous Top Next




    Question: What kind of programming language is TradeScript based on?
    What kind of programming language is TradeScript based on?

    Answer: TradeScript is a Scientific Vector Language (SVL). It most closely resembles MetaStock script. TradeScript is not a procedural language like EasyLanguage, BASIC or C++. Because everything is written on one line with TradeScript, it is extremely simplified for those who do not understand how to write programs. However, TradeScript offers all of the same functionality of a procedural language, by means of simulated control structure with built-in functions such as LOOP(), IF(), REF(), etc. Refer to the TradeScript User's Guide listed in the related KB article below.
    Previous Top Next




    Question: Chart fails to place line study objects after loading the first time
    When the chart is loaded for the first time after my program starts, it fails to properly place LineStudy objects. Why?

    Answer:

    This problems occurs because when chart is loaded for the first time, all internal objects such as ChartPanel and YAxis are not yet initialized, therefore it cannot create graphical objects for LineStudies. To solve this issue the following approach must be used.



    Version required: 2.2.2.19 

    Subscribe to the ChartPanelStatusChanged event and use the following code:

    private bool

    _lineStudyAdded;

    _stockChartX.ChartPanelStatusChanged += 

    (sender, args) =>     

    {       

      // catch the first time when chartpanel changes its status,

      // only at this stage we canstart adding LineStudies

     

      if (args.ChartPanel.Index == 0 &&

        args.NewStatus == StockChartX.ChartStatus.Ready

        && !_lineStudyAdded)   

      {     

        _lineStudyAdded = true;     

        btnIntTests_Click(null, new RoutedEventArgs());     

      }   

    };

     

    private void btnIntTests_Click(object sender, RoutedEventArgs e) 

    {

      HorizontalLine line = (HorizontalLine)_stockChartX.CreateLineStudy(LineStudy.StudyTypeEnum.HorizontalLine,Guid.NewGuid().ToString(), Brushes.Green, 0);

      Series close = _stockChartX[SeriesTypeOHLC.Close];

      int recordCount = _stockChartX.RecordCount - 1;

      double value = close[recordCount].Value.Value;

      line.SetXYValues(0, value, 0, value);

      _stockChartX[0].IncludeLineStudiesInSeriesMinMax = true;

      _stockChartX.Update();

    }



    This way we are catching the first time when a
    ChartPanel becomes fully initialized. After this we can start adding different
    objects to it.


    Previous Top Next




    Question: How can I retrieve the list of indicators and their values?
    How can I retrieve the list of indicators and their values?

    Answer:

          // go over all indicators that are present in the chart and retreieve their values

          StringBuilder sb = new StringBuilder();

          foreach (var indicator in _stockChartX.IndicatorsCollection)

          {

            sb.Append("----").Append(indicator.FullName).Append("-----").AppendLine();

            int index = 0;

            //get indicator's parameters

            foreach (var parameter in StockChartX_IndicatorsParameters.GetIndicatorParameters(indicator.IndicatorType))

            {

              //retrieve Indicators parameters value

              sb.Append(parameter.Name).Append(" = ").Append(indicator.GetParameterValue(index++)).AppendLine();

            }

          }

     

          MessageBox.Show(sb.Length > 0 ? sb.ToString() : "No Indicators found");


    Previous Top Next




    Question: How can I place a watermark on the chart?
    How can I place  a watermark on the chart?

    Answer:

    // Use the property StockChartX.LabelTitle that is a native WPF/Silverlight TextBlock placed on a canvas. You will be responsible to place it in a specific position. Here is a sample on how to use it

     

    _stockChartX.LabelTitle.FontSize = 20;

    _stockChartX.LabelTitle.Foreground = new SolidColorBrush(Color.FromArgb(50, 255, 255, 255));

    _stockChartX.LabelTitle.Text = "Modulus FE Copyright, 2010";

    _stockChartX.LabelTitle.Margin = new Thickness(10);

    _stockChartX.LabelTitle.Visibility = Visibility.Visible;

    Canvas.SetLeft(_stockChartX.LabelTitle, 20);

    Canvas.SetTop(_stockChartX.LabelTitle, 100);


    Previous Top Next




    Question: How do I change a particular bar color when using a histogram chart?
    How do I change a particular bar color when using a histogram chart?

    Answer:

    Version required: 2.2.2.18

      

    // In some cases you may need to paint certain bars in a histogram chart different colors.

    // To achieve this use the StockChartX.BarBrush method.

    // An example for MACD Histogram follows

     

    // Suppose we already have the MACD Histogram indicator on a chart

    // Also suppose the unique key name is "MACD histogram"

    _stockChartX.BarBrush("MACD Histogram", // series whos colors we change

        _stockChartX.RecordCount - 10, // index of the bar

        Brushes.HotPink // new brush color

      );

     

    _stockChartX.Update();


    Previous Top Next




    Question: Failed to create component 'AxHost". System.ComponentModel.LicenseException
    Why am I receiving the following error?

    Failed to create component 'AxHost". The error message follows:
    'System.ComponentModel.LicenseException: you must have a license to use this ActiveX control.
    at System.Windows.Forms.Design.DocumentDesigner.AxToolboxItem.CreateComponentsCore(IDesignerHost host), etc.


    Answer:
    Please make sure both StockChartX.ocx and StockChartX.lic are located in the same directory, then register StockChartX.ocx using REGSVR32. If using Vista or Win7, make sure to launch the command prompt using elevated permissions; right click on a command prompt and choose “Run as Administrator”. Then use REGSVR32.

    Also be sure that you have selected “x86” from the Build Configuration menu in Visual Studio if you are running a 64 bit machine (do not select “AnyCPU”). Select Clean Solution and Rebuild Solution in Visual Studio.

    Please note that the StockChartX.lic file is only for development purposes. Due to the license restrictions, you cannot distribute this file with your application.

    For further reading please see the following KB articles.

    Previous Top Next




    Question: How do I get values for indicators programmatically in StockChartX WPF?
    How do I get values for indicators that are displayed in a panel's title bar?

    Answer: The chart displays the last values of every series/indicator in each panel's title bar. To get these values we can use the following technique. Say we have the Aroon Indicator that has 2 series. Use the following code to get the values:

    Indicator aUp = _stockChartX.IndicatorsCollection.Where(_ => _.Title == "Aroon Up").First();
    Indicator aDown = _stockChartX.IndicatorsCollection.Where(_ => _.Title == "Aroon Down").First();
    MessageBox.Show(string.Format("Arron Up={0}, Aroon Down={1}",
     aUp[_stockChartX.RecordCount - 1].Value.Value,
     aDown[_stockChartX.RecordCount - 1].Value.Value));

    Previous Top Next




    Question: How to place the buy/sell symbol by code?
    How to place a buy/sell symbol by code?

    Answer: To place a buy/sell symbol by code you'd use such a code


    LineStudy imageObject =
      _stockChartX.CreateSymbolObject(SymbolType.Buy, Guid.NewGuid().ToString(), 0, new Size(15, 15));
    Series series = _stockChartX.GetSeriesByName(_stockChartX.Symbol + ".low");
    imageObject.SetXYValues(0, 0, 10, series[10].Value.Value);

    Previous Top Next




    Question: Cannot open HTML Help files.
    When trying to open the help file that comes with one of the versions of StockChart you get a blank page or a message saying "Navigation to the webpage was canceled."

    Answer: This a very known issue with .chm help files. To fix it follow these instructions from Microsoft
    Previous Top