[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 118
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
Is it possible to find out from the code the time when the STOP-Order was set?
Thank you!
For closed stop orders, OrderOpenTime() returns the time when the position was opened.
Is it possible to find out from the code the time when the STOP-Order was set?
Thank you!
There's no such thing as a closed stop, there's a remote one...
Doesn't OrderOpenTime() - for set and not triggered stops - return its setting time?
There's no such thing as a closed stop, there's a remote one...
Doesn't OrderOpenTime() - for a set and not triggered stop return the time of its setting?
I meant that we set a STOP-order which triggered and a position was opened on it.
But the position may be opened on the same bar where the STOP-order was set, or it may be opened some time later.
The OrderOpenTime() shows the time when the position was opened, my question is, how do we know when the stop order was set?
The MT4 report has this time, but is it possible to find it out from the code?
I get the following error at compilation
'&&' - condition cannot be a string \00.mq4 (225, 27)
'&&' - condition can't be a string
how to fix it ?
Dear Professionals, I found a useful Expert Advisor for setting virtual take and stop and trailing stops (attached). But virtual stop loss does not work correctly. Please help me to correct it. Or maybe someone has a good analogue?
I would like to give my thanks.
Description in code.
was compiled by an advisor
Outputs 2 errors
'clOpenBuy' - variable not defined .mq4 (40, 49)
clOpenBuy - variable not defined
I rewrote the code again and again - these 2 errors can't be fixed.
Outputs 2 errors
'clOpenBuy' - variable not defined .mq4 (40, 49)
clOpenBuy - variable not defined
I rewrote the code again and again - these 2 errors can't be fixed.
You could do this for example