Variable types
4 replies
David
3 years ago #267883
Hi Traders,
Can someone please explain the different types of variables . I get the Boolean variable , but Int, double and string i am not 100% the difference between them.
TIA
Macca
hankeys
3 years ago #267887
boolean – true/false
integer – number without decimal
double – number with decimals
string – text
You want to be a profitable algotrader? We started using StrateQuant software in early 2014. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM.
Lisandro Micheletti
1 year ago #279636
Hello
How can I write the following conditions?
(Close crosses over SMA 9) and Close was low than Lower Band Bollinger in some of the last 5 bars
It’s only an example that will help me get into other things.
I really appreciate an answer, and sorry for my level of English.
tomas262
1 year ago #279650
Hello
How can I write the following conditions?
(Close crosses over SMA 9) and Close was low than Lower Band Bollinger in some of the last 5 bars
It’s only an example that will help me get into other things.
I really appreciate an answer, and sorry for my level of English.
See the example attached
Lisandro Micheletti
1 year ago #279653
Thank you very much Thomas! And if I wanted to summarize those 5 lines in one, is it possible…? Using some variable that incorporates from (1 to 5)…? Really, thank you very much for your quick response. Greetings.
Viewing 4 replies - 1 through 4 (of 4 total)