Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 15:45:06 +0000



Post From: How to Find Symbol Root in ACSIL

[2014-08-24 19:53:01]
Marmany - Posts: 301
In process of converting spreadsheet to ACSIL and need to be able to bring daily trading limit levels for futures into the program. Not able to find any information in the Sierrra documentation on how to manipulate strings in ACSIL. Specifically would like to replicate the spreadsheet command with Symbol in A1 RIGHT(LEFT(A1,3),2). I guess there is an easy way of doing this in C++ but with no formal program training am having difficulty finding the command.
Also would like to know the most efficient way to implement next line in spreadsheet = IF(OR(J6="LE",J6="HE"),3,IF(J6="ZC",0.4,IF(J6="ZS",0.7,IF(J6="ZW",0.6,IF(J6="CT",3,"NL")))))

Would be most grateful if someone could either advise the code or a source of info on C++ intelligible to a "Layman"