Download MetaTrader 5

MQL4 and MetaTrader 4 - page 576

To post a new topic, please log in or register
Wondering if anyone can shed some light on this problem............ I have a Ea that works on a H4 Chart but has a M15 entry filter and a M15 Exit filter .When I backtest on my computer and then backtest on my VPS I get totally different results.If I change the filters to the chart time frame then...
Hello everybody, I am quite new to mql, but learning hard!! In the meanwhile I have build a few EA with EA creators available on the internet, but experiencing problems when trying to manually add a time filter. I have searched through this forum, but the posts I found were a bit too difficult to me...
I think that it would be good to create a topic something like "Any question of a newbie", where any simple question may be asked. There are many topics from newbies, which have 1 or 2 pages only. It will be also suitable for professionals to trace just one main topic to help asking man/women or...
dear friends I've downloaded the EA DragSLTP but I don't exactely know how it functions. Could you please help? 1-how deos it function 2- should i set SL et TP for it to work properly or not 3- does it function like a traling stop thanks for helping
Hello, I'd like to programm the following simple strategy: If the current bars price is higher than the (current bars open + the 80% of the current bars range) in the last 1 min of the bars period (H1) the program should buy.. So i want something like this: if ("current price" >...
Hi all! I am running an EA in a strategy tester, but for some reason it won't place a trade when a trade signal is clearly reached. I added the code "GetLastError()" function to see what error was keeping the EA from placing trades. Next, I ran the EA in the strategy tester again and watched the...
Hi Guys, Im newbie to this forum, i have never developed any coding regarding of the MetaTrader. I need your help so much. I want to create a very simple indicator by drawing 3 horizontal line, it will look like this: 1. Drawing a Horizontal Line for Daily open position (the value is comes from...
In the third week of testing is the code. When his check?? На проверке третью неделю лежит код. Когда его проверят ????
Hello freinds, I have a tecnical quastion: If I want to close an open trade, and I already know its: Ticket number, lot size and the correct price. Do I have to preceed the ORDERCLOSE() with ORDERSELECT()? Thank you all, Y.
  Saving Charts (1)
Hello, how can I quick save a chart without going through the londg winded on screen process? thank you
Hi All, I was converting tradestation indicator into MT4. While converting I have observed the OHLC data is plotting differently in MT4. For example, if the tradestation value is 1.21579 (EURUSD closing price) and the corresponding MT4 value is 1.21560. Anyone has ant idea about it. Thanks!! Antony
Hi all, I enjoy calling iMA() function to calculate out some variable, like this: average = iMA(NULL,0,Periods,0,MODE_SMA,PRICE_CLOSE,0); But whenever my back test terminates, the SMA line automatically displays on the visual chart, although I don't have any drawing statements in my code.Please tell...
Hello guy, when i try to send an email throught the "Test Function" offered by Broker, i receive in my journal this message: Mail: 530 5.7.0 Must issue a STARTTLS command first. ep14sm35300759wid.0 Mail: 'Test message' failed How can resolve?
HI, I am new to MT4. Today is my first day on this platform. I have found indicators i want to use but so far have not been able to get them on the platform. I have downloaded them into the correct folder. I have opened them and compiled them to make sure there are no errors. I get a note that says...
Hi, does somebody have the mq4 files for PVI (Positive Volume Index) & NVI (Negative Volume Index) indicators? Please send me a link from where I can download this files or PM.
how do i fix this? My ea buys at bid and sells at ask. I guess its a bug. Makes quick cash on demo
Hello together! If I want to test an EA with e.a. a StopLoss from 10 - 200 and a step of 10 together with a TakeProfit of 10 - 180 and a step of 10, I should get 360 results. So in the Strategietester You can see on the left below the expected result "360 / 1280 (360)", but in reality this program...
mt4 4.0 version 432: vertical line object create in seperate window (done in script), after switch to other timeframe chart, it will become invisible, even when the visualization setting is allow it show in all timeframes.
Hi I want to write an expert to monitor my positions. this is detail of m expert : if a position is opened/ closed/ TP or SL changed, I want to detect that position and record all of that fields in a text file. I like to develop it in MQL4. I'm a software developer but I don't know MQL more. May I...
  What is it!! (2)
public class Q4{//====================================================   public static int a(int b, int c) //<--  what happens here???   {      int x=0;      x=c-b;      return x;   }//===================================================   public static int b(int c, int d) //<-- here it is again??...
To test the function iMA, I wrote the code below       int start()         {                              double x=iMA(NULL,0,10,0,MODE_SMA,MODE_CLOSE,1);          double y=0;             for (int i=1; i<=10; i++)                              y = y +...
Dear sir Plz start mcx indian rates as early as possible.
i am trying to write some code saying current bar ask price is greater than current bar simple moving average (5ma, close price, simple.) is this correct: MarketInfo(Symbol(),MODE_ASK)> iMA(NULL, NULL,5,0,MODE_SMA,PRICE_CLOSE,0) and current bar bid price is less than the current bar 5 moving...
double High_pending = iHigh( Symbol(), PERIOD_D1, 1 ); double Low_pending = iLow( Symbol(), PERIOD_D1, 1 ); This problem might have been mentioned before but I wouldn't have a clue how to find that specific topic. I use the above statements to find the high and low of the previous day, regardless of...
Hi all! I am using the "OrderCloseTime()" function and "printing" the result in the MT4 journal. I do not recognize the format of the "printed" "OrderCloseTime()". I will provide an example below... example: "Close time for the order 1 1167720180" My brain is thinking... "WTF"? :) hahaha... Please...
Is the ATR-indicator from Timeframe 10 Minutes and Period 14 the same as from Timeframe 5 Minutes and Period 28??
Hi boys and girls, I am trying to back test a hedge EA - it is simple - I assume that there is a correlation between two given instruments and when it is broken I enter two opposed positions and wait for correlation to be restored and take profit. The problem, however is that I can't (so far) to...
Hello, I've tried modifing ATR indicator to be shown on chart, changed the code #property indicator_separate_window to chart window, but it doesn't work. That's weird because when I do invert (modifying an indicator showing on chart to separate) it works most of the time. Any idea how I can do ?...
Hi one and all, Is it possible to convert an EA into a CSV file? I have an EA based on ATR stops and stochastic indicator for os/ob conditions. The EA is calculating the profit factor and recovery factor for each signal for x past trades.I like to convert this EA into CSV file. There are...
heyy guyz i came across a problem. the problem is that i cant use metatrader 4 indicators on metatrader 5. can any1 plz help me out n tell me how to convert them for metatrader 5? the indicators r in EX4 format...