Fa Cao
Fa Cao
  • Information
10+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Fa Cao
Added topic something wrong cause "Stopline" moving, I have spent much time to get this bug, but failed
The codes are as below: I just want to send an order to buy and then set a proper stopline for this order; but I find when this EA is executed, the stopline is up and down continually, so which bug cause this? int counted= 0 ; int Move_Stop_Small= 30
Fa Cao
Added topic what 's all the information we can get for the order which has been closed?
I mean whether we can get all the information about the orders which have been closed, such as how the orders are closed, by " stop loss " or by OrderClose(), if we can, which functions should be used
Fa Cao
Added topic A question about "Indicator_buffers".
I don;t understand how the indicator lines to be draw just by indicator buffers . I will explain my doubt by below codes: #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Silver extern int
Fa Cao
Added topic some problems about strategy tester's results
Just now, I have made an EA and test it by MT4's strategy tester , and I trade the pair--USDJPY, then I have found some questions as below: 1.ordersend() OrderSend ( Symbol (),OP_BUY, 1 ,Ask, 3 ,Ask-stop_loss* Point , 0 , 0 , 0 , 0 , 0 ) I should set
Fa Cao
Added topic a problem about "IndicatorCounted()".
According to my understanding, "IndicatorCounted()" will return "-1" when it was loaded at the first time and will return the mount of "effective bars" from the second loaded or executed. But when I run below codes, I
Fa Cao
Added topic how shall I get some parameters' value from some custom indicators
I mean when I have made an indicator in which I have set many parameters computed from some value. Now I want to send orders according to these parameters which is produced in this indicator. How shall I use these parameters in EA? the indicator's
Fa Cao
Added topic a problem about assignment for parameters
A: bool isFirst = true ; datetime   time_current; int init(){    if (isFirst)    { isFirst = false ;     time_current= TimeCurrent ();     } B: extern bool isFirst = true ; extern
Fa Cao
Added topic indicator line 's difference because of a very little different code
Below code comes from an indicator's code, and I think the red codes and blue codes are the same, but in the fact very different. i= Bars -MAPeriod- 1 ;    if (counted_bars>=MAPeriod) i= Bars -counted_bars- 1 ;    while (i>=
Fa Cao
Added topic A question about 'iCustom'.
just now I read a segment code as below: double myMain= iCustom ( Symbol (), 0 , "Stochastic" ,KPeriod,DPeriod,Slowing, 0 , 0 ); In this codes, “KPeriod” and “DPeriod” belong to " Stochastic " 's parameters, then I can;'t understand how
Fa Cao
Added topic what is the effect of 'Optimization' in history testor?
Just now I test an EA on USDJPY history data. when I select 'optimization', I will get the complain in 'Journal' that "There were 1 passes done during optimization, 1 results have been discarded as insignificant"; but if I never select
Fa Cao
Added topic how to know what is the minimum of stoploss
when I use "ordersend" to open orders as below: OrderSend(Symbol(),OP_BUY,lots,OrderClosePrice()+100*Point,3,0,0,0,0,0,0); Sometime MT4 will complain that the stoploss is too little, but I don't know how to know what is the minimum for some
Fa Cao
Added topic some questions about adding text by "A" on K line chart and time counting.
1. a question about adding text on "K" line chart by text tool--"A" on MT4 when I add the text--"Words on Test" on "M15" line chart as below: then I change to "H1" line chart, and I get the below
Fa Cao
Added topic how shall I import an existed EA (when I just can open it on metaeditor) on my computer into MT4 for using it?
of course except that i create a new blank EA and copy the previous EA on this new one. Thanks a lot
Fa Cao
Added topic shall i reset the time-zone on MT4 chats?
we can get a chart for some symbol, xauusd for example, on MT4. On this chart we can see many K lines, ups and downs, and when we put mouse on certain K line, the information of this K line will be shown, including the time when this K line was
Fa Cao
Added topic a problem about adding "text" to the chart by button "A"
when I added some "text" on some symbol chart of 1 hour timeframe, after that I go to its chart of 15 minutes timeframe , and I find that these "text" still exit. My question is that whether these "text" can only exit on 1 hour
Fa Cao
Added topic anything still work after MT4 software is shut up?
I know that when MT4 software is shut up, EA which was attached to the chart never works, then I don't know whether there is anything still work after MT4 sofeware is shut up, such as, stoplevel, pending orders and so on? Thanks ! 
Fa Cao
Added topic A problem about initialization of EA.
Now I have made an EA which is attached into USDJPY's chart whose timeframe is 5 minutes; after 10 minutes,  I changed time frame to 15 minutes from 5 minutes; I find that the EA is initialized again, which I think is EA's principle
Fa Cao
Added topic How can view precious metal price by MT4?
I mean I just can view currency pair price but not gold or silver or other precious metal's price? How can I? thanks. 
Fa Cao
Added topic a problem about function -- "ordersend()"
Now the symbol-" USDJPY " price is as below: bid: 95.82  ask: 95.84 I execute the below codes in my EA: 1
Fa Cao
Added topic shall I recover an EA or Script after I have deleted it?
Sometime I find there is something usefull in the deleted EA or Script. Shall I recover it after that? Thanks!