MQL4 and MetaTrader 4 - page 1205

To post a new topic, please log in or register
Hi All, I am working on a scalping EA. However, due to the setup, the drawdown is high, since I am using dynamic lots for trades. Is it possible, that the Backtest stops at the end of hte week, and ask for my value of the Capital that I want to save. Say I start with a capital of 2K, and during one...
I downloaded build 217 after the close Friday. All the EAs that I have been running for months on prior builds now fail to place orders automatically. I have reloaded build 216 and they all work fine there. I get an error 3 (Invalid trade parameters) when the EA tries to place any order (pending ||...
Hi! This is my code: if(..........something.........)       {      ticket1=OrderSend("EURUSD",OP_SELL,lots,Bid,1,0,0,"",0,0,Green);       ticket2=OrderSend("USDJPY",OP_BUY,lots,Ask,1,0,0,"",0,0,Green);       return(0);      } This code orders EURUSD only. How can I order the USDJPY too? Thanks
I am a new user, using the demo account. I have noticed the charts have not moved once and we are 30 minutes into the trading of a new week. Why? Thanks, Fred
I need to be able to buy from the command line. I want to run a command that will buy 1 lot of EURUSD after I type it in. I was told that this can be done with a DLL. Can someone please help? I actually need to buy from Excel, but Excel VBA has a function called Shell where I can call a Dos...
Why not provide a tool for counting the number between two bars? It just need to draw a horizontal line from one bar to another bar,and show the number above the line. I think it is easy for MataQuate engineer,and it is useful for cycles.
I have been use to MAKETIVA Platform and now need a change, can MateTrader be a better one for me? if yes how can i trade perfectly on MetaTrader?
Please can someone help show me how to trade on this platfome i'm new in this platform. I want to know how and when to sell and buy. Please help me.
My EA is with some bugs will be someone who could solve for me, is going the Next. SL is getting 0 Orders are pending with value that does not exist TP sometimes changes the value to 0. The next file attached
Hi Guys, I have the TopTrend indicator and I would like to take the price of the last dot in this cases: 1. If the previous dot was red (for a downtrend) and the actual is blue (is becoming an uptrend), I want to know the price of the last red dot; 2. If the previous dot was blue (for an uptrend)...
Hi, its possible in Metartrader send email alert if last closed bar has same open and close price? I am new to Metartrader. I used VT Trader, where it is not possible. :-( Thank you.
Maybe this helps someone : The fastest way to export lots of values from metatrader is to build an Expert and not to bind it directly to the database engine via DLL (for example MySQL), but to write SQL queries like (alter,create table, insert row) to a file and manually run mysql import. Also, do...
According to the championship, "At the stage of Registration, we are going to detect such incorrectly written Expert Advisors providing certain test time limitations in the eight-month interval in the "Every tick" mode. If the EA's testing time exceeds 5 minutes, this EA will not be allowed to...
I use H4 OPEN price in my EA. I don't want to check every tick and only to check every beginning of 4 hours. How to do that?
G'day, I'm looking for someone in Sydney who can program an expert adviser with me. I have a system that works for Roulette & will also work for Forex, I think. Glenn
Forex Autopilot I'm new to Forex and have recently purchased the Forex autopilot. It's now set up and running but I cant find any info on how to interpret the different functions. The help file assumes you are versed in the program so is of little use to a newbie. Also can't seem to find a decent...
Hello, I am a Computer Engineer, I have 7 years of experience in developping applications. I recently got interested in Forex, and specially in automated strategies. I am ready to code any Strategy, of course FOR FREE, under one condition: the strategy should be efficient. It is a win win...
My strategy tells to place an order at 1.4460 but I get error invalid price 1.44602000 for ordersend function. Why does my price change, and why do I get this error???
After running test of your EA look at the account balance/equity on Graph tab of the tester. Right click on the last point of the curve and "Set Date to" or...surprise you will get hte date "To" 1970.01.01 on the Setting Tab of the tester but programm will continue to work and use some other.......
I need to be able to run a MetaTrader script from the command line. I want to open up a Command window and type in the script and have the script buy 1 lot of EURUSD as soon as I press enter. How can this be done? Thanks! Paco
Hi I'm making a signal table where i'm going to put signals of indicators I like, so today I made a function that returns a signal for the indicator StepMA Stoch, now the problem is that sometimes it gives an error Zero Divde and most wierd thing is that sometimes, not aways, when I remove the...
How do you make a Super Smooth MACD?? I really really need to know this. Thank in Advanced~Silence
Hi everybody, from the attached EA I obtain the following message error: 2008.07.04 11:54:41 Inside Bar Lots EURJPY,H1: invalid lots amount for OrderSend function 2008.07.04 11:54:41 Inside Bar Lots EURJPY,H1: Error opening SELL order : 4051 Could you help to find the problem? Thank you!
I have downloaded meta trader 4, and I only get a few currenciy pairs (12 pairs). My associate has many more currency pairs. Any suggestions how I can display more currency pairs? Thanks, Fred
is there a function/program available to do the following: Open an order with 2 lots, where one closes at Target-1, and the other closes at Target-2
how to use mq4 to create a function MD5? thanks for any help.
Can some one kindly help to comment on the following code? I got problem for the following code, the last thousands caculation is not corrected, and I had tried to use array initialize funtion and even a for() operation to initialize . but it did not work at all. it looks that the iMAonArray had...
How can I know if there are entry orders or not.