MQL4 and MetaTrader 4 - page 539

To post a new topic, please log in or register
I seem to randomly get 130 errors when doing an OrderModify but the SL/TP levels are absolutely correct. Anybody have any ideas why? This is so frustrating and I can’t see what else I can do with my code to fix it? Here’s the snippet of code that is generating the error bool ModOrder(int ticket,...
hello sir, SUB :- (PLS DEVELOP THIS INDICATOR FOR EVERY ONE ) I HAVE A FORMULA CODE FROM SOMEONE OTHER SOFTWARE AND IT'S AUTO GENRATED VERY-VERY 100% GOOD BUY AND SELL SIGNALS . BUT I DO NOT KNOW, HOW TO WRITE IN MTQ4, IF ANY ONE DO THIS,THAN PLS I REGARD . SEE THE FORMULA .............................
Hil,   I am having problem with file written EA as it seems like only a single line is written.   Is following code ok ?     handle=FileOpen("TestFile.csv", FILE_CSV|FILE_WRITE, ';');   if(handle>0)    {     FileWrite(handle, Ask,Count1,Count2,X,TickCount);    // Alert(" Write to File : ",...
any way to keep a constant crosshair on MT4?  its virtually impossible to trade directly on the chart without a crosshair 
  Bid and Ask lines wrong (13   1 2)
Hi, on two brokers, I have the lines appearing wrongly. On the first one, the ask price is consistantly 1 points too low. The pink box is my indicator showing what the spread should be based on the Market Watch window figures and it SHOULD match up with the bid and ask lines on the chart.     the...
  Add new order (1)
Dears   i want a code to add a new  5 order according to ask price, but the different between each order is 20 bibs note that the first value to compare is the first order ask price. if i tested on metatrader from date to date.......... sometimes it give me 5, and some times it give me 1  2  5...
I EARN EVERYDAY 100$  PROFIT CLOSES  ALL LOTS EVERYDAY NO OPEN ANY LOTS JEST 2000$  DEPOSIT I SHOW U PROF LIVE REAL ACCOUNT I AM NOT EARN 1 DAY I EARN EVERY DAY
Hi Folks, as a new user- i have following question: when i put an order in mt 4, i want the software to sell or buy a share of lots automatically. f.e.: when i buy usd for 1.30 (1 lot) and i want the software to sell 0,5 lots when the price increases to 1.31. so that i can hold the rest of lots and...
Hi Everyone. I'm new here but have been writing and testing EA's.  I have installed period converter and have managed to run some Ea's on it.  I would like to back test and optimise on a 2 min chart but cant figure out how to do that as the available time period selections in the tester still only...
New MetaTrader 4 platform build 500 has been released The build adds new features to MetaTrader 4 trading platform: Managing trading levels from chart using drag'n'dropAccess of MQL4 applications to Code Base from the terminal using drag'n'dropCompany's web site tab in the client terminalBesides,...
In Zigzag indicator. What mean of ExtDepth, ExtDeviation ,ExtBackstep ? thank you
Hello,   The simple question that I have to ask here is how does one log into MQL4 so that there is a connection and updates the charts for you. I have tried doing the demo, but it scans and will not let me type anything in to the login or password section of it. Any help would be great, thanks 
Where does a person with moderate knowledge of Forex mkt go to find out how to use platform? ie. pip values, adjusting stops\limits on open positions, setting them.....ect
Hello, i would like to run Lilith goes to hollyood EA on serveral Charts with different symbols at the same account. I try´d to change the define number but it doesn´t work!? Can someone give advice? Thanks for your help!
Does there exist or can someone code an alert that trigger when this occurs: MA 5 and MA 10 cross-over at the same time as the RSI crosses 50%
Dear Community, is it somehow possible to transfer the tick value (MarketInfo(Symbol(), MODE_TICKVALUE)) from MetaTrader to Excel via DDE? Thank you very much!
New article MQL5 Cookbook: Multi-Currency Expert Advisor - Simple, Neat and Quick Approach is published at mql5.com: This article will describe an implementation of a simple approach suitable for a multi-currency Expert Advisor. This means that you will be able to set up the Expert Advisor for...
Hi........ Any one here trading under GVF Platform
Hello guys, I wrote an indicator that functions in H1 timeframe, ie, for each candle this indicator returns 1 or -1. I'm using iHigh, iLow, etc.., So that when I switch to a smaller timeframe indicator stay intact. But now, I wish that when I switch to a smaller timeframe, the indicator showed...
Hi!   Wonder if you could help: I keep on getting this.. 2013.06.18 09:35:25 '11263282': Signal - different specification of symbol EURUSD, signal provider has maximal volume 1000.00, subscriber has 50.00 Any idea??  I have had it with different brokers and signals.   Many thanks! Somesh 
Hello everyone, Would like to know, how to properly use AccountFreeMargin function. I want my expert to not open orders when lets say the margin is less than 100, so I write, if(AccountFreemargin()>=100) {...logic to open orders...} but this is not working since some orders still open even when the...
Hi ! Is it possible to use DDE server to have current information about number of open positions in MS Excel ? How can I do it ?   
Hi Is it possible to display on data window any variable other then the buffers? If so how? Thanks 
Hello forum, I was investigating how it might be possible to change the color of a bar on a chart for a certain condition. (The condition for the point of this post could be anything.....) Found a previous post.   https://forum.mql4.com/10704 where the person posting: "Heino" suggested examining the...
How to make fonts in Fibonacci Retracementl bigger ?
Hi whenever i m trying to add an indicator on a chart that uses/calls a DLL it justs doesnt work. The indicator is there on the list but although i try to drop it on the chart it does not react! It like i didnt... Any ideas? From the Options->EA I ve got enabled Allow DLL imports  Athan 
I started testing EA on Live Demo account. I noticed that EA cycles throe code every time new tick is coming in. I need to keep EA..so to say alive and execute ordersend etc. when some EA condition is true. Closest that I have found so far is one script that is generating artificial tick (..as I...
Tradeing
Hello, i have a MySQL Database at my Wehoster and i want to send Data from my Metatrader to that Mysql Database but because of security issues the Webhoster does not allow access from outside to the Mysql Databse. I wanted to send in real time my Trades into the Mysql Database, can anybody say me...
Hi guys, I have reading some thread about function Comment() but I found reply on my question: How long can be lenght string for function Comment() ?  Thank you. 
Hi All is there an ea out there that will close all orders (Live and Pending) when an account hits a balance of a certain $$ level ( say $20,000 ) As the balance amount would change each week/month, i would want to be able to edit the amount. Any help would be great! Michael