Viktar Dzemikhau / Publications
Forum
Error #1 when modifying orders
How do I get rid of this fucking error? I'm sick of it. I'm checking every input parameter of the function. For me, at the moment, it's like this: if (OrderOpenPrice() != ND (fd_MurreyLevelsValue[ 11 ])) New_OOP = ND (fd_MurreyLevelsValue[ 11 ]); else New_OOP = OrderOpenPrice(); if
Is it possible to implement a singleton pattern in MQL4.
I have structures that I need a single instance of. Naturally, it's highly discouraged to create several objects in different classes of these structures. So I came to the conclusion that, in this case, the most reasonable option would be to use the singleton pattern. Right? Here's an example of a
A bug in the OrderSend() function ?
I've been struggling for 4 days now, and I can't seem to implement a seemingly simple thing. I have done similar things before with different indicators and candlesticks. I can't do it with a wristwatch. The essence is primitive! As soon as the price approaches the mask of a certain period at a