Forum

zigzag using on VirtualHost

Hi, This code is work on my PC : ZZHandle= iCustom ( NULL , zigzag_filter_timeframe, "Examples\\ZigZag" , Depth, Deviation, Backstep); ArraySetAsSeries (ZZValue, true ); but cant work on VHOST. 2023.09.21 01:48:21.506 NightGrid (XAUUSD,M15) cannot load custom indicator 'Examples\ZigZag' [4802] What

How can i delete CTrade my_trade object?

Sorry, but i cant find info: Im using now C class in mql5 . #include <Trade\Trade.mqh> CTrade my_trade=new CTrade; and my errors: 2019.05.24 15:06:47.929 Breakout_2019 (EURAUD,M5) 1 undeleted objects left 2019.05.24 15:06:47.930 Breakout_2019 (EURAUD,M5) 1 object of type CTrade left and a cant