-
{NextLot() == 0.03;}
Do not post code that will not compile. Unless NextLot() returns a pointer or reference to a class, you can's assign to the result. What does 0.02 = 0.03 mean to you? - NextLot() calls NextLot(). That is infinite recursion. Your program crashes.
-
Create a variable, assign to the variable, return the variable.

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
Hi there,
I am new to coding and still learning.
I tried below function however it shows 'result of expression not used'.
The object is to manage the lot size. If the lot size is A, then it's B for next.
Maybe anyone can share other function I can try?
Thanks in advance.