Constants / Variables: What are the Variable different types and their function(s)? Examples: 1. Double & 2. I have heard of Boolean and think (
-
 -
@jmharrison1971 Also any educational links would be great.
Thanks. -
@jmharrison1971 Not got external link but are as follows:
int == whole number 1,2,3,567 etc
double == number with decimal 0.0, 34.8 etc
bool == true/false
string == text
color == colours Red/Blue etcthere are others like ENNUM_TIMEFRAMES, you likely don't need these but if you do search google for ENNUM.
-
Also Value: Is that limited to Market Price numbers?
-
@jstap Thank you for your precise understandable response!
-
@jstap You answered a lot. Took me a little to process everything in your response. This is all kind of new for me.
-
@jmharrison1971 No worries, if you get stuck just ask, value depends on the type and use, for example SL 10.0 = 10 pips, 1.23679 could be a price value, both can be used for SL just depends on what is required.