moonsboy
moonsboy
moonsboy
Added topic How to Change the color of iMA()?
 I tried to change the color of the 2 iMA lines below, but failed. What's wrong with the codes? How to fix? Thanks.       double MAShortCur= iMA ( NULL ,MaPeriod,MaShort, 0 ,MaMode,MaPrice, 0 );    double
moonsboy
Added topic Rear texts can't be displayed
 ctlName below is a tring to show text on terminal screen chart. However, it seems MQ4 limit the text length to display and there are some words in the rear of the text can't be seen. How to improve it?   ObjectCreate (ctlName, OBJ_LABEL
moonsboy
Added topic Can this function work before OrderClose()?
Can OrderClosePrice() really work and get effective data for open orders? Even pending orders ? What data can it get? 
moonsboy
Added topic Don't know how to select the orders correctly in this way!
I saw " MQL4.com is  moving to MQL5.com . " However can't find the forum related MQL4. Please let me ask the questions of MQL4 here.    Let's say there are many loops of orders, each loop follows previous loop. In every loop, there are
moonsboy
Added topic How to Select Orders this way?
 Let's say there are many loops of orders, each loop follows previous loop. In every loop, there are a series of orders and a whole loop means the series of orders are all closed based on a condition. In order to recover the tracking once
moonsboy
Added topic Should I sum profit first or close orders first?
 Please refer to the codes below. Is there any potential issue if I calculate order profit before closing the order? How should I improve the codes? Thanks for help!      for ( int i=ArrOrderSize- 1 ; i>= 0 ; i--)
moonsboy
Added topic Can I quote D1 data on M15 EA?
Does it impact my EA performance if I take some data from D1 data on my M15 EA
moonsboy
Added topic Can't find a proper broker
Dears,   I compared a few brokers and finally selected ThinkForex as the low fee broker. However, after tracking its spread, I found sometimes its spread goes over 1000 pips high.   Could you please suggest some brokers with lower or lowest
moonsboy
Added topic Why can't see the testing chart?
The history data has been exported successfully from TickStory to MT4. However, after the testing when you open the chart, the chart only can display those data available from my broker for a short period. For old data, the chart can't display then
moonsboy
Added topic questions about Tick Data
I understand the tick data from different brokers are different. But the data get from tickdata downloader of  StrategyQuant is same for all brokers. Can I use it for certain broker? Which broker is the tick data of StrateyQuant same as or from
moonsboy
Added topic questions about Tick Data
I understand the tick data from different brokers are different. But the data get from tickdata downloader of  StrategyQuant is same for all brokers. Can I use it for certain broker? Which broker is the tick data of StrateyQuant same as or from
moonsboy
Added topic How to calculate account balance after every order is closed?
I don't want to use AccountBalance() as I want to calculate the balance of different EA on a same account. I define accountBalance for the purpose. However how can I get a precise balance calculation after an order is closed considering commission
moonsboy
Added topic What's the exact value for volume?
Please see the screenshot below. The volume indicator is 1. Does it mean only 1 tick executed each candle?  However, you can see the candle has open, close and high prices.     
moonsboy
Added topic What value does the code get ?
After I read the indicator, I still don't understand what value I get with iZig0. Who is familar with zigzag and iCustom()? Could you please help on this? Thanks.     for(i=1; i<ZZBars; i++) double
moonsboy
Added topic What's the root cause for this error?
Below is the error screenshot. Who knows the root cause and how to fix it?    
moonsboy
Added topic Is it a Bug in OrderMagicNumber() or in OrderSlect()?
Before the new script  starts to run, there are 13 closed orders already. All the 13 orders have absolutely different magic numbers from the one of the new script. However, in the script I wrongly initialize  histroyPOS=0. I found a bug
moonsboy
Added topic Is there any relationship between spread and slippage?
When trading with codes, you have to define slippage and below are examples with SRC.  However, I have a few questions:  . May I understand  that there's some relationship between spread and slippage in live trading? E.g. Less spread
moonsboy
Added topic Is there a simple way to activate the trading line?
After you test your EA, you can see the lines show where your orders open from and where they close at? However, the lines are not shown in the chart of live trading.  Is there any simple way to switch on the function ? Thank you
moonsboy
Added topic How to tell a lot size is too big for live trading?
Every broker has maximum limit on the lot size of a symbol. However, the live trade can't be  proceeded if the lot size is too big.   Which below will happen if the lot size is too big according to your real experience?  1. the live
moonsboy
Added topic When to use "DRAW_SECTION"?
Dears,   How to understand "DRAW_SECTION"?  When shall I use  "DRAW_SECTION"? and When to use "DRAW_Line"? What's the difference?  Thanks.