Register Login
Forums    February 9, 2012
TradersStudio Forums
re:how can I implement a custom indicator via a datafile?
Last Post 03-20-2008 11:19 AM by mur ang. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
David Brown
New Member
New Member
Posts:7

--
03-20-2008 11:09 AM

    Hi Murray,

    I'm having some trouble getting TradersStudio to do what I'm sure it can do, here is a brief explain.

    I have a custom indicator that I need to calculate outside of TradersStudio due to it's mathematical complexity.  So what I've done is calculated then saved the daily value of this custom indicator to a data file.  The format of the data file is a simple mm/dd/ccyy,value.

    I've added this custom indicator data file into TS using the 'Add Data link', so far so good.  I added it as a 'Raw Commodity Data' format file.

    Now I'm trying to access this data in my TS logic as independent1 (i.e. an independent data stream).  When I go to 'Add/Remove Data' in my session, TS prompts me for the 'child file' that I want to associate with my continuous futures contract I'm testing.  However, when I choose my custom indicator file that I added above, I get the message:  You cannot assign this data file to child 1.  Child TimeFrame is One Minute and selected file is Weekly

    I never explicitly assigned a time frame to my custom data file, i.e. it is bascally a format of mm/dd/ccyy,double, so I'm not sure why TS is reporting a 1 minute and weekly time frames.

    So, if you're still with me,

    1.Am I doing something wrong per the above

    2.Basically, I just want to integrate a custom indicator into TS using a data file I have generated (vs generating the indicator programatically in TS).  What is the 'best practice' way to do this in TS?

     

    Thanks for your help

    David

    PS:I can email samples of the continous contract data file  and the custom indicator file if that would be of any use

     

    mur ang
    Advanced Member
    Advanced Member
    Posts:525

    --
    03-20-2008 11:19 AM
    Yes, Please E-Mail them to Steve in Support. Steve@TradersStudio.com. He will look at it for you. Most likely the textinfo.txt file is wrong. So make sure you send that also.
    You are not authorized to post a reply.


     TradersStudio, Inc. ® Copyright 2004-2012 All Rights Reserved   Terms Of Use  Privacy Statement