Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1078
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good afternoon! Every time you change the checkbox, you have to reset the variable once. What is the easiest way to do it?
bool flag; int reset=0;
Good afternoon! Every time the flag is changed, we need to reset the variable once. What is the easiest way to do it?
bool flag; int reset=0;
We need to create another variable in which to remember the previous value and compare it to flag:
There is a list of pointers called List. There is a CDouble object which stores a variable of type double. Accordingly, the CDouble object has a Get() method to return the stored value. The pointer to the CDouble object is stored in List.
I tried to get the variable's value from this construct:List.GetNodeAtIndex(0).Get();
But the compiler didn't recognize it. Later I understood that I get a pointer to an object of CObject type and not CDouble, therefore the Get method isn't defined for CObject.Question: how to get a value from a CDouble object, by its pointer placed in List, in one line of code?
Create another variable in which to store the previous value and compare it with flag:
Well, I turned off the news, but I can't find how to turn off the market.