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
Not quite. For for statement, you need to specify the type of variable i. To select a position - first use PositionGetSymbol(i), then - look through the properties of the selected position.
Thank you. Right?
Thank you. Right?
Yeah, that's pretty much the pattern. This line right here.
the compiler will most likely generate a warning. It can be fixed by explicitly casting the PositionGetInteger(POSITION_TYPE) to the required enum type.
This line
some programmers prefer to run in descending order instead of ascending one.
Addendum. Why did you change the correct line to if(PositionSelect(Symbol()))?
Yes, that's roughly the pattern. This line right here.
the compiler will most likely generate a warning message. It can be treated by explicitly casting the PositionGetInteger(POSITION_TYPE) to the required enum type.
This line
some people prefer to run in descending rather than ascending order.
Addendum. Why did you change the correct line to if(PositionSelect(Symbol()))?
Thank you very much.
Changed to:
Or I'll change it to this one:
I'll check which option works.
Thank you.
Or I'll switch to this one:
I'll see which one works.
Now I have to take the signals from the indicator:
Doing this and it's not working.
Are you checking for invalidity of the handwheel?
Do you check for invalidity of the handl?
Yes, you already have a similar check, elsewhere:
If INVALID_HANDLE, print an error
Yes you already have a similar check, elsewhere:
If there is an INVALID_HANDLE, print an error
I'm completely exhausted. Doesn't open properly.
Doesn't read the indicator signals correctly.
Please help. Where is the error?