[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 310
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
Can you guys tell me if it's possible to modify a pending order's lot?
Trading orders are modified by the OrderModify(...) function.
The Lots function does not modify lots.
Can you guys tell me if it is possible to change the lot of a pending order?
You cannot change the lot. You can delete this pending order and set a new one with a different volume.
How can you tell if a job is finished and not just a person changing timeframes, for example? Even if by accident...
It is easier then to prohibit jumping between timeframes. According to my observations, such a design prevents from physically switching between timeframes, e.g.
insert in start() or at the beginning of init(). Although no, switching happens with return, but literally in fractions of a second.
The function closes orders 2 days after they were opened
What would be the right way to exclude weekends from the elapsed time calculation?
I'm thinking of breaking through with iBarShift. Is this the right way to do it?
The function closes orders 2 days after they were opened
What would be the right way to exclude weekends from the elapsed time calculation?
I'm thinking of breaking through with iBarShift. Is this the right way to do it?
I did so in my EA. However, I counted the total number of trading days minus the weekends, so that I could count the profits correctly.
Tell me why there's an error when I compile.
Tell me why there's an error when I compile.
Closing parenthesis inside a comment
The function closes orders 2 days after they were opened
What would be the right way to exclude weekends from the elapsed time calculation?
I'm thinking of breaking through with iBarShift. Is this the right way to do it?
Do you have weekend/holiday candles on your chart? They are skipped as it is. No?
Then count how many candles have passed since you opened the position