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
First question, if OpenPrice gives the pos 0 this is first open price, why does not the same with ticket or/and profit? Why does it continue iteration looking for higher values?
Second question, why if I compare OpenPrice, OpenTime or OrderTicket by < to find the earlier within the iteration it leads me to an unexistent ticket(0)?
Third question if OP is first OP, don't actually know why this if returning the right value whenever it doesn't to Ticket an Profit, but in that case, if I'm getiting the right OP value and then if this value is correct condition may be give its Ticket and Profit.
I don't know what you are asking as you are showing different code every time.
I don't know what you are asking as you are showing different code every time.
Go on Keith show the trick.
Go on Keith show the trick.
What trick are you referring to?
You have been given enough information in this and other threads to do what you need to.
What trick are you referring to?
You have been given enough information in this and other threads to do what you need to.
David Diez: Keith Watford you're a hustler.
David Diez: Go on Keith show the trick.
Still being argumentative (5) just like you did in:
Get first ticket values in the loop - Trading Strategy - MQL4 and MetaTrader 4 - MQL4 programming forum #6
Get first ticket values in the loop - Trading Strategy - MQL4 and MetaTrader 4 - MQL4 programming forum #7
Last Open Price issue - Symbols - MQL4 and MetaTrader 4 - MQL4 programming forum #2
Last Open Price issue - Symbols - MQL4 and MetaTrader 4 - MQL4 programming forum #4