MQL4 and MetaTrader 4 - page 644

To post a new topic, please log in or register
I have been looking for something like BarsSince (or Bars Since) we find in other platforms but didnt found what I was looking for (maybe Im not good in searching). So I decided to do it on my own and share it here just in case others are in the same situation like I was yesterday. It is a very...
Hi, I have the following problem: I use template from here: https://www.mql5.com/en/articles/1514 Function PrepareTicketsToClose makes an array of orders to close, but I have an additional variable NET_LOTS, which tracks the number of orders in the terminal. What I want, but do not know how to do is...
I have an EA which opens a big number of trades (it uses a system similar to grid trading), so when backtesting it, I often get error 148 (ERR_TRADE_TOO_MANY_ORDERS). To avoid this problem, I ask you: is there a MQL4 function that returns the maximum number of open trades, so that I can code this...
CAN I GET BACK TO WORK NOW?WITHOUT HAVING MR WHROEDER CALLING ME A TROLL?CUZ IF I CANT, I DONT MIND, I HAVE A COUPLE OF YEARS TO KILL..IT IS YOUR CALL..I WAS NICE AND PLEASANT WHEN I ARRIVED HERE.AND YOU ALL PHKD WITH ME.NO DICE MTHRPHKRS.I DONT LAY DOWN FOR NO PHKNG BUDDY.GET IT?GET READY TO RUMBLE...
If anyone wants to give this a go i will upload the indicator for you to code. This has strong potential and with a touch of martingale it could be even better. Had good performance on demo. I tried to make this on Molanis but you cant add custom indicators
In the EAs I Have been working on recently I have been working witht several timeframes, using iHigh(), iLow(), etc, extensively throughout my code. I noticed that my EAs were running slowly in the Strategy Tester compared to the first EAs I wrote. So I started wondering why, I did a little test...
Could some one help me finding this error of Unbalanced left parenthesis.... i tried myself all combinations but it never solves.... and also an advise if all the cases are properly written .... i tried to write the 4 ma crosses and cci above 100 or -100 to buy and sell ... Thanks in advance!...
To trade at better price, I need to save trade information in a string and execute the trade when market reaches a better price. This works without problem until someday when I add variables to some point - it seems the EA has reached a limit. This is especially about some string variables that save...
I have a retail manual trading system that has numerous (custom) indicator modules to it. It has one 'masterindicator' that uses other indicators and generates trading signals and paints these as Objects on thechart and generates alerts if I have them turned on. The problem is that it oftengenerates...
Hi All I run MT on a server in a different country and access my accounts via remote desktop. However, I also want to access my account directly from my laptop when comms to the server are not functioning at their best. Currently I do this by logging into my MT account using my main (not View)...
Hi, I did search forums and was able to write this code. But I am stuck here. I require a script/indicator something that would write to a file when a new bar is created in all time frame. Can somebody help me improve this code please #import "kernel32.dll" int _lclose (int); int _lopen...
Hi, I am trying to add a library to my advisor. I made all the configuration. But at the last point it gives this error while compiling : 'GetNameOP'- function is not defined And this is the line where it points the problem : Print("Ask=",pAsk," Bid=",pBid," sy=",sy,"...
Hello, I want to buy Indices M1 (bars) history-data of several years (primarily of SPX). Does anyone know where could reliable data be bought? { Ofcourse it should be in MT4 supported format } Thanks much. P.S. I'm familiar with the disktrading.is99.com website and Olsen-Data company. Looking for...
  Debugging a DLL (15   1 2)
Just updated my MT4 version to build 229 and now I am not able to attach a debugger. "Debugger detected" them the terminal closes. So I thought I would give MT5 a go and I see the same problem. Looks like Themida Debug Guard. This poses an impossible situation for library developers like myself....
I need a function to accumulate orders, for example if I have a purchase order, and the market is going up, and up 20 pips above my active order, I have to enter another order. If again after 20 pips above this last another order, another order released. So until I get the state to close all orders....
Hello every body, i'm a new developer on MT Program. i need to run my script after the client pressing buttons (buy or sell). is there any link i can use it ?? can anyone help me on this issue ??? Best Regards, Saker
take dis ea ex4: Strategy Tester Report stohastic 100 10 10 m30 ok Varchev-Demo (Build 432) SymbolEURUSD (Euro vs US Dollar)Period30 Minutes (M30) 2012.06.06 00:00 - 2012.08.08 11:30ModelEvery tick (the most precise method based on all available least timeframes)ParametersTrailingStop13=35;...
各位高手大大!! 您們好!! 小弟之前曾經將交易程式掛在MT4推出來前的FXDD前一個平台,曾經用這個程式跑了兩個月的真實帳戶,之後電腦中毒,程式也跟著洗掉了,當初是朋友將程式掛在平台上的,而後來朋友失聯,一直聯絡不到,我手中有當初列印下來的程式資料檔案,卻沒辦法把程式掛在MT4的平台上執行,我試了好久都沒辦法,我不是搞程式的料.... 目前得知有些高手大大會寫EA,是否能請各位高手大大幫忙? 能否幫我把程式植入MT4的智能交易系統裡面,並且可以執行? 幫寫程式的收費請各位高手大大開價!
  Need Help programming EA (13   1 2)
I have a trading methodolgy I use and is profitable. I need a programmer willing to write an MT4 EA for me for free and back and forward test it.. If interested email me @ kgibson5@woh.rr.com Kind Regards, dgib1038
Is there anyway to have mutliple workspaces/profiles open simultaneously? Each time i want to use a different profile, the one i was using is replaced with the new one and is ineffecient. Would be incredibly advantageous for the pro trader to have ability for multiple workspaces/profiles open...
hi i am new to this forum and have heard that experts over here help and train beginners and learners in developing custom indicators and EAs. i am new to trading but have been successful with roughly 60:40 hit rate and 1:1.5 risk reward. but i have been trading manually which is so boring and...
Hello friend, any one have this (T_S_R)-BigTrend indicator shown in details in the following website link: http://www.aboutcurrency.com/forexdownloads/indicators/MT4Part1/TSR-Big-trend-metatrader4-indicator.shtml Check this link, and send me that indicator.
Hello friend, any one have this tool or expert advisor, by which i can copy only profitable trades (not losing trade) from MT4 demo account to MT4 live account ? My broker is EXNESS. I am waiting for positive reply.
Greetings! I am a newbie that is familiar with programming EAs, but I do not understand the custom indicators very well. I need some help getting my EA to recognize an indicator's bar color I am using the Heiken_Ashi_Smoothed indicator (attached and modified for my use). I would like my EA to look...
  Help with EA (18   1 2)
Hello all! I'm new to this forum and would kindly ask to help me out with an ea. Maybe there are some experts who can do this in a few minutes. Attached is an so-called Open Price Action EA. I'd like to have this ea open trades when the actual price is 5 pips above/below an 62 EMA applied to the...
Goodday, i want to developp an expert advisor or script which permit me to implement mt4 by order entry in excel. Is this possible and complicated? how many hour of developpment is required? Any help, link on this will be greatly appreciated. tks patrick
I recently began learning MQL4 in order to automate a trading strategy I havebeen performing manually for some time. However, as I have learned more aboutthe MetaTrader platform and the language it has become apparent that mystrategy may not be achievable using the platform. One key aspect of my...
Is their anyway to capture and utilize Data from Alert & Info Boxes ?
This message is directed especially to new members. Recently I'm finding myself (and noticing some of the other programmers) answering the same questions time after time after time. It is quite clear that many new members post their questions without searching the forum or using the documentation....
Hello, Id like to import comma separated CSV files to MT4. I downloadad CSV files from yahoo and compared it with the format what I can export from MT4. I modified the original CSV and MT4 can recognize it now but I don't know where can I find it in MT4 after that. How can I open it as a chart and...