Discussion of article "Library for easy and quick development of MetaTrader programs (part XXII): Trading classes - Base trading class, verification of limitations" - page 2
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
So after event processing, at the end of the event type check module, what do you have in the last_event variable? That's what you need to reset in the EA. And not forcibly call the method of resetting the last event of the library - the library itself calls it right after sending the event to the chart and writing it to the list of events.
Yes. I just missed and didn't put one line at the end.
Yeah. I just missed one line at the end.
You can just equate it to TRADE_EVENT_NO_EVENT.
It's not working. It prints on every tick. The order is activated on the fifth tick, it prints "1" 4 times in the log and then it prints "20" on every tick.
It's not working. It prints on every tick. The order is activated on the fifth tick, it prints "1" 4 times in the log and then it prints "20" on each tick.
We need to see what you've done. It's working in the test advisors.
I haven't written anything yet. Above the code in the previous post is just this.
And below the code, opening two orders OP_SELLLIMIT and OP_SELLSTOPI haven't created anything yet. Above the code in the previous message is only this.
And below the code, opening two orders OP_SELLLIMIT and OP_SELLSTOP.I need to see the whole code. Throw it in a private message, or here if it's not a secret behind seven seals.
There's nothing there yet.
Well, there's nothing there yet
I have to run your code to get an answer. I'll be there, I'll get back to you.
I know you're not home and I'm not rushing you.
I know you're not home and I'm not rushing you.