Hi, I want to program an pivot - indicator, which isn't using any indicator buffer. I have already reprogrammed an existing ea: double Res3[], Res2[], Res1[], Piv[], Sup1[], Sup2[], Sup3[];int init(){ SetIndexBuffer( 0, Res3); SetIndexBuffer( 1, Res2); SetIndexBuffer( 2, Res1);...
I would like to be able to access two values from an indicator within an EA written in MT4. I don't have the source code for the indicator. Is this possible? If I had the source, does that improve my chances? Thanks
[Deleted]
I've been using eSignal for around a year, but it's expensive. I've only just started using MetaTrader, (as well), so is anyone able to tell me if one or the other has significant advantages over the other? If so, what are they? Many thanks for any enlightenment - and a Happy New Year to all!
[Deleted]
Hi, this might sound like a strange question but here it goes anyway. If I wanted create a trading robot that trades as often as 'humanly' possible while still hoping to make money in this market what is the maximum trading frequency on the order of? Is it thousands, Hundreds or Tens per day?...
[Deleted]
hi, please can anyone help me to know how to get the lot size of an opening order (buy or sell). thanks.
[Deleted]
hey guys, can you help me calculating something? i wanna transfer my code which is based on ger30 to eurusd that i can use both symbols. my problem is that i dont know the exact exchange ratio. for example when i open a trade after 5 pips in ger 30 (6111-6116: open now)...what is it then in eur/usd
-
Hello, I have a problem when I must close an order, it does not work; there is an " invalid price " error (129) althought the programm seems good if ( OrderSelect (i, SELECT_BY_POS, MODE_TRADES) == true) { if ( OrderMagicNumber () == magicnumber) { int prix ; int
[Deleted]
Hi! I have a DLL called from an EA which works fine as long as the EA's start() is called on incoming ticks only. Now I changed the EA so that the whole logic runs in a while() loop within start() which executes every 200 msecs. Since this change the DLL works the first time I call it but aborts...
[Deleted]
Hey, I got an object: ObjectCreate(NameOfObject .... And now I need to place the same object several times with different coordinates but as the NameOfObject stays the same it's not possible to create multiple objects in the same chart. How can I set an extra name for each object? I would need...
[Deleted]
is there any time zone setting in software which might b change by mistake 4m my side
Good day!!! I am a programmer looking for a stable trading system for almost 5 years. I have not come to stability, moreover, I am losing. I got the impression that FOREX is a casino to earn (win) is not possible! What do you think about it, dear forum users
-
I have a script that modifies the spread of a currency in the tester by editing symbols.sel I need the same thing but for Swap Long and Swap Short. Can anyone help me out with that? Or if not, then perhaps someone knows what file this info is stored in?
Hi, I am writing an EA that will use 50% of the previous 3 day range. E.G - If today is Thursday it will find the center value of Mon-Wed range and if its Friday then Tue-Thursday's range etc. I would like to be able to run this EA on smaller timeframes but still want it reading the 3 day range....
Greetings I have started developing some simple EA's and use them on demo accounts. I noticed my biggest challenge is actually testing EA's. I understand this question is going to be broad, but I need some advice. Whats the best testing methods. I am used to working with tools like Microsoft Visual...
[Deleted]
extern int Opp = 0;void start() {if(OrderSelect(SELECT_BY_POS,MODE_TRADES)==true) { if( MathFloor(OrderProfit()/OrderLots()/MarketInfo(OrderSymbol(),MODE_TICKVALUE)) < -50 && OrdersTotal() == 1 && OrderMagicNumber() == MAGICMA ) { Opp =...
I have been trying to open a further demo account early this morning (9:15 am in UK) and was unable to - this system gave the 'failed noise' and never reached the FINISH stage. Alpari (UK) created account for me. (I have passed details of this query to Alpari (UK) and await reply - the help message...
Hi, I'm creating a custom indicator. this indicator call the iFractals indicator on another timeframe. This cause MT4 to crash. but... if I first open the time frame in MT4 (H4 for example), then going back to previous time frame (H1) and then adding the indicator in the window, doesn't crash! so...
Hi I am using an EA which has a problem in the coding. If MetaTrader is closed down or cut off whilst the EA is running and a trade has been open, then when MetaTrader is reopned the EA closes the trade out. This is only a problem is MetaTrader losses conection and reopens itself automatically. Does...
I have discovered that MT4 offered by my ECN/STP broker will be freeze when the spread is negative. I have reported this issue to my broker and i was told that it is the limitation of MT4 since it is designed for MM but not for ECN/STP, therefore it cant handle negative spread and nothing can be...
[Deleted]
Guys, I have an indicator that I want to alert me by text message when a signal occurs. I have an extern bool Send_Texts = true; in the header and the following that never emails me. My Options Email TEST works perfectly, so I wonder if the SendMail ever executes: int start() { for(i = 0; i...
Buenos días. En varias oportunidades me han aclarado dudas que he tenido, pero para formular mis preguntas me ha llevado tiempo porque me cuesta escribir en inglés (creo que con todo y traductores lo escribo machucado). Quisiera saber si en este foro puede escribirse en español Saludos trader201
windows 7 professional 32 bit 1. open an existing somescriptname.mql4 (double click on the file not from metalang) with metalang editor 2. then modify something 3. compile it 4. the original somescriptname.mql4 will be gone. and there is only somescriptname.ex4 problem will not occur if open...
[Deleted]
Hello, I am trying to code a very simple EA. The EA should do the follwing: The variable BasicGridLine is the Basic Grid line ;) Variable grid_separation is the distance to the next grid line, again and again.... If the ask price match a grid line, a tradeshould be open with X Pips Take Profit of...
[Deleted]
Hello, I am using MetaTrader 4. I have created an expert advisor under the \experts directory and it shows up in MT4. However when I navigate via the filesystem to C:\Program Files (x86)\MetaTrader 4\experts I see all the default files but not the file I created that shows up in MT4. Why is my file...
[Archive!] FOREX - Trends, Forecasts and Consequences (Episode 10: December 2011)
(4434 1 2 3 4 5 ... 443 444)
The end of the previous episode is here . The rules of the series remain the same
Is anyone able to tell me the difference between how MT4 calculates the ATR as opposed to NinjaTrader? I'm trying to match NT's version to MT4, but the results are wildly different over all time frames. Really appreciate an explanation, coz I can't pick where the discrepancy is. NT ATR source code...
[Deleted]
How do I convert the time say from a 4 hour chart to a 1 Minute chart. so if the 4Hour chart says a specific time and date, how do I find that index on a 1Minute time frame? I used this code but it doesnt give the correct index. the chart is on a 4 chart. Print("Time of day:"+TimeDay(Time[i])+"...
[Deleted]
I know this sounds dumb to some but - I need to work out where my margin will last to - lets say I opened short position, 1.3100 eurusd - the trade goes up instead of down, now I decide I would want to wait this one out, so i don't want to close my position. I need only display that with my current
ok, my problem is on very strange array action. I got a 2D array called filecontent where on that is [50][1] in size. its set as a global variable. The problem is that although i set for every element of the array a different value when i m trying to print it back i keep getting the same value for

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.