Download MetaTrader 5

MQL4 and MetaTrader 4 - page 935

To post a new topic, please log in or register
Hi, i have a little question. I have seen a "Candle entry EA" and now i will ask for a "Candle exit EA". I will trade manuell with the MT4 and my strategy is very simple. It´s a one candle trading strategy ... On my Chart are some Indicators to determine the direction long or short! I place a trade...
Hi, Anyone know how to coding below function for the EA. 1) if i open position more than 2 currency pair, how to calculate the total lots and total profit show as points(show on pips not money)? Please provide example. Thank you very much, your help will much appreciate. Shams
Hello There is a very good indicator: Awesome_Signal - Extended Awesome 'Awesome_Signal - Extended Awesome' This indicator is a very good momentum type indicator and much more advanced than the standard MT built-in Awesome indicator. I'm looking for a interested developer who will make this...
I have been used to draw gann fan in other technical anaylysis software but I dont know how to use it in MT4, those lines look really incorrect when I set a beginning point and ending point, is there any matter with the value? r u guys okay wif gann fan????? Help plz!
Hi Programmers! I created a new chart (*.hst file) with the method of the Period Converter built in MT script. I can use it like an Offline Chart - it's Ok. But how can I run the Backtest on it? I still have tried some way. For example I deleted the original EURUSD1.hst file from the history, then I...
Hi, I m new to FX. I have traded stocks on NYSE for 4 months and I realy like what I do. Only problem is the firm I m trading for is robbing me .They take 40% of my profit and there is a bunch of other fees... I havea couple friends that are trading FX and they reccomended me the MT4 and this site....
Howdy All, From what I have read, one doesn't HAVE TO include indicators within the EA nor even attached to a chart in order to utilize them, but can make 'external calls' to them when needed. I'm wondering about the 'Pro's & Con's' and 'trade offs' of these two different methodologies? Thanks to...
I need to run my EA on multiple charts (at least 2) of different currency pairs. To avoid the annoying Trade Context Busy Error I am now using 2 computers, one for EURUSD and one for AUDUSD. Is this solution a wasteful way? Is it technically possible to use a server with multi-monitors for the...
The subject says it. I just started getting this instead of the current trade level recently for some unknown reason? Very strange! Thanks for any and all assistance (< 8)
Do you feel you are an expert in a particular field? Then this is your chance to let the world know about it. Be a part of our network of professional experts and get paid for your knowledge. Get recognized and appreciated for your knowledge and also make the best use of your free time by earning...
I've long used sequential/successive "if" assessment logic in my codes but have wondered what value programming with switch/case holds over that of an "if" block. For example, here is a successive "if" analysis routine:    if(CalculatedSymbolType==1)...
How to get total buyer & seller on a timeframe? thanks!
in win xp, mt4 display 0.00000(5 decimal). But w7 only display 0.0000(4 decimal) . How to set for w7 display 5 decimal. ex: 1.12345
A good friend told me about this method and figured it would be easy to code , What 3 rd candle is for instance you are in up trend you get the highest candle that is first candle , next candle to the rights close is less than or equal to the firsts candle close, if this so and stoch 5,3,3 is...
hi, i am writing an EA which should only work on a 15 minute chart. i would like to check the period in the init() function and if it is not correct (ie. 15 minutes) then the EA should produce an error message and refuse to start. at present i am circumventing this by making a check on the period...
  an impossible problem? (28   1 2 3)
i need to make sure that each order is only opened once, the layout of the script is very specific to what the ask or bid price is so theres over 50 pending orders in the script all followed by each other like so: OrderSend(Symbol(),OP_SELL,Lots,86.200,3,86.200+StopLoss*Point,86.200-TakeProfit*Point...
Hello, my ea works with 4 indocators and one of them is the isar parabolic indicator, but it is not working! when i include the parabolic indicator in my chart and watch 20 bars, then i restart mt4 and the points are on different positions, there are huge differences !!! If i refresh my chart then...
Hello, I have a little problem that is getting on my nerves. I have a lot of alerts that go off at certain conditions. But the problem is once those alerts go off, they dont stop until the condition is not met anymore (usually when the new bar forms) . How can I get past this? For one timeframe I...
Is there any way to color code the RSI or other indicators that will show say green for an upbar and red for a downbar? Thank you! Daddyroo
I have a system where every time I open an immediate live order, I also open 2 pending orders. I now want to add to this system so that whenever a live order is closed (manually or by Take Profit or Stop Loss) then its associated 2 pending orders are closed as well. I have made an effort towards...
I need help to code the moving high and low of the last hour (60min). can anyone help me getting this into meta editor? Thnx, alex
Hi everybody, First of all I would like to introduce me. I'm Jean and I'm new in this forum. I'm passionate of FOREX market which is the most exciting one for me. I discovered MetaTrader platform few months ago and I can't use other one anymore after having discovered it !!!! I'm trying to create...
Hi, I try to search for ways to take screenshots containing indicators in EA but to no avail. Anyone have any idea? :)
Hi everybody,i don't understand why this indicator did not work.Also i am looking for indicator that shows yesterday trend.I really need help!!!!
Hi I am trying to develop a program where I get notified when the price closes above or below the 48SMA. The code works well by the "SendMail" function sends an e-mail at every tick. How do I make it so that I get an e-mail in the following way: When the close of the last bar is aboe the 48SMA I...
hi everyone~ I am a newer in programming on mt4 from China my problem is when I use sentence OrderSend(Symbol(),OP_BUYLIMIT, BasicLots*MathPow(LotsMultiple,i+1),p+ OrderDistance*Point+DelayPoint*Point,DelayPoint,p+ OrderDistance*Point+DelayPoint*Point-MinStoploss*Point,0,"lock",0,0,Blue); the mt4...
I wonder if someone might be able to explain what exactly would occur if my EA was to generate more than one order signal on the same tick ? The EA I'm working on uses more than one trade criteria and there can be circumstances where more than one generates an open new position signal at the same...
Hello, I have never programmed before and am new to MQL4 and looking for some help when I come across something I can not figure out. I am working on programing an EA that places trades at the break of a fractal line. My first problem is my rule for not placing a trade if there is an open order is...
Do you have the same problem. When my EA closes ALL positions in Demo it works fine. But with my real account Alpari UK, nearly every two times it lefts open positions. Any idea ? thanks Total=OrdersTotal(); if(Total>0 && Error!=0) { for(i=Total-1; i>=0; i--) {...
hi, someone please code an ea for this wonderful indicator. rules are- buy when indicator is blue and exit when it turns red and sell when red and exit when it turns blue. also an option to set lots and take profit.