Register Login
Forums    February 9, 2012
TradersStudio Forums
Specify Symbols
Last Post 07-14-2006 05:07 PM by mur ang. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Konstantin Stroj
New Member
New Member
Posts:17

--
07-12-2006 03:41 PM
    Is it possible to specify Symbols from a large portfolio in a System-Script?

    e.g.

    Sub TESTSYMBOLBUY()
         If Date = MigrateDate("20060706") and Symbol = MSFT or INTL         Then
            Buy("BuyEnt",1,0,Market,Day)
        End If
    End Sub
    mur ang
    Advanced Member
    Advanced Member
    Posts:525

    --
    07-14-2006 05:07 PM

    GetActiveSymbol Function

    Returns a string value containing the current active market symbol         

    Return Type

    A String value

    Syntax

    GetActiveSymbol(DataNum As integer)

    GetActiveSymbol Function

    Returns a string value containing the current active market symbol         

    Return Type

    A String value

    Syntax

    GetActiveSymbol(DataNum As integer)

     If GetActiveSymbol(0)="MSFT" then

    end if

     

    The GetActiveSymbol function syntax has these parts:

    Part Description
    DataNum 0 is mom, 1 is independent 1 , 2 is independent 2 ect

     

     

     

    You are not authorized to post a reply.


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