Forum

Automatic Posting with WebRequest - Login to mql5.com

Hi Login to mql5.com through WebRequest(), as given in https://www.mql5.com/en/code/12296, is failing. As has been pointed out in https://www.mql5.com/en/forum/75892, this is due to changed login methods. It seems some internal tokens are being generated. May someone give some directions as to how

Programmatically Disable Sound of "Alert()" function

Hi Is there a way to programmatically disable sound of Alert() function ? Manually, one can go through Tools > Options > Events (tab) and therein click "Alert" once so that a "x" sign (in red) appears on it. Yet, I wish a solution to do so from within the code. Thanks in Advance Vivek

MathFloor() Issue

I am getting a confusing issue with MathFloor() function in mql4. Print(MathFloor(11219.0)) gets displayed as 11219.0 but Print(MathFloor(10000*1.12190)) gets displayed as 11218.0? Any idea, why

Explicitly Release Memory or Delete Variable

How to explicitly release memory, pointed by a variable, or delete the variable itself

Programmatically Removing Indicators from the Chart

How can ALL indicators be removed from the chart, programmatically? Thanks

Chart Comment at Desired Location and in Desired Colour

Is it possible to change the location and the colour of the comment that is displayed on the chart through Comment function or ChartSetString(with CHART_COMMENT )? By default, it gets displayed in white colour on top left corner

Include % Sign within a string type variable through StringFormat() Function

How can I include % in StringFormat() function ? I was trying this instruction to display % sign after the stopOut value: string msg = StringFormat("\nA/C Stop-Out: %g %",stopOut); But, this instruction is not displaying any result

Calling/Executing EAs or Scripts through a Single Program

Hi Is there a way, wherein any desired EA (or script) may be attached to the chart (or executed) among a given set of compiled EAs (scripts) by executing another single mq4 program? Thanks

Formatted Number within a String Variable

Hi How may I include a formatted (say float type) variable's value within a string variable? Thanks in Advance