How can I create a variable based on several operations?

StockFetcher variables are limited to a single operation (+,-,/,*). Because of this, if you need to create a variable based on several different operations, you will need to break them up. For example, the syntax below will not work in StockFetcher:

set{my_var, a + b + c + d}

However, you can break this up into several variables, for example:

set{tmp1, a + b}
set{tmp2, tmp1 + c}
set{my_var,tmp2 + d}

The 3 lines above will achieve the intent of the original variable.




Still need help? 

*** Disclaimer *** does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. does not recommend particular securities., Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.

Copyright 2018 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus