mtapi icon indicating copy to clipboard operation
mtapi copied to clipboard

[MT5] MtApi5Client.ObjectCreate is missing second anchor point

Open flognity opened this issue 6 years ago • 0 comments

The Method ObjectCreate in the class MtApi5Client is missing a second anchor point. Without a second anchor point some objects might not be possible to draw (like a trend ENUM_OBJECT.OBJ_TREND). The functionality is already implemented for The MT4-Client but not for MtApi5Client.

In general, the Method ObjectCreate in native mql5 is generic and allows n anchor points: https://www.mql5.com/en/docs/objects/objectcreate

Overall, the File MtApi5.mq5 also needs to be adjusted to fit the requirements.

flognity avatar Mar 05 '19 21:03 flognity