sonthanhthuytu / Profile
Sài gòn
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
sonthanhthuytu
Added topic Ask somethings about Trailing-stop (manual setup)
I want to know some details about Trailing stop (set up manually) - Can we set it for an existing order in market close time (Sat, Sun) ? - Basing on Ask or Bid is it executed ? - Which kind of price (O/H/L/C) is the base that Trailing stop will be
sonthanhthuytu
Added topic Please Help to draw a vertical line at bar 5 of the current symbol/chart !
I don't know how to get and fill the time value required to draw a vertical line { ObjectCreate( "somename", OBJ_VLINE, 0, ?????, any value) } As an example, please help me by providing the codes to draw a vertical line at the bar[5] on the
sonthanhthuytu
Added topic Why the second line-object is not auto-updated as programmed !
I have run the block of code as below: //------------------------------------------------------------ static double LastTop, LastBottom; if (ObjectFind( "Topline" )==- 1 ) {
sonthanhthuytu
Added topic Every EA is specialized for a certain pair, with a certain timeframe, isn't it ?
Hi all, I am just a newbie in coding EA. I heard much about kinds of EA programs. My problem is: How to choose the best for my favorite ? I don't believe there is an EA that works well with any pair, or/and with any timeframe. I think an EA must be
sonthanhthuytu
Added topic A static variable stores its value till next run of EA, doesn't it ?
When the EA quited, It stores its value till next run (session) of the EA, or reseted by initial value at the beginning of next session ? Thanks for help
sonthanhthuytu
Added topic deinit() can't terminate the program ?
I wrote the following code: //-------------------------------------------------------- int init() { return ( 0 ); } int deinit() { return ( 0 ); }
sonthanhthuytu
Added topic Will it still run ?
I wonder if EA still works in each of the following computer 's modes: 1. Screen Saver mode 2. Sleep mode 3. Hibernate mode 4. Standby mode Please share your experience, if any
sonthanhthuytu
Added topic Which function used to draw a horizontal line ?
In my EA, there is current limit value for Buying or Selling operation ! I would like to draw 2 current limit lines by coding, instead of drawing manually ! So, which function should I study and use
sonthanhthuytu
Added topic Need help on GetLastError() / "slippage" in OrderSend() !
1> How to make GetLastError return a string instead of a number ? I used to put the GetLastError() in Alert or Print command to see what is wrong. But I just saw the returned number ! Is there a way to let it present the string content of the
sonthanhthuytu
Added topic How to get the nearest Bid price (to the current Bid price) ?
We use "Bid" to get the current bid price of every quote So, How to get the previous bid price ? Thanks for your guide
sonthanhthuytu
Added topic how to make an assignment whch is not changed due to new quote ?
I am a newbie of coding MQL4 I did not know how to create an assignment which will not be reassigned at every moment a new quote posted. For example, I want to create a function working as follows: ---------------------------------------------- if
: