MQL4 and MetaTrader 4 - page 1350

To post a new topic, please log in or register
good day everyone. im using the meta editor. i have mq4 files in my hard disk whichhas the complete codes and everything. i wanted to open it and attach to the chartin the terminal thus test the strategy. anyone who lend me a helping hand? my email> victoryjunior19@yahoo.com. thanks.
We are a proprietary forex trading firm based out of Houston, Texas and we are lookingfor programmers to create lucretive EA's for us. We will pay as much as $5,ooofor your EA plus split the profits 50/50 on a $50k Live account for 1 year. Wewill provide a Demo Account on a live Currenex/MT4 Bridge...
Hello, I noticed from History Center one is able to import information in MetaTrader,but this is only involving csv files plus the action of loading is manual. Is itpossible for the live data to be inserted automatically; the purpose is to haveMetaTrader used along with the custom indicators to...
On the website of the Automated Trading Championship 2007, the article Reporting the 6th Week of the Championship has been published. The sixth week of the Championship ended. Exactly half of thecontest is behind us. This week brought us some surprises. Places in Top 10 continuouslychange their...
Great day to all traders. I am a new trader trying to build the simplest code that would place 2 simultaneousorders (Buy stop and Sell Stop) per every take profit fulfilled on a multiple currencytransactions till a certain condition (eg. Equity >=1.002 Initial Balance) ismet. More profits to your...
On the website of the Automated Trading Championship 2007, the article Jury Session Record of the 12th of November 2007 has been published. At the session, the Jury discussed disqualification of severalParticipants. Eight more Participants dropped out of the competition. The full text of the...
I want to create a windows style dialog to replace the extern variables propertieswindow. I have little experience using visual c++ and I've been trying to figurethis out for the last two weeks. I've read the http://www.metatrader.info/node/150 example and most of this text book on visual C++. http...
hi my friends, when my brokerage company do margin call? is it depend on brokerage company? thank you;
if(true) { if(OrderModify(OrderTicket(),OrderOpenPrice(),Bid + (stopLoss*Point),Bid -(takeProfit*Point),0,White)) {...
Hello, This script clean and change the look of chart built by the MT Tester (button "Openchart" in Tester Window) I need to "drag and drop" my script 3 times to get what it do. - At the first "drag and drop", it remove all arrows StopLoss and TakeProfit. - At the second "drag and drop", it...
1. When is it the right time to use expert initialization, deinitialization function sections? In lamens terms what code should reside in this section? 2. Most coders declare variables within the top section of the code area. HoweverI've seen declarations within the expert start function int start()...
HI, When I go tool > options > email > Test. This works fine. But this code fails, and r =r+ 1; Print("TEST ",r); if(r == 2) SendMail("ZZ","XX"); Error message is: 07:01:17 Mail: 451 See http://pobox.com/~djb/docs/smtplf.html. 07:01:17 Mail: 'ZZ' failed The link goes to fails as well. The...
If it was the 1st trading day of the month how would I find the highest and thelowest point of the previous month using an EA. I know how to use high[ihigest... and low [ilowest... but i have no idea how tocalculate the amount of bars on a daily with a previous month of the previous month.
Is there a difference when your backtesting an EA on a mini account as opposed toa standard?
Hi, My trailing stop only works for sell order but not for buy order. here's the code: for(int i=0; i<OrdersTotal(); i++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if(OrderMagicNumber()==magic || OrderSymbol()==Symbol()) { if(OrderType()<=OP_SELL) {...
Hello everybody, I want to find the exact time of lowest and highest price in bar. Is it possible? If so how? My second question is how to get details bars of an H1 price bar? I need to getmy current H1 bar decomposed into M5 Bars. How? Could you please help?
Hi, I would like to create an EA that I could run on multiple currency pairs for thesame account. However, I don't know how to get around the standard 1 order-at-a-timerestriction. Can someone help me with the code to allow me to place multiple concurrentorders (and close them all correctly) on a...
I'm working on an EA that trade more then one currency and everything is fine withplacing orders, but when i try to close all orders it seems to only close the ordersof the currency the EA is attached to. I use this code: void CloseAll() { int total = OrdersTotal(); for(int cnt = 0; cnt < total;...
I need to write a script that makes testers fuctionallity not for one expert, symbolor timeframe as a bulit-in one but for a set of them. So I need to call user writtenexperts by it name and receive form them threi results. Tell me please how is itpossible to call an expert from a script by name....
Hi there! I'd like to close 3 open positions with the following code, but it closes justthe first position. How can I close all of them? My wrong code: if ********something********** { if (OrderSelect(MyOrderTicket0, SELECT_BY_TICKET)==true) { if (OrderType() == OP_BUY)...
Can some one provide me a sample code (or guidance) with which i can draw horizontallines on set of bars. For example for each set of 10 bars I want lower and highervalues enveloped by horizontal lies. In case of uptrend, the result will be kindof stairs patters each with width of 10 bars. I have...
All of a sudden the text created by the object code shown below does not appearon my bar chart. The objects list properly displays the name as "Objname4" but the descriptioncolumn now displays the word "Label" instead of the msg4 text? The program compiles without error. What must I do to correct...
On the website of the Automated Trading Championship 2007, the article Statistical Report #1 has been published. A month has passed since the contest started. Now we have arich source of materials to be analyzed. The results of multiaspect analysis ofall Participants' equities are given in the first...
Hi, I am running a same EA on different currency pairs. I wanted only 1 trade openedfor any currency pair at one time. For e.g I would need only 1 trade opened forEURUSD, other opened trades can be of different currency pair but not EURUSD, whenthere is already open trade for this pair. Can any...
After an efficient method to calulcate average price for given time period (1 day,1 week, 1 month etc). Do I need to use a certain indicator? Cheers!
  I'm confused (4)
Can someone please tell me how to do this. I am writing a strategy into code andthe instructions say to have a rsi(8) then add a EMA8 to the rsi and when the rsicrosses the ema take the trade. Ok i know how to do a rsi and a EMA on the priceitself but how do i do an EMA on the rsi in a indicator....
Hi. I'm really getting up to speed with price action and identifying candle (bar) formations. Has anyone ever composed an indicator that'll spit out an alert when a candle closeswith the same low or high value as it's predecessor(s)? Ideally, I'd like to be able to set a tolerance of up to, say,...
Indicator line width parameter 2 or 3 (that draw a thicker line) is not appliedinitially after program change and compilation when I return to Terminal. Linewidth is allways "1" after compilation when I return to Terminal. However,the indicator looks fine if I remove it and reinsert it on a chart....
I would like to rename a file (or copy, or move) in the experts\files default mt4working directory, without external custom dlls, and without hard-coding the pathname of the platform. Does anyone has an idea how it can be possible? The simple WinAPI functions doesn't seem to work without full...
Hello Has anybody managed to control Matlab from MQL expert advisor? I tried it thisway: - I wrote C++ DLL to start Matlab, using Matlab Engine interface. DLL works finewhen called from other C++ programs. - I call my DLL from MQL expert advisor - Matlab starts ok, but exits immediatelyafter the...