haoxiang xie
haoxiang xie
  • Information
11+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
shared author's Genkov article
something instreisting
Expert Advisor for Trading in the Channel
Expert Advisor for Trading in the Channel

The Expert Advisor plots the channel lines. The upper and lower channel lines act as support and resistance levels. The Expert Advisor marks datum points, provides sound notification every time the price reaches or crosses the channel lines and draws the relevant marks. Upon fractal formation, the corresponding arrows appear on the last bars. Line breakouts may suggest the possibility of a growing trend. The Expert Advisor is extensively commented throughout.

haoxiang xie
Added topic How to close all position at the same time? in mt4.
Hello ,I want to find a way to close several opening positions at the same time, as soon as possible .I have some code below...   for ( int i= 0 ;i<total;i++)         {
haoxiang xie
Added topic How large is the size of one-dimension array can be?
I need a large size of array buffer to store testing data in my ea.such as the code below:   double Buff[size]; double BuffDym[]; ArrayResize (BuffDym,size);    when the value of size is to large,the compiler will come out a error said
haoxiang xie
Added topic how to terminate a scripts ?
how to stop a running scripts itself?  In ea ,I can use ExpertRemove() , but it dose not work in scripts.  please help. ExpertRemove ();
haoxiang xie
haoxiang xie
I have found out the data in Strategy Tester every tick mode is VERY different from the real account tick data .the image is what data I have saved during my EA runing in a real account . If you do every tick backtesting ,the data is just take sample in every 5 second from the real . I am looking for some way to do backtesting which the data as similar as the real.
haoxiang xie
Added topic Having pending order in the Trade list and they are "request cancelling" ,?
I have 3 pending order in the Trade list and they are "request cancelling" ,after my ea has run some hours . and I can not delete it from the list ,what can I do?   
haoxiang xie
Added topic How to konw a postion is close by stoploss or takeproft ,or others reason in history?
How to konw a postion is close by stoploss or takeproft ,or others reason in history? I need some example code .  Thanks. 
haoxiang xie
Added topic "metatester.exe"(32bit) lost :( ???
hello! I have a problem today when I want to do some  backtesting ,I got this error:   2013.08 . 20 09 : 35 : 59      Core 1   tester file is absent [metatester.exe]; please check if it is blocked by
haoxiang xie
Added topic In EA ,how to get nonfarm payload data ASAP ?
how to get nonfarm payload data ASAP ?  any example code? 
haoxiang xie
Added topic How to call zigzag inidcator in ea?
I  have used  iCustom() to call ZigZag indicator but get some problem,   In OnInit() function the code like this:      if (m_handle_indicator== INVALID_HANDLE )        if
haoxiang xie
Added topic I have some problem during optimization using remote agent.
i have build 2 server and setup agent in it ,they have running a period of time . Today i got this message from one of the server: 2013.06.14 16:51:45 server1 pass 3540 tested with error "no memory in OnTick function (cannot get 4096 Kb, used
haoxiang xie
Added topic How to export the indicator data in a chart?
i want to get the indicator in the chart,for example ,open a chart USDJPY ,then add indicator ATR to the chart ,and click "file" in the menu ,"save" . i get a csv file , there is OHLC ,and volume in it.but how to get atr data in each bar without
haoxiang xie
Added topic EA return "invalid stop" in live account.
hi, i have a EA ,it function correctly  in back testing,without no error. but it return error message in live account as below: ---------------------------------- PM 0 0406_EA_xxx (USDJPY,M15) 12:45:07 CTrade::OrderSend: modify USDJPY (sl
haoxiang xie
Added topic how to get the Leverage of my demo account in mt5?
how to get the Leverage of my demo account in mt5
haoxiang xie
Added topic Optimization make me confuse. :(
I have  a EA ,and do optimization many times, and the result make me so confuse.... It's appear that the result is Significant different in different period  , for example , optimization result in Jan.2013 only,is different with Feb. and if
haoxiang xie
Added topic i am looking for the code of PLOT_ARROW property,anyone can tell me please?
in this funtion: //--- Define the symbol code from the Wingdings font to draw in PLOT_ARROW    PlotIndexSetInteger ( 0 , PLOT_ARROW ,code);  in the reference, it saids:  The default value of PLOT_ARROW=159 (a circle). so code 159
haoxiang xie
Added topic I have some problem with "ObjectCreate"
i have write the code like this : void OnTick()   {       // some codes...         if(!PositionSelect(_Symbol))         {
haoxiang xie
Added topic Can i do real time EA teating using a demo account?
i have done backtesting ,and i want to do some real time testing ,but i have a demo account only. can i ?   thanks
haoxiang xie
Added topic is threre any EA trading on GOLD or SILVER ?
hi ! i have seen lots of ea trading on eru/usd or gbp... is there something on GOLD(xauusd) or SILVER(xagusd) and any ideas about thtat... thanks all.   
haoxiang xie
Registered at MQL5.community