Download MetaTrader 5

MQL4 and MetaTrader 4 - page 646

To post a new topic, please log in or register
i have a problem with \end_of_program - unbalanced left paranthesis, anyone can help?, i don't see the error. the latest functions calculate the sum of the prices of each symbol and operational direction and the other the sum of each symbol and operational direction, and then split them and know...
hi attached is an example of a file that executes instant execution for predefined take profit,stop loss, lot size which i got from someone at forex tips. can someone help me modify it so that i can predefine settings for pending orders (buy and sell limits) particularily. Thanks
I would like this Ea modified. Only thing that i would like changed is instead of the Fast MA indicator to use the custom indicator DEMA. extern string MA1Method = "Simple"; Change to ICustom DEMA from standard MA. extern string MA2Method = "Simple"; (KEEP AS IS)...
Hi MT4 Community, i want to develop a plugin which will make live feed possible for mt4. My question is; has someone done something similar before? Where are the problematics i should aware? Can you please comment this topic by 1-2 sentences? My idea is to open a new Symbol like _EURUSD and feed...
APeng
Hi everyone! I got a probably easy to answer question. How can I switch on the arrows that show me the position of my entered trades? I installed another MT4 on my pc and I don´t get it... Thanks in advance for the missing link :)
Hi, i would like to program strategy which can execute orders on multiple symbols simultaneously. Not only use other instruments for information about "data1". Imagine strategy with 3 data samples, you want to execute orders on two of them and use third like an indicator. Is that even possible in MT...
In the following MQ info, I don't see any difference in the Functions other than the last variable/argument is different. Other than that the Format and Structure are EXACTLY the same are they not? I know that one can use the void Non-ReturnFunction (a,b,c) Likewise returning: return() [and...
  MQL4 v432 (12   1 2)
Why is it that my script function in older version.... And now my script does not function correctly in this latest update... The problem I have found is that I cannot modify my orders anymore such as takeprofit or stoploss from my script. If I change takeprofit or stoploss from MT4 manually, then...
Hi Folks, i'm currently making a tool to automatically export data from strategy tester reports into a database. Everything works fine so far, however i would like to generate an ID, when the test starts and put it into the html file. Until now, the only ways to modify the report i found were to...
Hi everyone, just wondering if it is possible to include in an EA the following. I would like my EA to count closed/completed orders after every close/takeprofit/. and if the closed orders value reaches a certain number, any number defined by user ie (300 completed orders) then close all orders....
Hello I'm working at a grid system and for the lots-sices i would like to count the lots. openselllots = the lots of all open SELL posistions openbuylots = the lots of all open BUY posistions double openselllots, openbuylots; if(OrdersTotal()>0) for(i=0;i<OrdersTotal();i++){...
I know people don't like martingale systems but I would like to have EA for this. I'm not very familiar with EA's so I don't know if this is possible to make but here it is: EA that I could adjust while I'm using it so I could just set the price levels and lot sizes i want it to use in any...
Is anybody else using Alpari UK? I have been using an Alpari Classic account for the past year and was very satisfied. However, during this month I've experience five connection failures on both my VPS and pc at home. It last from a few minutes to over an hour. Once the connection has been...
Newbie and must be completely stupid. Using MACD Sample.mq4 able to compile without errors and get MACD Sample.ex4 in navigator Templates after clicking files "Show All". Attempt to drag drop this .ex4 file onto chart but nothing happens. Suspect there should be an Experts directory shown in...
There Are two sets in this version This Robot Works Only On Interested People Mail Me At Post edited because is advertising and is arguing with RaptorUK -BB-
Hello guys. I'm using LibOrderReliable to place/modify orders. If I use the same EA on different pairs and the want/need to call LibOrderReliable- can this cause problems. There is always one EA saying "could not find LibOrderReliable". Could this have something to do with it? If so: What's your...
i can not use filewrite() /fileopen()/fileclose() function,and now want to write data to excell file .may you help me ? the data format is like this : A column write in data "x ",B in "y",C in "z" .....all the data is int,and the file directory is "F:/sss.csv" . i have usd print() function write...
Hey, If i set previously in the ' int Start ' Wysoka=iHigh("EURUSD",PERIOD_M1,n+2); and Niska=iLow("EURUSD",PERIOD_M1,n+2); The indicator appears on the chart, so i guess variables Wysoka and Niska are also set right with the High/Low price? So I want now just to open trades while the price is...
Hello, I run several MT4-Clients on my server and sometimes I got the message "cannot login [No connection]" in the journal What does this mean? I don't fount a documentation of this. I run the same EA in different clients to the same Broker on the same account. So they use the same...
I like MQL4 platform, and i strongly favor the testing power and optimisation tools, also the more open programming flexibility, but my point is, i want to test my strategy in other symbols, like individual stocks and other stock indexes, futures contracts, etc. How can i do this? appreciate very...
Hello, I am using a Comment() to display some debugging information but the font is not very convenient to read. Is there a way how to change the font (especially make it larger)? Thank you! Pavel
Hi ! I want to show you some good result trade over the past six months, though of course the last couple of months of trade deteriorated, probably due to low volatility, but as a final result big profit with little drawdown.
  else (2)
extern double Elevation    = 200;extern double Stoploss     = 150;extern double Takeprofit   = 660;extern double Lots         = 3;extern string TradeSettings="Mt4 time(min-max): hours 0-23, minutes 0-59, seconds 0-59";extern int  TradeHour6=6;extern int  TradeMinutes6=0;extern...
Hello, I found great EA, but I need a little change code.. It always open two orders, but at the same time, problem is that I need that it open each order with delay between them- 20 seconds. Could someone code it? :) (sorry about my english)
Hi There, I've had an account and have been running metaquotes platform for about 1 month with no problems. Suddenly, I can't seem to login or connect at all. When I first open the software I get a "No Connection" error and when I try to manually login I get an "Invalid Account" error. I have the...
  DNC (9)
Hello all, I'm writing my first EA with no background experience, just learning it as I go and its coming on quite nicely- but im struggling on one area. I want to take only long positions when price has broken above the high of the preceeding 120 bars and go short when it has broken below the low...
Hello, I would like to know what kind of backtesting is morereliable (each tick, control points or just open prices) in an expert advisorprogrammed in open price. Thanks
Hi I am knowing MTF-indicators, that shows the value e.g. D1 MA as ONE price over 24 hours in the past. Is it possible to draw the calculated values from the past for a MTF-indicator?? Does anybody has an example??
Hello all, After beating my head and trading manually while being glued to the screen Ive come across a indicator that is 1/2 of my strategy (pin bar strategy). I am hoping some of you out there can help me finish this EA. Ive traded this system manually and have had great success with it. Manually...