MQL4 and MetaTrader 4 - page 1380

Hi, I'm writing a code in which I open an order manually when I wanted, and the expert checks if there is an open order or not. if there is an open order it has to take control of the closing and some other stuff. the problem is, when i open an order manually, how can I select the open order to...
[Deleted]
I know how to delete the pair data in history center, but I don't know how to do that in script. How can we write a script for this purpose? many thanks.
Hello,I have indicator which plots vertical line (thanks jellybean for help). I want this indicator to plot vertical lines on regular basis (for example, every day at 12:30 GMT - USA news). My programing language know are quite weak... Could You help me ? Thanks,Edward
I started this thread because I need help form someone who is interested in the Bill Williams chaos trading system and also has excellent MQL programming skills. I have found an excellent indicator "ZoneTrade" that is based on this trading approach that integrates Acceleration/Deceleration Technical...
  WHO WANTS THIS???  (19   1 2)
I have this really great idea that might help out all the NEWBIES out there. Okay, here it is. I can start a 4TH GENERATION PROJECT that eliminates all codings. Newbies out there simply do not have to code anymore. All the codes are generated for them. For example, Joe is a newbie. He wants to...
Hi, I want to use an trend indicator. But I see the change from buy to sell only in the color of the indikator. When I use the iCustom function in my metatrader I get only the value of the indikator back. How can I see in my mq4 programm with the iCustom Function when the color of the trend...
Greetings to One and All, I’m a new comer to the ForEx, but have used computers for over 30 years and have done a little bit of programming along the way. . Both Martingale AEs like PipMaker and Hedgers like RubberBands are great profit makers, but their downfall is that the losing trades don’t get...
Hi, I have created a good working EA for 5 currency pairs. In general it works well, the EA open more then one order correctly with the right open, stop and take profit price. But if more then one order is open at the same time and the EA use the trailing function the SL was changed autom. in the...
Hi there, I have created a custom indicator based on the Stochastics oscillator code. It is called MyStochastics and has been successfully compiled in the \experts\indicators folder. Some additions to the code have been made i.e. adding levels and changes of line style etc. Some example code is...
I have server for running MT4, and i need to fix each MT4 session with only one account (not allow user to change account), and also do not allow user to perform back test. What is the way to do that?
Hi I trying to use the lowest low over the previous 10 bars, but I am getting strange results from iLowest(). Do others have this problem? Am I doing something wrong? It appears to mix up the type constants. I've tested it on M1 & M5 because they move faster....
[Deleted]
I am following this strategy for few months and it works pretty well. I want some one to create an ea for this and publish here. Anyone who creates the EA, please publish here... This strategy works perfect only for AUD/NZD pair Strategy: Attach Moving Average indicator with period 50 in H4, H1...
[Deleted]
Hi guys, I'm looking for a way to start MT4 so that it will automatically login with provided account details (username, password, server). This account is not part of the accounts menu in the Navigator window so it is not yet configured with MT4. I'm looking for a way that will allow me to open...
Need I say more?
This is where it was claimed that yes. http://forum.micex.ru/forum/login/Tech_common/show_topic?topicid=118054580581660 But autotrades.ru no longer exists. It would be interesting to talk to this person
[Deleted]
Is it ever necessary to go into negative values on any of the properties for an EA while optimizing? Example ........................start step stop MACDCloseLevel -15 .. 1 .. 15
[Deleted]
Hi, I have been trying to extract the high and low (found on the bottom of MT4 when your mouse is a bar) to calculate the range of the bar and comment it on the chart itself. Anyone can point me to the right direction how this can be done? Thanks & Rgds Nelson
Would someone please explain, or point me to an explanation of why the Strategy Tester needs to interact with my broker? My broker (MB Trading) frequently brings down their Demo system...why does this prevent me from testing?...I can't seem to test on the weekends either. If I've downloaded...
[Deleted]
I am confused as how to retrieve the values of custom indicators. Does the mode refer to the buffer number? The following is from the indicator: //---- indicator buffers double UpBuffer[]; double DnBuffer[]; double UpSignal[]; double DnSignal[]; double smax[]; double smin[]; double trend[]; and I'm...
Hi mql community, i have added a new section to my website where you can view around 1500 strategies written for mt4 and over 1500 indicators. I want invite you for public beta test and you may tell me your ideas in this threat. Soon i want to add search facility so you can search in fulltext. its...
[Deleted]
Hi FX maniacs :) I am trying to make a function to calculate some statistic analysis. So I want to have a two dimension array with close price (Close[i]) and a calculated second dimension. So I think everything is OK but actually it isn't. The problem is that i can't put value of constant "c" i the...
[Deleted]
Hi Would anyone be able to tell me how to setup audio alerts for the attached Indicator? Many Thanks Ian
[Deleted]
Last Nite the Unthinkable happened with Forex MetaTrader4 an Erroneous Transaction that was Closed Out, Cancelled and Forced me to Close my FOREX UK Account. Good luck on fixing the MetaTrader4 Software. A Former FOREX Currency Trader.
I'm currently running a demo version of MT4, I haven't noticed a screen filter tool. Does MT4 have such a tool?
[Deleted]
For some reason, when I run the stradegy tester in quits after about a couple of weeks of data. I have the data, and can run befor and past the time, but never more than a couple of weeks worth, anyone else seen this. By the way it is on forex.com demo account. Don't seem to happen with fxpro...
[Deleted]
As an example of how to use one of my simple designs, I'm making a clock indicator. I would like to make it as convenient and customisable as possible. Perhaps with different display options, switchable at will. Perhaps with information about the time of trading sessions . Perhaps, it would be a
[Deleted]
Hi, My EA is calling this function to record the signal it trades on. void enregistrecsv(int donnees) { int fichiercsv, ecriture; fichiercsv=FileOpen("signal.csv",FILE_CSV|FILE_READ|FILE_WRITE,';'); //ecris le signal dans un fichier .csv if(fichiercsv<0) Print("Erreur a l ouverture de...
  Static Question?  (9)
int DetermineChangeInDirection(){            static int LastDirection=0;            static int CurrentDirection=1;                                                                 if (CurrentActiveTrades==6)CurrentDirection=2;//Swap Buy and Sell Parameters                                    if...
Hi guys, I have this code called Sweetspot gold that draws lines at every specific interval like 500 pips etc It writes a Name at every horizontal line it draws string linename= "[SweetSpot] " + text + " Line", [SweetSpot] 1.6500 Line Can this be written in the DESCRIPTION too?...
[Deleted]
Hi, Do you have any idea how to resize two dimensional array? The function ArrayResize work only for the first dimension. Thanks.