NEW_GLOBAL parametrs parametrs allsym get_collection_count symbol for

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
NEW_GLOBAL("parametrs", "_" )
s = "@parametrs: "
allsym = get_collection_count(symbol) - 1
for pt from 0 to allsym
cursymbol = get_collection_item(symbol,pt)
curclass = get_collection_item(class,pt)
curscale = 0 + GET_VALUE(GET_PARAM_EX (curclass,cursymbol,"SEC_PRICE_STEP"),"param_value")
curbase = GET_VALUE(GET_PARAM_EX (curclass,cursymbol,"optionbase"),"param_image")
DAYS_TO_MAT_DATE = GET_VALUE(GET_PARAM_EX (curclass,cursymbol,"DAYS_TO_MAT_DATE"),"param_value")
s = s & "SECCODE=" & cursymbol &","& "CLASSCODE=" & curclass &","& "SEC_PRICE_STEP=" & curscale &","& "optionbase=" & curbase &","& "DAYS_TO_MAT_DATE=" & DAYS_TO_MAT_DATE &";"
end for