EasyLanguage Treasure Chest

Discussion in 'Trading Software' started by Tums, Nov 24, 2008.

Thread Status:
Not open for further replies.
  1. Tums

    Tums

    Have you followed the instruction?

    First...

    then...



    for OEC specific installation issues, please post your questions in the link below, so that all OEC users can benefit.
    http://www.elitetrader.com/vb/showthread.php?threadid=141236
     
    #181     Feb 4, 2009
  2. Tums

    Tums

    The HH/LL_Line indicator does not work in OEC.
    It involves drawing objects not supported by OEC.
     
    #182     Feb 4, 2009
  3. Make sure you create TSI function as a new function. Do not create the tsi function as an indicator.

    After you create the funtion tsi, create the indicator tsi.

    You are creating two objects in TS, the function and the indicator.


    John
     
    #183     Feb 4, 2009
  4. I use the TSI as part of another indicator. Instead of using the XAverage I use an AMA and find it smoother without much if any difference in the indicator itself. You may wish to try it and see if it works for you.


    Tim
     
    #184     Feb 5, 2009
  5. --------------------------------------------------------------------------------

    Thanks John + TUMS,

    I repeated the procedure:
    function
    indicator

    now it says with regard to the indicators formular:

    syntax error line 1

    Any idea?

    Thank you.

    GG
     
    #185     Feb 5, 2009
  6. -----------------------------------------------------

    TIM thanks -
    assuming you are referring to my request.

    The complete formulars of the 2 would save me a lot of time- if you prefer via PM.

    Thank you.
    GG
     
    #186     Feb 5, 2009
  7. Tums

    Tums

    Delete line 1
     
    #187     Feb 5, 2009
  8. ------------------------------------------------

    I did and then had the same message reg. line 2.
    Deleted it as well and the result is:

    QueryFunctionCode 'TSI'
    C1018: The return value of the function is missing., line 1
    C1003: The function 'TSI' does not exist or it contains errors and does not compile., line 11
    QueryFunctionCode 'XAverage'

    :confused:
     
    #188     Feb 5, 2009
  9. Tums

    Tums

    your computer needs the XAverage function.

    Code:
    [color=blue]
    inputs: 
    	PriceValue( numericseries ), 
    	Len( numericsimple ) ;                                             
    
    variables: 
    	var0( 2 / ( Len + 1 ) ) ;
    
    if CurrentBar = 1 then
    	XAverage = PriceValue
    else
    	XAverage = XAverage[1] + var0 * ( PriceValue - XAverage[1] ) ;
    [/color]
    
     
    #189     Feb 5, 2009
  10. -----------------------------------------------

    Thanks
    it was compiled however, the problem persits :
    "QueryFunctionCode 'TSI'
    C1018: The return value of the function is missing., line 1
    C1003: The function 'TSI' does not exist or it contains errors and does not compile., line 11
    QueryFunctionCode 'XAverage'"

    The TSI function had been compiled, too.
    So what errors is the software talking about?
    Very funny.
    GG
     
    #190     Feb 5, 2009
Thread Status:
Not open for further replies.