Friends 1
Lode Loyens
Added topic EA MessageBox displays on monitor not displaying MT4
Hi; Got hardware setup to trade MT4 as follows: Laptop with second monitor attached which is used for MT4 only.  Works just fine. Except; messages displayed by the EA on screen using MT4 MessageBox command are always shown on the laptop monitor
Lode Loyens
Added topic EA function not displaying indicator
Hi wrote this code (MQL4) that checks currency pairs to contain USD and install the DXY indicator if so. It works as intended except when going between non USD pairs and USD pairs, the DXY is not visible despite MT4 -> Terminal -> Experts tab
Lode Loyens
Added topic Website data fetching error.
Hi; I wrote this indicator that initializes and loads successfully (see image below). I get no execution error either except I get a fetching error (but no error code)  The code I use compiles without errors as well
Lode Loyens
Added topic Pulling user input from one file into another
Hi I have an indicator where the user defines their profit ratio.   The int value is stored in the var "YourRatio".  I am not using the   SetIndexBuffer()   function In a separate EA that is not related to that indicator, I
Lode Loyens
Added topic User input during EA execution?
Hi;  I know you can build a "setup menu" that lets users set parameters for the EA.  No problem there. What I want to know is if it is possible to let users enter a value during execution of the EA?   I am presently using the
Lode Loyens
Added topic What is proper order of execution?
Hi; wrote this code that will send order entry confirmation to monitor screen and cell phone.              if (TimeStamp != Time[ 0 ])
Lode Loyens
Added topic How to color background?
Hi; I have the following code that will draw a level in the installed CCI.      if (PositiveLevel > 0 ) {        // Check if the object already exists (to avoid duplicating it)
Lode Loyens
Added topic What is the Max length of a string?
Hi; I have the following code below to automatically increase the string instead of having to manually enter each character.      // Display Divider      ObjectCreate ( "Divider" , OBJ_LABEL , 0 , 0 , 0 );
Lode Loyens
Added topic Ascii Symbol (up arrow) not displaying on chart
Hi, can anyone tell me what I am doing wrong here? I get no errors. Thank you.      // Create a unique label name      string labelName = "AsciiCharacter30" ;      // Delete the label if it
Lode Loyens
Added topic Remove background color in CCI
Hi; I wrote an EA that draws buy/sell zones in the CCI window that are preset in menu options.  It works as intended. Except I would like to get rid of the zone background color and display the zone in the actual color as preset in menu options
Lode Loyens
Added topic Which method is preferred to calculate current price
Hi; There are apparently 3 choices to calculate current price.  Which one is preferred and why? SymbolInfoDouble(Symbol(), SYMBOL_BID );  or MarketInfo(Symbol(), MODE_BID); or SymbolInfoTick(Symbol(), MODE_BID); Appreciate an
Lode Loyens
Added topic How to show hours on daily chart?
Even with maximum zoom in, MT4 still displays days in the bottom axle on a daily chart. (see image). How can I get this to show hours instead?   Thanks
Lode Loyens
Added topic MT4 Template installs only single chart
Hi; Got a question I can't seem to find an answer to, even after searching online. I have an MT4 layout that uses two charts: Chart one: 4hr EURUSD configured with its own indicators Chart two: D EURUSD configured with its own indicators I save this
Lode Loyens
Added topic Auto Save File
Hello; I wish to autosave a preset file (yourea.set) in the Presets directory of MT4 I know there is a command to do that for template files (ChartSaveTemplate()) but I can't seem to find a similar command for presets. Does anyone know? Thanks
Lode Loyens
Added topic Software installer for MT4 add ons
Hi; Does anyone know of a software installer that will allow me to install an EA, Preset file and template automatically in MT4? The files are all mine.  So nothing shady going on here.   I like to know of such a tool because I am
Lode Loyens
Added topic Removing background color
Hello; I created a custom CCI.  It works as intended.  Except; the level numbers are displayed in the background color of the accompanying line. How can I get rid off the background color.  I tried setting the BGCOLOR to white but that
Lode Loyens
Added topic Proper IF statement
Hi; got a question.  Is the following a proper IF statement? Example:          if (CCIsig > CCI_Max && (CCIdirect== "U" || CCIdirect== "N" )) cciFlag= "buy" ; or should it be
Lode Loyens
Added topic OrderSymbol() vs Symbol() vs Currency
Hi; I am curious to know: presuming I have a global variable assigned the value of Symbol(). Which expression (see below) would be better to use and what are the differences? Thank you. string Currency= Symbol ();     // global
Lode Loyens
Added topic CCI level zero not drawing unless ...
Hi; I wrote this code (see below) that will draw in predefined levels in the window where the CCI indicator is loaded (subwindow 1). Everything works except that the zero level (which must always be draw in) won't draw in unless I have at least one
Lode Loyens
Added topic Why aren't arrows displaying on chart?
Hi I generated simple EA code in MQl4 to display arrows (up and down) at MA Crossover.   Parameters for MAs (Fast and Slow) are set in menu as are arrow specifications (width, color, etc.). For reasons that baffle me, my code compiles
123