Do we really need constants?
-
Hello,
Function of constants is making parameters cannot be modified. But you can make an unchanged parameter by “not” clicking the tick box just next to the parameter… So, my question is do we really need constants even though we don’t click on the box next to parameters?
Regards…
-
Not sure what you exactly mean. Could you please share the link to your project?
-
I mean what is the difference between 1. condition and the second condition bro?
https://fxdreema.com/shared/L3o8G9vkb
In the documentation below, it says "Constants - Similar to the Variables, but the idea is that they should not be modified. These are also input parameters of the robot. In the output code they are not really constants."
So, if constants make a parameter unchangeable, then why do we need it? Because we can already make parameters unchangeable when we don't click the box next to the values?
On the other hand, the last sentence of the Constant documentation explanation above says: "In the output code they are not really constants." So, if we don't add constants to the values in the conditions, does that mean that robot can change the values by mistake or by accident within the live order?
https://fxdreema.com/documentation/builder/constants-and-variables
You can also see the ss below...

-
@allstarengin Constants are the necessary input parameteres your bot will always need. For example:

If you do not provide any values for the input parameters, the bot will not work. You will always need them.
Variables, however, are invisible. You will never see them unless you use some special tools to watch what is being stored there. They are used to do alll the necessary calculations for your bot to work normally. You can need them or not, depending on your strategy.
-
Thank you for your solid feedback bro, I'll always try my backtests with constants from now on


-
@allstarengin You're welcome.

-
@l-andorrà Bro, I'd like to consult with you privately through your website, but I noticed the contact form doesn't allow file attachments. Would it be possible for you to share your direct email address instead?