MQL4 and MetaTrader 4 - page 613

To post a new topic, please log in or register
i come across script using the "[ ]" symbol in EA... example :- string text[30]; can anyone guide me how to use it?
Few days ago I made MACD Crossover alert indicator, but it won't work correctly. It shows only last few bars and line won't work correctly. I don't know how to make it work properly. Maybe someone can help me?
I am trying to overlay USDCHF data on EURUSD chart. It works fine on a demo account but the same indicator fails to come up on a live account. Can anyone explain ?
I using mt4 on my office, but firewall block many port for security for mt4 trading it can using normal no any problem but live update can't work  I tell admin to unblock port 443 so not I can using mt4 for looking graph  but every time I open mt4 then live update allway to update but can't update...
Hi all Ok I need to put some code in an EA which will ensure that no trades are ever taken (long or short) if any trade is currently on (long or short). Eg: If I am long, then no long or short trades will be entered until this trade is over and no trades are on (same if I am short).   Obviously this...
  Backtest data (6)
Subject says it all: Dukascopy vs. Alpari? And does it make a difference?
Hi all, Both order buy and sell are on the same basics, buy ordermodify works well but sell ordermodify only works once(where it should modify every bar with new price untill filled). no errors showing. Ive checked stoplvls , slippage, bid/ask..all i could think of.       #property copyright...
hello to all: just wondering if this has happened to anyone. i trade with oanda on there MT4 platform. im in a trade, wanted to modify my trade, so right clicked on my order down in the terminal box came up, which reads modify or delete order as one of the options, always do it this way. no order...
forexparvenu
since i burnt several time again on real trading last few months ago,  by myself.  i think i should just  learn on mql4. 
Hi there,  I would like to know how to change server times on my MT4 trading platform ? Thank you. 
Hello Traders/Coders, I am looking for an EA that I can use to send out mass text/emails thur MT4.  Any help is much appreciated. Jason zdalldredge@gmail.com
what does it means #define MAGICMA 20050610 what kind of variable is MAGICMA ?? and why it is defined for value 20050610 I found this in the EA named Moviing Average //+------------------------------------------------------------------+//|                                               Moving...
APeng
Hello all! The variable Place_Sell_Limit is set to false again while the code is executed: Place_Sell_Limit = false; I want the variable to be chosen as false too when I open the indicators input box. But it is like that: Any brilliant ideas out there masterbrains??? Greetings! :)
Hello @ all, Below is my simple void function that should return the minute value but it don't work. The first return minute is good but:  1, 2, 3, 4 or 5 minutes later (and so on) the returned value is always the same... Is there a cache to reset or something else to do ? Help would be appreciated....
Hi, i have an EX4 downloaded from web for which i dont know the paraemeters of their order. Can you folks provide a method to find the params? Thanks Jolly
Helo. I want to make my first EA. but I have a problem here. my EA work basicly at the price market. not using any indicators. heres the problem. first strategy : at first run my ea will do a buy order. then if the first order reach stoploss, how to make a sell order at stoploss price at the same...
Hi everyone I need some help. I need the yesterday close price for Ger30 CFD I have found this indicator prior_day_open_close_line,  but it give me as "yesterday closing price" the open price of last candle of yesterday. so, I have a different close price into every time frame (that's not good)...
does anyone have any suggestions for this EA?
Hi just wondering if the properties of a line graph are alterable That is, If I wanted to see a line chart of the daily open price  or hourly close price etc Is that achievable directly from a standard chart or would I have to plot it separately using an appropriately defined buffer. Just think I am...
Hi, I am using the following code to close my trades. It manages to close about 60% of the open trades but get 4051 errors on the remaining ones. Would greatly appreciate any assistance in overcoming this. -----------------------------------------------------------  int TotalOrdersOpened = 0;...
either one T/P then delete or close all trade example: i have 4 trading. second trade are T/P, then close or delete all trade...have any idea??use magic number?
Hi all!    Certain people were good enough to me on my first request for help in this forum that I've come back to ask for one last bit of help!   Attached is an EA I built using a free EA builder I found online. It only goes long on certain indicator signals, has a stoploss of 50 and no exit...
  Help with icustom() Buffer (24   1 2 3)
Hi, i have to get the last 6 buffer in the chart and associate it at some variable.  The indicator have buffer 0=!EMPTY_VALUE.   I try in this way but nothing.   int n = 0;  int i = 0;  double p[6];  while( n < 6) {   temp = iCustom(NULL,0,"1",0,i);   if(temp != EMPTY_VALUE) {      p[n] =...
how to use MA as  breakeven?
Hello guys, I have researched about writing MetaTrader plugins but nothing useful has come up. I would be really thankful, if you guys can provide me with some sort of reference/guidance materials on this subject. By plugin i mean something like: www.floatingcharts.com http://www.autochartist...
//+------------------------------------------------------------------+ //|                                               Moving Average.mq4 | //|                      Copyright © 2005, MetaQuotes Software Corp. | //|                                       http://www.metaquotes.net/ |...
Hello! I looking for EA who activates mp3 file when on my account be open a new order buy or sell. I just want to monitor the work of the EA bought and run it on a real market now. Every each order buy / sell i want to run mp3 on my PC. pending orders do not interest me only active buy and sell....
Hi there, I am new user of mt4. After using it for a while I could not open the platform and I was told that I should uninstall it and reinstall it. I uninstalled it and did the set up, it started working, then I exited and it does not work again. Can somebody help me what I should do, please?
//THESE STEPS TO BE PLACED UNDER EXPERT ADVISOR//---------------------------------------------#include <TRADE EXECUTE.mqh>#include <CLOSE ALL.mqh>#include <TO CLOSE ALL PENDING ORDERS.mqh>extern double TOTAL_AMOUNT_INCLUDING_PROFIT;extern double EQUAL_INTERVALS_DISPLAY,MAX_LOCK_PROFIT...