Joke Collection Website - Bulletin headlines - How to define variables in a straight flush (a stock trading software)?

How to define variables in a straight flush (a stock trading software)?

This question is really difficult => Not necessarily difficult:-)

The variables defined in the flush are as follows (tested):

I:= 0;

WHILE (I < = 3)

{ a = CLOSE+a;

I = I+ 1; }

Too depressed => Still depressed? Have fun!

Supplement:

There are two ways to define variables:

1. Use: = symbol (define temporary variable)

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

Note: Both methods need to assign an initial value to the variable. Please note the difference between the ":=" symbol and the ":"symbol.

A and d can be like this:

-

//Define temporary variables

Me: =0

A: =0

d:=0

//operation

While (I < = 3)

{

If (b> 1)

a = close+a;

other

d = I;

I = I+ 1;

}

e:a;

f:d;

-

I hope it helps!

According to you, then every K-line period should be given a value of 0. IF the IF condition is not met, A is always 0, but the actual programming intention is that A keeps the value of the previous K-line period A when the IF condition is not met! = & gt

A always designs the "initial value", but if you don't want the initial value (your design has logical problems), you can do so.

I:= 0;

d:= 0;

a;

While (I < = 3)

{

If (b> 1)

a = close+a;

other

d = I;

I = I+ 1;

}

e:a;

f:d;