Discussion of article "Library for easy and quick development of MetaTrader programs (part XXIII): Base trading class - verification of valid parameters" - page 3
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
far into library improvements (resources, sounds, etc.) and I think you missed the basic tasks.
Thank you, the library is very much needed.
Hello. The work with the glass will be implemented later - after the creation of the trade class.
I think in this part of the library description there is a possibility to set correct expiry values automatically:
If there is (I don't remember about this part, unfortunately), then in OnInit() call these two methods with values by mind, and all trade objects for each symbol used should be set correct values of fill and expiry types.
If not here, then wait for the next article to come out - it's been on check for a while - it's there.
In OnInit of Part23 advisor I wrote 2 lines
engine.TradingSetCorrectTypeExpiration();
engine.TradingSetCorrectTypeFilling();
nothing helped, it writes the same thing in the log.
In OnInit of Part23 advisor I wrote 2 lines
engine.TradingSetCorrectTypeExpiration();
engine.TradingSetCorrectTypeFilling();
nothing helped, it writes the same thing in the log.
Okay, I'll figure it out. Thanks.
In OnInit of Part23 advisor I wrote 2 lines
engine.TradingSetCorrectTypeExpiration();
engine.TradingSetCorrectTypeFilling();
nothing helped, it writes the same thing in the log.
Where do you insert these lines?
They should be inserted in OnInit() after creating the list of working symbols:
No one paid attention to the fact that the order type is StopLimit?
Yeah, I didn't notice that. Is there something else for it? In essence, a stop-limit order is a stop order that triggers a limit order. Aren't the conditions for this combination the same as for the separate use of stop and limit orders?
Yeah, I wasn't paying attention. Is there something else for it? Basically, a stop-limit order is a stop order that triggers a limit order. Aren't the conditions for this combination the same as for the separate use of stop and limit orders?
The limits are different. And the timeout.
The limits are different. And timeout.
In OnInit of Part23 advisor I wrote 2 lines
engine.TradingSetCorrectTypeExpiration();
engine.TradingSetCorrectTypeFilling();
nothing helped, it writes the same thing in the log.
In general, I checked on CFDs on the Binary.com-Server. It puts stop-limit pending orders (click to view video):
How do I check in Discover? Should I open an account?