Fa Cao
Fa Cao
  • Information
10+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Fa Cao
Added topic How I make the EA with window's input as accessory?
Now I want to make an Script which can get "input" by window or other tools when it was executed. For example, I have open 4 orders on USDJPY as below: order 1:4259920  buy 4 lots order 2: 4259921 buy 1 lots order 3:4259922  buy  2
Fa Cao
Added topic which function shall I use for timing?
Now I have opened an order and then I want to create an EA for closing this order after 2hours or 2days, which function shall i use? Thanks. 
Fa Cao
Added topic It is stunning for that one EA still work after I have removed it from the chart,why?
Its code is very simple and is below: if ( OrdersTotal ()== 0 )    {    Print ( OrderSend ( Symbol (),OP_BUY, 0.5 ,Ask, 3 ,Bid- 7 * Point ,Ask+ 20 * Point , "OP_BUY" , 0 , 0 ,Red));    Print ( GetLastError ());
Fa Cao
Added topic There is a problem about "if() OrderSend()".
The code is as below: if(Close[0]>=1.3096) OrderSend(Symbol(),OP_BUYSTOP,2,Bid,3,Bid-7*Point,0,0,0,0,Red); if(Close[0]<=1.3089) OrderSend(Symbol(),OP_SELLSTOP,0.5,Ask,3,Ask-5*Point,Ask+2*Point,0,0,0,Green);   I want made EA which will send
Fa Cao
Added topic what is the difference between "ArrayGetAsSeries(arrayX)" and "ArrayIsSeries(arrayX)"?
1. I get the arrayX by the function--ArrayCopyRates();    and then execute functions of  "ArrayGetAsSeries(arrayX)" and "ArrayIsSeries(arrayX)" as order.    but the return of the former is 1 and that of latter is 0. why
Fa Cao
Added topic I have some questions about "ObjectCreate()"
 1. code: ObjectCreate("text_object0", OBJ_TEXT, 2,0,0,0); when it was executed, it is complainde that "unknown subwindow number 2 for ObjectCreate function ". I don';t know how to resolve this problem, and why it is; according to my
Fa Cao
Added topic i can't use Script, why?
I mean when I execute script, "close" for example, it never run well, and I get the information as below:   I want to know why and how i can use script usually? Thank you! 
Fa Cao
Added topic some questions for MQL4
I have two questions about MQL4 as below: 1. what is the difference between "Expert Advisors" and "Scripts" in MQL4. I mean that I write a unit of program code--"x",when I put "x" in "start()" of Expert Advisor, the code work well; but when I put it
Fa Cao
Added topic How does the classic quantitative investing method run?
i want to know how well the classic quantitative investing method run ,such as wavelet analasis, neural network , random process and so on. I mean these methods refer to many complated math formula and i doubt their effects, but i don;t use them
Fa Cao
Added topic how to get the "peak" K line and "valley" K line in a charting formed by many K lines.
I mean whether there is a function in MQL4 to do this? if there is, shall I know which function? Thank u! 
Fa Cao
Added topic I want to a coompany of trading FX , Gold and future in China. I want to get some advice
Just as the subject, the detail is as below: This company which i want to join is trading FX, Gold and Future by EA on MT4. I have studied investment and  speculate about 4 years, but I still work for a biology company
Fa Cao
Added topic How should I draw repetive line on K lines graphic?
Now I have make a function which can draw line on K lines graphic as below: int LineNo= 0 ; void iDrawLine( int myFirstTime, double myFirstPrice, int mySecondTime, double mySecondPrice) { string myObjectName= "Line" +LineNo; ObjectCreate