MQL4 and MetaTrader 4 - page 1550

[Deleted]
Hi All I am trying to test my new EA but would like to be able to stop it running on and producing lots of data after it has reached a certain point. Please can someone tell me how to do this. Ross
[Deleted]
I would like to make a suggestion to collect in this thread useful suggestions on how to improve the forum in the view of visitors and participants. Under the slogan: "A serious forum for serious people" (other slogans may be suggested :-)) Many have noticed that the level of training and experience
I got A simple price difference indicators. Just would like to share code for the indicators like this for(cnt =limit-1 ; cnt >=0; cnt--) { Diff[cnt]=Close[cnt]-Close[cnt+1]; }
[Deleted]
I would like to know if there is already a code or how to dynamicly color OHLC price bars upon OA and MFI indicators. SO, I would like to have: 1) If AO is red then OHLC bar is red 2) If AO is green then OHLC bar is green Or more advance: 1) If we have in Market Facilition Index: MFI Down,...
[Deleted]
Hi, I have problems with symbols. It seems like "something" has changed the symbol tables. Instead of arrows ( fractals , etc ) I'm getting letters. Can someone help
Hello, I have disabled the option "Ask for manual confirmation" and indeed my EA opens orders automatically. But it will not modify orders automatically, and the window for Modify SL/TP options keeps popping up when there is need to change SL. Please, does anyone know why this happens and how can...
  An error puzzle  (6)
A friendly HELLO to all you good people! Trying to compile the attached file Acdat01.mq4 gives this error: '\end_of_program' unbalanced left parenthesis Clicking on the error doesn't take me to the place in the code where the parenthesis is missing ... it does show (143,1) but I can't see any...
I'm looking for a Translate English for Revers.mq4 https://www.mql5.com/en/code/8820 //+------------------------------------------------------------------+ //| Revers.mq4 | //| Copyright © 2005, MetaQuotes Software Corp. |...
On the website of the Automated Trading Championship 2008,an article Multicurrency Expert Advisors at the Championships has been published. Multicurrency Expert Advisors allow us to reduce risks due to their diversification. However, the present research shows that there is much to do in this field...
Hello MT Experts, I Can`t Create A Simple (Free Hand) Trendline Alert !!! Is This Possible At All ??? Does Anyone Has An Alert Yet ???  Thanks ahead
[Deleted]
Does anyone have any expierence with the "Instantprofit" software to calculate your trade positions for the next week? Looking forward to your reactions.
[Deleted]
Hi everybody.I wanted to test an EA in the Strategy Tester (EUR/USD), but I just get the message "Waiting for Updates". I am able to test it from 2001 till today but if I want to test it from 1.5.2001 till 31.4.2002 I get "Waiting for Updates". I already downloaded all available historic data from...
[Deleted]
In this EA, I am simply trying to add up the number of times a given distance occurs between median price and a simple MA.  When the array prints in the de-int, it prints all 0's.  I think there must be something wrong with the way I am adressing or assigning the arrays? extern int...
[Deleted]
I testing a ea, the King_EA, but not woriking extern int MaxOpenTime_BUY = 10; extern int MaxOpenTime_SELL = 10; parametr . Why? Can somebody correct him. I know that they is error the code other, but I am not programmer
New article File Operations via WinAPI is published: Environment MQL4 is based on the conception of safe "sandbox": readingand saving files using the language are allowed in some predefinedfolders only. This protects the user of MetaTrader 4 from the potentialdanger of damaging important data on the...
[Deleted]
Hi, I am just a beginner in forex trading. I just want to know how do you adjust the date/time format in the timeframes? Let say I am in the daily chart, for example I see the dates as January 1 then January 4 then January 8 (I mean the days is shown in intervals of 4 days). I want to see the days...
[Deleted]
Hello, I need to create a script to exit a trade on a certain RSI (7) value. Can someone show me how to do this?? I have seen lots of scripts to exit trades based on a certain price, but I need to exit trades based on specific RSI (7) value. Thanks!!!
  Trial Period EA  (2)
Hi I want to have people download an EA and run say a 5 day trial. I want to go the route where the EA connect to my website and checks my Database. I program in PHP so that is no problem but how can I communicate such a thing with mql4? L
I have a strategy which needs to be built up with 2H timeframe. I have gone through Period_Converter_Optimizer indicator, but it just shows the chart on 2H timeframe. How can I encode my strategy to work with this 2H timeframe, as the strategy tester doesn't allow me to select custom frames.
[Deleted]
Hello, Any resource on where I can find chart pattern algos? a book resource would be great.. or online articles. more 'simple', classic patterns like: - cup and handle - bull flag - double bottom thanks for any input!
[Deleted]
Hi, I would like to write a script (or if someone could help, offers welcome) that I can use when a certain price range repeats and comes up it would activate a buy/sell transaction. If anyone could get me started or is willing to write a basic script that I can use, will gladly be willing to...
Hello, I'm new at this EA trading, I would like to have an EA built with these peramiters if possible. I want to be able to -manually put in 1 trade for X amount -Then I want the EA to automaticlly stack trades for that exact amount of the manual trade for every X amount of pips away from the manual
Good morning, I have tried to open the championship demo account on the platform of 2 different brokers that I was using to test my EA (Interbank and Alpari) but nothing is happening. There is a message in the journal that show a "NO WAY" sign and says " trading attempt in the investor mode"....
I have tested many Expet Advisors from this site but none of them seem to work with the Meta Trader 4 live site. Is there anybody out there who's got an EA that really works consistently with all pairs all the time regardless of the Forex Market swings? It would be nice to know, if there is an...
int start() { int counted_bars=IndicatorCounted(); int k,i,j,limit,hhb,llb; if (counted_bars<0) return(-1); if (counted_bars>0) counted_bars--; limit=Bars-1; if(counted_bars>=1) limit=Bars-counted_bars-1; if (limit<0) limit=0; for (i=limit;i>=0;i--) { hhb =...
Hi, I am trying to figure out if there is a possibility of interpreting 2 indicators in a same window and carrying out an action. For example, I have added Momentum and RSI on a single window. Both the indicators have there own range in the chart - RSI from 0 to 100 and Momentum from 98 to 101....
[Deleted]
Hi I m having a strange behaviour when I use ObjectCreate() function to create a text on the chart.. As you can see from the attached picture, I created 6 Obj_text on the chart. Funny thing is there is a trend line links them together which is I don't even have a single line of code to do that. I...
[Deleted]
Hi, i am new to Forex trading. I have a problem. I installed and setup a demo account. For some reason the program starts on it's own, picks up a trade, sometimes two or more, and sucks me demo account dry. I have tried to stop it without any luck. I have to keep the autotrader MQL4 turned...
[Deleted]
Hi, I have just purchased the Forex Auto Pilot System by Marcus B. Leary and applied for a trading account with Forex Meta Brokerage. However I'm not sure if I'm still in demo mode or live trading mode? Can some one please help? Thanks Solly. PS: Please keep it as simple as possible, I've only...