Variable types

4 replies

David

Customer, bbp_participant, community, 15 replies.

Visit profile

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

0

hankeys

Customer, bbp_participant, community, sq-ultimate, 487 replies.

Visit profile

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.

0

Lisandro Micheletti

Subscriber, bbp_participant, customer, community, sq-ultimate, 5 replies.

Visit profile

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.

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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

Attachments:
You must be logged in to view attached files.

0

Lisandro Micheletti

Subscriber, bbp_participant, customer, community, sq-ultimate, 5 replies.

Visit profile

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.

0

Viewing 4 replies - 1 through 4 (of 4 total)