Thomas Wang / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
Thomas Wang
Added topic Could anyone provide me with the historical data for EURUSD hourly since 1/1/2012?
In CSV or any other computer readable format would be the best. Thanks
Thomas Wang
Added topic How to specify the volumn of an order to be 5% of the Account Free Margin?
I can use the following function to do so if the symbol is like USD/xxx. double dblVolumn = AccountFreeMargin ()*0.05*AccountLeverage()/100000; But the function doesn't work for symbols like xxx/USD or xxx/yyy. Apparently I should convert it using
Thomas Wang
Added topic How to send an order without specifying the take profit and stop loss parameters?
Dear all, As stated in the subject, since my EA constantly checks the price for each order to see if the order should be closed, the take profit and stop loss parameters seem unnecessary, but when I use the function SendOrder, I have to specify the
Thomas Wang
Added topic retrieving bollinger bands
Hi, All, I am tring to retrieving the bollinger bands of EURUSD using the following code. I suppose the following code can retrieve the upper and lower bands of the bollinger bands. However when I run the code, the two values return the same. Anyone
Thomas Wang
Added topic Why I get a common error when trying to send an order?
even get this error when sending the order from the user interface~ Error Code: 2
Thomas Wang
Added topic How to use MQL4 to retrive data outside of the platform?
I have a program written in VB.NET that can generate buy/sell signal , but I don't know how to SECURELY transfer these information into the trade platform using MQL4. For the time being, I can ask the VB.NET program to write these signals into a TXT
Thomas Wang
Added topic How to calc these?
Please see the example below. I opened a BUY order of 80 lots (I know it's a crazy size. I just want to amplify the calc) for USDCHF at 1.16783 and the current price is 1.16753. It shows my current profit is -2055.62. 1. How did come up with
Thomas Wang
Added topic How to close an order at current price?
Hi, I want to close an order either BUY or SELL at current price, but I use the following function in vain. Please help. OrderClose (OrderTicket(),OrderLots(),Ask,3,CLR_NONE); // This is for SELL orders
Thomas Wang
Added topic Does it possible to generate an event when an order is closed?
Since generally I set a target for an open position, there is no way I can be notified if the order reaches the TP or ST. Is there a way to generate an event triggered when the order reaches the TP or ST? Thanks
Thomas Wang
Added topic Does it possible to routinely run a subroutine in MQL4?
I want to routinely run a check function . However I found to use the start() in the EA is too frequent. I want to run this check function say every 1 min. Does it possible to define one? Thanks
Thomas Wang
Added topic how to use OrderModify to modify an opened order?
I have been able to use OrderModify to modify a pending order, but I don't know how to set the parameter for Price for an opened order. Apparently I cannot modify the Price value since the order has been opened. According to the Documentation, I
Thomas Wang
Added topic Does any other forex platform that support MQL4 except Fx-Pro?
I just want to try different platforms/brokers for comparasion. Any recommendation
Thomas Wang
Added topic Error when place BUYSTOP order
int ticket = OrderSend ("EURUSD",OP_BUYSTOP,1,1.20000000,3,1.10000000,1.60000000,"Open Buy",0,0,Green); I used code above to try to place a BUYSTOP order, but I got a 130 error which means "Invalid stops". I don't know
: