RANKSTART, RANKEND

Top  Previous  Next

Keyword Description

Batch.SIG command allows spanning RANK operations across multiple Data Description Pages.

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

 

 

 

 

 

Syntax

RANKSTART

RANKEND

 

Example

Sample code (batch file)

RANKSTART

'accumulate ranks for disparate items (multiple dpages)

dpage=USBonds

'specify a data set

RankUSBonds.SIG

'start saving ranks

dpage=AUSstocks

'specify a different data set

RankAUStocks.SIG

'continue saving ranks

dpage=HKDebt

'specify another data set

RankHKDebt.SIG

'continue saving ranks

RANKEND

'done saving ranks

DoTradesBasedOnRank.SIG

'IF RANKPERCENTILE > 90 THEN BUYOPEN

NEXTSTEP

 

SizeMyTrades.SIZ

 

 

 

ThumbTack white

Sometimes it is necessary to rank all items that reside in several different data sets (dpages). This lets us rank momentum (for example) each day for all items residing in dpage=USBonds, dpage=AUSstocks, dpage=HKdebt

See also:

       RANK, Introduction to batch files