Yong Zheng
Yong Zheng
  • Information
9+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Friends 1
Yong Zheng
Added topic Sometimes it hard to analyse why ERR_INVALID_STOPS is happened
I have develop a EA, there are error code 130 ERR_INVALID_STOPS, I have log the ordersend symbol : XAUUSD.r lotsize : 0.67 order : OP_SELLSTOP opening price : 1863.00 slippage : 24 stoploss : 1869.00 takeprofit : 1855.00 bid : 1863.08 stopLevel
Yong Zheng
Added topic PrintFormat or StringFormat ERR_FORMAT_TOO_MANY_FORMATTERS
Hello, I have many Format Function in Code, there are sometimes this error ERR_FORMAT_TOO_MANY_FORMATTERS Does PrintFormat or StringFormat have a limit? Nested StringFormat have limitation
Yong Zheng
Added topic How to detect installed metatrader location path
Hello, how to detect programmatically the installed metatrader location path, I would like to create a installation for EA or indicator. Do I need to check the registry? What ist the location for metatrader 4 or 5
Yong Zheng
Added topic OrderModify only TakeProfit
I got sometimes Takeprofit modify error 130, when takeprofit go to negativ area. that means, takeprofit move buy order under orderopenprice, sell order move to upper. Then I got the error. I saw many other EA do also same, but they works without
Yong Zheng
Added topic Demo version of expert advisor
I cannot find any docu about compiling expert adivsor in demo version? How do I create a demo version of EA or Indicator
Yong Zheng
Added topic iTime do not work expected in strategy tester
Hello, m‌y situation is that, I have a indicator running in strategy tester  in MT4 build 1045 . Test begin on 2013.01.01 00:00:00. ‌ int OnCalculate (...) {      Print ( "Test: ", iTime ( Symbol (), PERIOD_D1 , 0 ), "
Yong Zheng
Added topic Cannot get proper value of bars
Hello, I am just programming a sample expert advisor and let it run in strategy expert. but have following problem. I tried both version ( Open[ 0 ] and  iOpen ).   sPrice.dOpen   = Open[ 0 ]; sPrice.dClose  = Close[ 0
Yong Zheng
Added topic Free real signal
During creating a real signal, there are no free option to select. I want to set the charge of signal to 0 USD. It warns me, thats is not possible below 20 USD. Is free signal not possible more
Yong Zheng
Registered at MQL5.community