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
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
I have run the block of code as below: //------------------------------------------------------------ static double LastTop, LastBottom; if (ObjectFind( "Topline" )==- 1 ) {
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
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
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
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
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
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