RATIOGBL

Top  Previous  Next

Keyword Description

Batch.SIG command used to ratio user specified GBL[n] values during Order Manager account setup.

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

 

 

 

 

 

Syntax

RATIOGBL[1,11,12,13,23,...]

 

Example

Sample code (batch file)

DoSomeTestTrades.SIG        'create some trades to present to SIZ code

PrelimSizePass.SIZ                'SIZ code saves equity values to GBL[n] slots                        

AnalyzeEquityCurveAndEnterRealTrades.SIG 'use saved equity values to do some TA before entering real trades

NEXTSTEP

RATIOGBL[256,512] 'I want Mechanica to ratio values in GBL[256] and GBL[512] during the account setup process

FinalSizePass.SIZ 

 

 

ThumbTack white

This batch keyword is recognized Only during OM account setup.  Otherwise it is ignored.  It's purpose is to overcome a problem in making the transition from Historical mode to OM mode (during account setup) for systems that save equity or risk values to GBL[n] slots for subsequent analysis in sig files processed later in the batch run. Click the following link for further discussion Stepping into the equity curve.

See also:

Stepping into the equity curveIntroduction to batch files