Download MetaTrader 5

MQL4 and MetaTrader 4 - page 245

To post a new topic, please log in or register
Indian Stocks can we get MT4
Hi, In my fisrt EA that I am writing, I am checking some conditions from indicators in 1D, 4H and 1H. All the indicators are written on its respective time frame. The problem that I am having is that, when using test strategy,  I check the conditions to place a sell/buy order, and it does not work....
GregorAnton
Is there an event for dragging orders from the Trade or Account History Tab onto the chart? I would like to be able to select an open order from the Trade tab and have an ea use the ordernumber I selected in the tradetab for custom code.
Hi, I tried history centre on mt4, where i don't get for 1 year history for 1 min tick chart, showing only 1 month. i like to test my strategy with 1 min tick chart. can anyone has idea to get history for 1 min tick chart from instaforex. Advance Thanks.
Hi, I was wondering if there is a limit of amount of graphical objects that are present on a chart. My EA is creating arrows to show Entries and Exits of trades so it is esier for me to later analize those. Is there a limit for those, I have 11 pairs running at the same time. Also my second question...
Hello World! ;) I wish to let my Pivot Point (PP) indicator display a preview of tomorrows' PPs. Neatest label is in my view provided by OBJ_ARROW_LEFT_PRICE. The Problem is, that object type is anchored by time (and price). I wonder whether there is a way to align the display to the right corner?...
hi every one i have an EA which works completely OK when i run in in demo environment it is the same when  i run back testing. it works great with back test but in real it does not delete pending orders when it should have you encountered such problem so far?
Dear All,   I have experience in MQL4 programming for more than 2 years. Today I loaded my EA to USDCHF,M30 Chart and after 4 hours it stopped working although I see the smiley face. I searched in the log file I didn't find any Alert like Zero division or log like uninit. it is just disappeared. Can...
Hello guys i wonder why when i try to attach an indicator from the "navigator" tab i get such problem: https://charts.mql5.com/7/679/usdjpy-h1-octa-markets-inc.png Here is an example with stoch, but it gives me the same errors with every indicators. Anyway, if i choose the stoch from indicator...
Well,I've made an Expert Advisor that is supposed to open an order once the current price reaches the upper Bollinger Band(it will check it every 30 minutes and in 9 symbols). The problem is that if the current price reaches the upper Bollinger Band and after 30 minutes it reaches there again,it...
Hi   I want to subscribe to 5 signals, using 5 different MT4 programs on 1 computer. So i have 1 computer, 5 diffrent MT4 programs are running. Each MT4 was installed in different folder, so it's possible to run it 5 times on 1 computer, that is no problem. Now... i want to subscribe to signals, 1...
Hi, I am quite new coding with mql4, so I have some doubts that might be basic... I am trying to write my first EA, and I am doing it step by step. The fisrt thing I would like to achieve is to compare the current value of a  Williams' Percent Range (16) indicator with an EMA indicator (20) from...
How I can make my EA stop in target and continue in another time? For example,if the EA earn 100 pips in this day,he will stop and start  agian in the next day. Thanks   
Hi there, I am trying to find out  how close I came to the margin on my account(minute by minute / second by second). Do anyone know if Meta Trader has a facility to show this or maybe something similar. Alternatively, has anyone seen a script that can supply this?   Thanks in Advance    Herbie
Hi there, I am trying to find out  how close I came to the margin on my account(minute by minute / second by second). Do anyone know if Meta Trader has a facility to show this or maybe something similar. Alternatively, has anyone seen a script that can supply this?   Thanks in Advance    Herbie
If I login to a few accounts on MT4 MultiTerminal and have them signed up to copy a trading signal, will MultiTerminal execute those trades? Thanks
Hi guys, I'd like to ask you if anybody of you is playing any forex based game? I mean some kind of this http://forexstars.com/en/regulars/ I searched a little bit about the demo accounts - some people say, that they can be tricky :( Excuse me if i started the topic in the wrong place and thanks...
Hi all. I have been using MT4 for just over a week now. I set up my charts to load as I want them (ie. Background colour, Candlesticks, periodicity, etc.), drew the various analysis lines necessary for my trading method, and had all the markets I require open with tabs at the bottom to quickly cycle...
Hi, everyone.    I'm trying to write an EA that uses several Strategies at the same time and using different Symbols & Timeframes in combination. So far I've written almost everything but the Strategies themselves and everything was alright by now but, when I wrote this function: void Trade(){...
i need simple logic   extern double StopLoss    = 100; extern double TakeProfit  = 50; if(Digits==3 || Digits ==5)    {       TakeProfit*=10;       StopLoss*=10;    }   point=MarketInfo(pairs[MaxIndex],MODE_POINT); dig=MarketInfo(pairs[MaxIndex],MODE_DIGITS);...
Can MT4 deinit and reinit an indicator when one changes account or server? I have read around that there should an option for that, but I cannot find it.
Hi All, I have been using MT4 for demo purposes for just over a year now and require my initial start-up Trading Balance to be below the default minimum of 3,000. I have read up on MetaTrader that the initial Trading Balance can be set to a figure as low as 300. Can anybody advise how this can be...
  [SHARE] FAP TURBO v5.2 (17   1 2)
Here, I try to share FAP TURBO v5.2 without dll version. It fully worked. Hope you can test it for your goodness. =============== DO NOT POST DECOMPILED CODE ===============
has any body seen. slope direction line (2color) indicator joined with zerolag macd in same window.can not find any help? also tryed to drag and drop on my platform to join to indicatores in one.platform can,t do that 
I've been struggling with this for a few hours now.  I'm trying to subscribe to a Signal, here in the market. I'm logged into a LIVE account within MT4, as well as my MQL5 account (which is also funded). When I click "Copy Trades" the prompt comes up in MT4, I click I agree, and enter my password to...
 I suddenly can’t see the trading orders in MT4 charts, the arrows andlines between order opening and closing, after finishing back testing. How to recover? I re-installed MT4, tickstory and can’t fix it.  It's so strange! 
hello all i am willing for some help to solve this issue. i would like to take an order every  x pips  if the market continue in the same way of the first order this is the code but it doesn't work with me , any help please  double Xpips=50; if(Ask-Xpips*Point>=lastorderopenprice(OP_BUY)){ BUY=TRUE...
Hi, it's been a few days since I'm trying to code, I do not have coding background (at all) so it's little bit hard for me at this point, but I'm gonna make it, I need that way too much to quit. so here is my first indicator (nothing that much, just trying to code something that will work) but at...
Hi , it seems as if when using the iHighest syntex fetching a value from a higher time frame does not work correctly. The value that is fetched does not exist on the specified time frame's candle highs. When checking this by printing functions to chart the are discrepancies on the smaller time...
hello,good evening. i need to call  functions by an array. the functions count buylot,selllot,OrdersTotal and the array is for a set of different magic number. what i did was,Use" Function_1(ARRAY_1[i]); "formate/syntax;but it seems OrdersTotal function call is working. as i am getting the result...