MQL4 and MetaTrader 4 - page 1601

Hello I'm trying to help a friend with MetaTrader, getting him started and so on. But, when we're trying to run the example EAs (and some of my EAs) through the strategytester we're getting error 131, wrong lotsize? How could this be fixed? Since it works on my computer it should work on his given...
Hello, I dont understand two Thinks here is a picture By the yellow Line: How can I make a show like the original ADX Indicator, I tried the function IndicatorShortName(), but at the end of the sentence were still the three values of the three ADX Indicator lines, I do not quite gone? By the blue...
Hi! I got Core 2 Duo especially for the strategy tester but when I tried it i had abad surprise. It uses only half of the processor's capacity. One of the cores is fully engagedand the other one is doing nothing (looking at the task manager). Is there hope for dual core optimized strategy tester...
[Deleted]
Hi. That is to say my EA doesn't want to send a pending order. Pending Order aims - e.g. - at buying at (Ask - N ticks). If N==3 then it works, whereas N>3 it possibly returns err 138. The error is ERR_REQUOTE (I presume) and I don't know how/where and what function to add. What is the most...
[Deleted]
  mql programmer  (2)
I am looking for an mql4 programmer to do some thinks for me (indicators and EA's). Every one interesting leave a message here with an e-mail so we can discus the details and the cost
[Deleted]
Hi Rosh, I have a question, whether the ex4 can create a log file (.txt) automatically, and the ea can import or use back the info or any number and wording (maybe some instruction script) from the log file? If so, can you help and provide me the sample. Thank you
[Deleted]
Hi there I've been searching through the forum for quite some time now, looking for a way that I can change the colour of a OHLC-bar or Candlestick when certain conditions are met. I have found none. Ideally I want a OHLC-bar or Candlestick Cart with 3 colours. One colour when the opening price and...
[Deleted]
Hi there, I have programmed a simple ema as a start to get into MQL4 programming but have run into a snag. I get an error message saying corssed - function not defined on the following section of code: sEma = iMA(NULL,0,21,0,MODE_EMA,PRICE_CLOSE,0); lEma = iMA(NULL,0,55,0...
I have been fooling around with this ea system for a while and found its only flaw i can see is it will enter into too many trades at once. so i was wondering if i could get some code for it to only open one position at a time. do not open trade until other trade is closed. any help would be...
-
I am trying to create an EA for a system that uses Bollinger Bands as one of the indicators. A problem that I am running into is that I want my code to "save" or "store" a number when certain criteria is met and than change that number when the next set of criteria is met. This is my current code:...
[Deleted]
hi guys is there a way to thread with mql4 or using mql4 functions in my own DLL. Thanks.
[Deleted]
Hi I have imported a M1 test data through the history center and then convert it to all the other timeframes by using period_converter. After that I checked the off-line chart for the currency pair that I just updated and I can open all the time frames of this pair. When I started to test my EA,...
Hi All, Docs state: Any trading operation (functions of OrderSend(), OrderClose, OrderCloseBy, OrderDelete or OrderModify) can fail, for a number of reasons, and return either negative ticket number or FALSE. One can find out about the reason for fail by calling of the GetLastError() function....
[Deleted]
Hello! I would draw indicator line in expert advisor.I calculate the value in expert but i need to draw this line.Can help me anybody,how can i solved this problem? Thanks for help!
I'm developing a fundamentals indicator. I have weekly news downloaded from dailyfx.com/calendar in CSV format. How do i interface metatrader with excel, i know metatrader has DDE support. I attached the weekly calendar in CSV format, and i would like to process that calendar with MetaTrader, how do...
[Deleted]
hi.. I've modified the default script (trade.mq4) in metatrader platform to execute martingle based trade.. the condition is like below: Starting lot: 0.1 Multiple: 2 Pips: 8 TP: 10 Max trade: 5 and here's the code.. //+------------------------------------------------------------------+ //|...
[Deleted]
I ran into a problem that I dont know how to solve. My program has a few open orders and closes them all together but sometimes I think that some of the orders are not filled therefore it keeps waiting till they are filled and that locks up my program. What have you guys found to be the best...
[Deleted]
I ran the same EA on multiple charts and it starting doing some wacky things, what am I missing? And what is the 'magic number' for? I thought if I saved the ticket number in an external variable I could use that to identify the trades of individual EA's. Each EA has only one trade open at all and...
[Deleted]
Hello, Im new user used FXDD-MetaTrader new software version. In demo account,when start to buy, 0.01 until 0.05 is meaning for what? usd1 or usd10cent. Im confuse when i registered demo account USD1000, buy 1.0 computer notice money not enough. In all version software 0.1 is usd1.
[Deleted]
I have an indicator that puts an arrow on the chart and fires an alert on crossover. But sometime the alert doesn't fire when expected. For example using a 1H chart: Right after the chart has moved to a new bar I check to see if I have any alerts for Bar[1] and I'll have one. If I close MetaTrader
I am fairly new to MQL4 programming. I have a strategy I am considering to converting to MQL4. I have 2 questions: 1) How far back does the back testing capabilities go? I would like to test the strategy for several years to ensure the program is robust through many different market conditions....
[Deleted]
ALERTS FROM INDICATOR BY ALEXCUD 1) ÐÅÇÓËÜÒÀÒÛ 2) Íåïëîõîé ìîìåíò äëÿ îòêðûòèÿ ïîçèöèè BUY 3) Íå ðåêîìåíäóåòñÿ îòêðûâàòü ïîçèçèè. ÆÄÈÒÅ 4) Íåïëîõîé ìîìåíò äëÿ îòêðûòèÿ ïîçèöèè SELL 5) ÓÄÀ×ÍÛÉ ìîìåíò äëÿ îòêðûòèÿ ïîçèöèè BUY 6)...
[Deleted]
iam trying to compile my ea and it gives me this error message "variable not defined". can anyone assist me on how to go about resolving this
[Deleted]
Hello, I'm a newbie and need to know how to set up forex killer i have downloaded and attach it to the MetaTrader 4. Can anyone help with that.
Does anyone have a Random Walk Index indicator? example: http://www.linnsoft.com/tour/techind/ranWalk.htm
[Deleted]
Any one know about this Hivetrader auto platform? Any comments will be appreciated.
Hi I'd like to know how to build my own moving average with the average of 4 indicators double ma = iMA(NULL, 0, 14, 0, MODE_EMA, PRICE_CLOSE,Current + 0); double ma_m15 = iMA(NULL, PERIOD_M15, 14, 0, MODE_EMA,PRICE_CLOSE, Current + 0); double ma_m30 = iMA(NULL, PERIOD_M30, 14, 0, MODE_EMA...
[Deleted]
I want a situation where Macd crosses Macd Signal line execute a buy or sell signal please help interprete the codes below whether is correct if not could kindly code them for me. thanks MacdCurrent=CD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0); MacdPrevious=CD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN...
do any body know more about this best forex indicator software KI_signals1_H1+low_3-10-18_optimized.mq4 (4.3 Kb) View
Hello, all programmers! I have a few systems that need good programmera to make EAs. Please write me a private message and I will tell you more. sharf@gmx.com Thank you, Fx-Life.