chinaski
chinaski
Friends

Add friends via their profile or user search and you will be able to see if they are online

chinaski
Added topic memory not freed after backtest
Hello, situation: - MT5 closed: Memory in use 1.65 GB - Open MT5, close all charts: Memory in use 1.75 - Run backtest: Memory in use: 2.98(during backtest) -  After backtest: close all charts, clear all logs: Memory in use still 2.98
chinaski
Added topic backtesting and historical data
Getting historical data seems to be a challenge. Is it possible to copy existing .hcc files in your base folder in order to use them for backtest (or charts). - Are there issue about MT5 version ? - Are data from MetaQuotes demo server accurate
chinaski
Added topic backtesting missing data
Hello, i thought that strategy tester automatically loads data from server which are needed for backest and stores those data locally and permanently (so new download of same data not required). This seems not to be the case. When do a backttest for
chinaski
Added topic OrderSend error 10016 invalid stops
Hello, get this error, don't know why:  2012.08.10 17:43:22 Core 1 2012.07.05 23:05:00   Invalid stops reply code=10016 symbol=EURUSD action=1 volume=0.1600000 price=0.0000000 sl=0.0000000 tp=0.0000000 filling=0 The string above dumps a
chinaski
Added topic DLL returning ANSI string: how to declare
Hello, i have a custom DLL returning ANSI string. How to delcare this function in .mqh file please ? const char& myfunc() - error  const char[] myfunc() - error  const char* myfunc() - error     char& myfunc() -
chinaski
Added topic detect time of currently simulated bar
Hello, how to obtain datetime from currently simulated bar when backtesting EA. Thank you 
chinaski
Added topic backtest: optain more information
Function OnTest allows to retrieve some results from backtest by calling function TesterStatistics.  I miss some properties, like: a) start -and end date ( custom period) b) optimization  c) simulation (tick, OHCL,etc..) d)
chinaski
Added topic FileOpen error 5002
Hello, have problem with writing file from within OnTest      string terminal_data_path= TerminalInfoString ( TERMINAL_DATA_PATH );      string filename=terminal_data_path+ "\\MQL5\\Files\\" + "mytest.csv" ;
chinaski
Added topic stop and target get lost
Hello, i have a problem with MetaTrader 5 on ActiveTrades demo server. Don't know if this is related somehow to ActiveTrades or not. The situation: - Placing Buy order  (mkt) - attach stop  - attach target - Placing buy order (raise
1
chinaski
Added topic Using indicators within ExpertAdvisor
Hello, i like to code an expert advisor based on indicators and want thess indicators also drawn into chart. Is this possible ? My tests shown that this seems only be possible when running strategy tester using iMA, for instance. But when attaching
4
chinaski
Added topic OnCalculate passes constant time
Hello, i am looking for a smart method to detect bar change within Indicator. Unfortunately, this seems to be an extra science (don't know what's the problem to give each bar a unique index...??) However, my idea was to use OnCalculate time[]
2
chinaski
Added topic HistorySelect works not properly
Hello, i still have problems to get HistorySelect properly. Basically, HistorySelect does not return orders latest place. They can be seen in the history tab but are not reflected through History order list. Find attached a simple EA proving this
14
chinaski
Added topic detect history orders properly in OnTrade
Hello, i have a problem that i can't get history orders in some situations. Basically i want to log my orders. For this, in OnTrade, i cycle over latest history:      HistorySelect (last_time_query,TimeCurrent());    
chinaski
Added topic custom DLL - where to place it from setup
Hello, can anyone give a definite information about where to place custom dlls by setup for MetaTrader5 on 32 bit and 64 bit os ?   for instance:  - on 64 bit os    a) program files\...\mt5installpath   b) system32   c)
chinaski
Added topic can't find mq4
Hello, can't find my .ex4 or mq4 with windows explorer (Win7 ultimate, logged in as admin). Where is it hidden ? Thank you (P.S. when ever i use the search, i get the same results, sorry)
chinaski
Added topic start MT4 with CreateProcess pops up login dialog
Hello, i'd like to start MT4 from an application using CreateProcess. If doing so, my MT4 always pops up with login dialog missing password. When starting from desktop, all is ok. When starting from command line, all is ok. Setting working directory
chinaski
Added topic detect cancellation
Hello, just try to detect cancelled orders. For this, i use HistorySelect (from,TimeCurrent()); HistoryOrdersTotal();  All this in an expert advisor. Detection of cancellation is done on every trade. Now the problem: in OnInit, from is
chinaski
Added topic detect close order
Hello, assume i do cycle over pending- or history orders. how do i know an order is intended as CLOSE-order ? Thank you 
chinaski
Added topic orders listed twice
Hello, Have problems to understand how MT5 works. If i place an (only one) MARKET_BUY_ORDER order, i get 1. a pending order with ticket A 2. a history order with ticket B and expiration time. In the trade tab, i can see an order but this order has no
chinaski
Added topic ORDER_TP and ORDER_SL not reflected by OrderGetDouble or HistoryOrderGetDouble when applied after initial placing
Situation: I have an EA which lists on each <onTrade> all orders and history orders since last scan. The code of <onTrade>  ulong ticket=0;   string    property_val="";    /// loop over living orders