MQL4 and MetaTrader 4 - page 1582

Hi, Every body my question is for Metaquotes can we suggest any new features in software. Like for example I wanted to give an additional tag to the orders. For which currently I am using an array to do it. But my technique has flaw tha if a expert advisor is restarted I loose the tag on the order....
[Deleted]
Hi, gurus, I am trying to let EA stop openning new positions for a few mins after a position is 1. closed by EA itself due to indicator conditions,2. reaching target or stop loss or 3. manual closing. if ( (TimeCurrent()-OrderCloseTime()<120)) {Print("Wait"); return(0); } if ((total>0) &&...
Hi, does anyone know if there is a MQL4 plugin for Eclipse SDK? Probably not... But wouldn't this be awesome? Probably everyone who works with Eclipse will agree with me. I mean, sure...with a lot of tipps for the programmers, we can try to make MetaEditor really as good as comparable IDEs from...
I'm just starting to learn writing EA script. So, forgive me for such a newbie question. I'm using iADX. And part of my code: [script] CurrentADX = iADX(NULL, 15, PeriodADX, PRICE_CLOSE, MODE_MAIN, 0); PreviousADX = iADX(NULL, 15, PeriodADX, PRICE_CLOSE, MODE_MAIN, 1); // BUY...
//ERR_TRADE_TOO_MANY_ORDERScase 148:                /*On some trade servers, the total amount of open and pending orders can be limited.                If this limit has been exceeded, no new position will be opened (or no pending order will be placed)                and trade server will return...
[Deleted]
Is there a way to show volume ( buy and sell seperate ) with a line graph instead of bar?
[Deleted]
Online Trading. Internet Trading first gained fame in the mid 90-ies as technology, you can simplify and accelerate the process of receiving applications from private investors to deal in securities, as well as a highly profitable business. Eventually, this led to a revision of a number of economic
Hello,I am using Expert trading system, Cyberia Trader. I dint have any problem with loading this system to thesoftware or any ting like this. The problem I have is that as soon as the EA start working in Journal I havered dot and ‘trading by experts is prohibited’. I set up this system on full auto...
I have a question about using Expert Advisors at FX Pro. FX Pro has 5 digits after the comma, this causes the hat the MetaTraderdisplays f. i. 2 pips, like you have only 4 or less dgits. Instead itdisplays 20 pips. Ao my question is, does this influence the Expert Advisors in the wrong way? Is it...
Does anyone knows how run an EA on several accounts at the same time? on the same computer? is there something that can be done w/ the multiterminal? I was told it is posible, but not how... I´ll appreciate your comments Thanks C
Hi! Is it possible to run Strategy Tester by more than one symbol? Example: Chart: EURUSD Code: ticket1=OrderSend("EURUSD",OP_BUY,1,Ask,1,Ask-25*Point,Ask+25*Point);ticket2=OrderSend("USDJPY",OP_BUY,1,Ask,1,Ask-25*Point,Ask+25*Point); How can I order USDJPY on EURUSD-chart in Str. Tester? Thanks!
Hello, are there any scripts which would allow the following: 1. to automatically close all selected orders. 2. to automatically modify all selected orders with a given parameter (e.g. T/P or S/L). So far I've only found a script to close ALL open positions. I'm missing the functionality to close...
Hi! This is my simple code: int start()  {//----  int ticket;  ticket=OrderSend("EURUSD",OP_BUY,10,Ask,1,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green);  return;//----   return(0);  } I'd like if this code would run just once, not by every newer tick. How can I do it? Thanks
Hello, Please can someone in the house help me with a good and reliable VPS Virtual Private Server Provider for my Trading Platform, Thank you
[Deleted]
Is there anyway to write array data to CSV file dynamically without having to build out the whole FileWrite function? Seems the only way to write a CSV file is to separate all my variable by commas in the FileWrite function's arguments. It would be very helpful if the FileWriteArray would write to...
Hi! I have a little problem with MQL4! Normally i work with another software to develop trading systems or expert advisors. But now my employer told me to switch to MetaTrader und now i try to code my systems into MQL4. So now the problem: One part of a system is that a trade runs up after the price...
I need help please, I am trying to close orders from different currency pairs ( long and short ) but with the same magic number  when the profit reach define target " lets say 15 pips" without touching the other orders with different magic number so I wrote this code to check open trades and count...
[Deleted]
Data in the file keeps getting overwritten. handle = FileOpen("xxxxxx_log.csv", FILE_CSV|FILE_WRITE, ";"); if (handle > 0) { FileSeek(handle, 0, SEEK_END); for(int a = 0; a < num_indicators; a++) { FileWrite(handle, log_time, a, "value",...
[Deleted]
  Fibonacci levels  (2)
I have an EA that I want to expand with some trading rules. Right now it enters a trade whenever an indicator tells it to do so. However I want it not to trade when it is near a fibonacci resistance or support level. For instance, it could enter a trade long just when it is at a resistance or short...
[Deleted]
Hi. What is the time scale unit? If I am in 4H time frame e write 1000 what does it mean? And what if in 15m I write the same datetime? How long are them? Thanks. SA
i want to BUY two Sysmbol. How do usuing multiple Symbol in a Script. ex. for(int i==1;i<3;i++); { OrderSend("EURUSD",OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); OrderSend("USDJPY",OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); } // total 2x3 =...
I am looking for people that want to work together to make some EA that really work good I made some,I buy another and test some that find in mql4 page but I am not happy yet with then I think that to get money from forex is a job to make in group not along I am in forex for 3 year and really not...
[Deleted]
Hi. Would you mind telling me why my EA can not close an open position? Here is the line: OrderClose(TicketNumber,1,Ask,1,Green); Thank you for your help. Le.
[Deleted]
Hello every one, Has anyone seen this problem or know how to fix it!!!!!!!!! I am setting a global variable to store previous Time and then update with new time to make sure i get one execution in at the start of the bar. (I believe this is a common practice) But for some reason, it does not...
  i need expert  (2)
hi I need expert moving lwma 8 Close shift 0 moving lwma 5 Close shift 0 Profit-taking 155 Stop losses 110 Please Thank
[Deleted]
I need some pointers, as I've looked through everything I can find and I still can't work out what I'm trying to do. I would like to add a new rule to my EA where it only opens long trades when the AC is green and only open Shorts when it is red. I 'think' it has something to do with the height of...
Hi, I am new to the use of EA, and I just received the second EA draft from my programmer; I received it in .ex4, my question is: can I change some of its parameter easely?( Stop lossl, basically) with the EA parameters inputs? I told the programmer that i want an specific Sl...
[Deleted]
I CANNOT OPEN HERCULES PROPERLY WITH OUT THE TWO PAIRS XAUUSD AND XAGUSD . I KNOW THEY ARE GOLD TRADING PAIRS BUT I CANNOT FIND THEM IN MY PAIRS. HOW DO I ADD THEM OR WHERE ARE THEY IN THE PROGRAM? THANKS
my fisrt expert advisor name is Expert Bastem begin balance is 50.000 last balance is 7.619.000 USD in 1.5 Month . InterbaseFX Demo Account.