[1.18] ObjectName() wrong syntax
Heart1010 opened this issue · comments
For MT4:
MarketProfile/MarketProfile.mq4
Line 869 in 8cbe3fb
MarketProfile/MarketProfile.mq4
Line 1874 in 8cbe3fb
MarketProfile/MarketProfile.mq4
Line 2249 in 8cbe3fb
Should be
ObjectName(i);
, shouldn't it?Why?
...from the MQL4 docu (https://docs.mql4.com/objects/objectname)
Two other/minor bugs:
MarketProfile/MarketProfile.mq4
Line 145 in 8cbe3fb
This should be
ENUM_LINE_STYLE
!MarketProfile/MarketProfile.mq4
Line 146 in 8cbe3fb
This should be
int
!...from the MQL4 docu (https://docs.mql4.com/objects/objectname)
MQL4 has both variants implemented - with index only (the classic MT4) and with chart id, index, subwindow, and object type. They just rarely update their docs.
Two other/minor bugs:
Thanks! I'll fix these.
Fixed in 1.19.