Forum

infinite loop

how can I change this Code to cause an infinite loop within my Script every 3 Minutes: //+------------------------------------------------------------------+ //| screentest.mq4 | //| Copyright 2016, MetaQuotes Software Corp. |

sorting Trades by opening time

how can I get time1 and time2 to sort orders by time? //+------------------------------------------------------------------+ //| rrrrrr.mq4 | //| test | //|

ArraySetAsSeries() function timeseries

I have got two Errors in this script. what is wrong? '{' - unbalanced parentheses trrrrr.mq4 in line 14 Error ')' - unexpected end of program trrrrr.mq4 in line 47 Error //+------------------------------------------------------------------+ //|

order open time sort by opening time

How can I sort open time of Orders descending or ascending in my code: Ticket open price open time symbol 40739542 9844.79 2016.05.18 11:50:27 48327797 10280.5 2016.10.04 20:43:05 DAX30 40739556 15.882 2016.05.18 11:50:44 DTEDE 40739557 15.908 2016.05.18

Extern variables

I have this code in my indicator: #include "C:\Program Files\GKFX MetaTrader 4\MQL4\Libraries\htmcode.mq4" is it possible to set this path as Extern variables so that I can change it externally

uploading File without webrequest

Hallo Sirs, I have written an Indicator, which write a HTML File and I want to insert a Code in my Indicator to upload this File to my FTP Homepage. is it Possible without webrequest

How to see all my repllies and comments in this Forum?

How to see all my replies and comments in this Forum? thanks in advance

how to put a function inside start() that detect when OrdersTotal() change.

how to put a function inside start() that detect when OrdersTotal() change. Thanks in Advance

market and pending orders Report

I tried to write a Script that save my market and pending orders, I've noticed a (cannot open file 'C:\Program Files\MetaTrader 4\MQL4\Scripts\test.ex4' ) in the Expert tab in MT4 This is the Code. void OnStart() { //--- int handle=FileOpen("OrdersReport.csv", FILE_WRITE|FILE_CSV ,"\t");

Export Data in real Time from MT4 to Excel

I attempted to publish my Trades on my Homepage Then I found this program: https://www.mql5.com/de/code/1246 how can I convert mq5 to mq4? this tool was written in mq4 but is modified to mq5. All data that become available in MQL5 can be exported via this DDE interface. how can I modify dde_example