[Deleted]
Hi! I'm using MetaTrader 4 (229). I've noticed a difference of the values between the indicator Momentum which I would like to know the reason for (if anyone could explain). For instance, using Alpari UK, downloaded historical data for EURUSD for Strategy Tester, opening a new chart for EURUSD M1...
I don't know why this is not compiling. Can you help me? int start () { int ABUY, ASELL, pos; if ( ABUY== 2 ) { if ( ASELL>0 ) { for(pos = OrdersTotal()-1; pos >= 0 ; pos--) if ( OrderSelect(pos, SELECT_BY_POS) // Only my orders &&...
The trading system in MetaTrader 5 differs from that of MetaTrader 4in its basics. First of all, four types of trade operation executionare supported in MetaTrader 5: Market, Instant, Request and Exchange.Secondly, the new terminal accepts the strict delimitation between thenotions of Order, Trade...
Hi, I'm curious, when (or rather how) do you choose to open a Pending STOP order vs a Pending LIMIT order?
Is my EA fully protected from other developers and dealing brokerage firms?? And if not how do I/can I ensure that only I have the code to my EA. Are there any known cases of EA copyright infringement or hacking???
[Deleted]
Hello, I am coding my first EA to get moving average calculated every minutes. When I initialised my EA it would return the correct value, but then it would return the same original value constantly. So it seems that the iMA function reads the value on the chart only at initialisation and does not...
[Deleted]
Hello, Is it possible to send High Priority Mails with the MT4 smtp service? regards, Chris
[Deleted]
Please show me how to attach to my EA some sound. Thank you
[Deleted]
I'm trying to attach a chart overlay indicator to my chart so I can view two currency pairs on one chart and nothing is happening. I've downloaded a few custom technical indicators that work fine but for some reason any indicators that I try attaching to the chart do not work. There are no errors,...
[Deleted]
Have found a fibo indicator with very accurate buy/sell alerts 80%-90% need experienced traders to help out with more testing PM me with email. many thanks
This code compiles with NO errors When i add the error analysis cycle. else { //Trend DOWN nbr_pos_EA++; magic++; tab_pos[nbr_pos_EA - 1 ] = OrderSend (SYMBOL,OP_SELL,LOTS,Bid, 3 ,Bid-(TP* 2 * Point ),Bid+(TP* Point )
The application works OK, but my problem is the end of the program. When I finish my work with charts and I close the meta trader terminal the settings of menu are not saved. When I start MT4 terminal again - there is no menu what was before I close the MT4. There are only my charts what I worked on...
Consider the following: if ( t2>0 && (t2>t1 || t2>t3) ) l=5; I have seen this statement return true when t2<0. It seems to me this should be impossible, unless MT4 is disregarding the parenthesis altoghether. This really shakes a fundamental assumption i had made about mql4. Does anyone know how...
Hallo, I have a challenge. I need a solution for the import of few numbers generating about an extern program which works on a ftp-server. How can I read in this numbers in my ea? Many thanks
Can I send an order for a Stop order, as soon as I close a previous order at the stop loss value within the same function ?
(15 1 2)
This has to be a repost as I've not solved it yet I have tried this code, but I don't know what to do to get it to work void killTrade(int pips, int ticket) { double price = NormalizeDouble(OrderOpenPrice(),Digits); bool reopen = 0; if(OrderSelect(ticket, SELECT_BY_TICKET)==true) { if(pips <=...
[Deleted]
I wonder the code for changing the s/l continuously or t/p of an open position by the EA.... How to change it and I want the s/l to follow open trade by differing in 3 pips but that should start when the trade is in profit zone. and where I should include this set of code in the mql4? Please help...
First I try to delete pending order with magic number=1 using this: OrderDelete(OrderMagicNumber()== 1 ); Doesn't work! But somebody tell me that this is boolean expression. //by the way thanks brewmanz So i think about: int OMN= OrderMagicNumber; for ( OMN= 1 ) {...
Please give me a prompt if you know why this isn't runs when I add it as a strategy in my panel. I want it to check if any order is on the market. If not it should send pending orders. I think that the problem is in form or coding. int start() { double ABUY=0;double ASELL=0;double BBUY=0;double...
Hope one of the computer savvy forum members might help me with this. I want to upgrade an old laptop to something (a desk top PC) that I can run multiple EA's and versions of MetaTrader 4 on. I have 2 questions: 1. Is it more effective to run multiple EA's (all within one version of metatrader but...
[Deleted]
Dear Sir I have a question I use technique scalping. Due to this it use order instant and pending order. And every order has in set TP that distinctive. I want close all post just now when has attained either TP. and the closure to pair that only. can master help me Thank You
[Deleted]
hello, I am looking for a good mt 4 range bar indicator or script for free or ? one that : draws candles, not renko bricks. works well in real time can have all standard and custom indicators applied onto it can have the border and body colors modified does not crash or bog down can be modified...
I am having a hard time trying to create a custom indicator by using math functions. I am trying to create a simple indicator that charts the median (H+L/2) price for each time period and then graph the line. I can not find any examples of indicators that does this simple function or any other...
Can the MT4 Multi Terminal be used to control two or more accounts with two or more Brokers? Thanks in advance
I keep getting this error from my MT4 terminal saying I have entered an "invalid Serial". I use Oanda as my broker and the expert Im using has worked fine on other accounts. Any suggestions?
[Deleted]
Hi All, I'm trying to develop my own indicator (MyIndicator) by using the iCustom function to read three values from a third-party custom indicator. Originally I was trying to calculate a value for MyIndicator for all bars in the sample window (GBPUSD Daily ~65K bars). But each time I ran...
Hi guys. Logged in now and my account history is just missing? Has this happened to any of you and if so what is the fix. thanks,
[Deleted]
'Gday Amigos Anyone know if MT4 has a problem with Vista Ultimate 64 bit? Or anyone happy using MT4 on Vista 64 bit ? Thanks alot. M
[Deleted]
Hi, i'm looking somebody who knows how close open order on the level that was opened. If oder had been opened on price level 1.4321 than i want now close it on the same level. Anybody knows how to do it? thanks for any prompts:)
Can I send an order for a Stop order, as soon as I close a previous order at the stop loss value ?
(2)
I have tried this code, but I dont know what to do to get it to work void killTrade(int pips, int ticket) { double price = NormalizeDouble(OrderOpenPrice(),Digits); bool reopen = 0; if(OrderSelect(ticket, SELECT_BY_TICKET)==true) { if(pips <= -1*getMaxLoss()) {...
I have found a custom indicator in the 'Book' section. It is listed as "roc.mq4 (Priliv)". I assume that this is available to buy but how do I contact the author? Also, once downlaoded, how do I had it to the MT4 'Custome Indicator' file? Hope this makes sense, Gordon.

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.