### Global Variable Definition Source: http://www.wenhua.com.cn/guide/views41a3.htm Example of defining and assigning values to global variables based on conditions. ```Trading Syntax VARIABLE:VAR1:=X,VAR2:=Y; IF 条件1 THEN VAR1:=VAR1+1; IF 条件2 THEN VAR2:=VAR2+1; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.