Joke Collection Website - News headlines - How do you define the variables in the stock trading software - Flush?

How do you define the variables in the stock trading software - Flush?

Why ask the same question twice?

-----------------------

i:=0;

WHILE (i<=3)

{a=CLOSE+a;

i=i+1;}

Supplement:

There are two ways to define variables:

1. Use the := symbol (define temporary variables)

2. Use the parameter table (i.e. indicator parameters)

Note : Both methods need to assign initial values ??to variables. Pay attention to the difference between the ':=' symbol and the ':' symbol.

A, d can be like this:

----- -----------

//Define temporary variables

i:=0

a:=0

< p>d:=0

//Operation

while (i<=3)

{

if (b>1 )

a=close+a;

else

d=i;

i=i+1;

}

e:a;

f:d;

----------------< /p>

Hope helpful, have fun :-)