Tuesday, January 06, 2009     | Register
TradersStudio Forums
Subject: Specify Symbols

You are not authorized to post a reply.   
Author Messages
stroj
Posts:17

07-12-2006 3:41 PM Alert 
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
murray
Posts:435

07-14-2006 5:07 PM Alert 

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.



ActiveForums 3.6
TradersStudio® Copyright 2004-2009 All Rights Reserved   |  Privacy Statement  |  Terms Of Use