Download MetaTrader 5

MQL4 and MetaTrader 4 - page 443

To post a new topic, please log in or register
  mt4gui (5)
Anybody here with the latest experiences with the new version of mt4gui? I wonder why the tool is free, if the scope of the application is so great. The menus can be integrated into the MT4 menu. I.e. it must be used to access the code of MT4. Fx1.net is paid by Metaquotes? What information does the...
Hello, I need an EA developer for help with a simple coding. I'll pay you fairly! Most of the code was developed...what I need you to do is to develop one line of code: profit target will be updated daily for open orders from the day/s before. Any help, Please feel free to contact me at 714-873-1031...
Hello, I have recently switched to trading with a new broker and I have an issue with their MT4 which is that I am not able to set the Stop Loss and Take Profit upon market execution (i.e. I have to first enter the market and then go to set the sl and the tp). I have used MT4 via many other brokers...
I've got an indicator that signals an action by sound and alert: PlaySound("news.wav");Alert(Symbol()," make an action"); I wanted to add there the OrderSend function to auto buy-sell and it looks this way: int ticket;        PlaySound("news.wav");Alert(Symbol()," make an action");...
how do they that, ea's codes r invisible ? how can i do that ? i want write an ea n sell it . than the codes must be invisible. please help
Good day. I just would like to ask if the formula that I've written below can close a trade with a given example loss of -15.00.    for(ctr=0;ctr<OrdersTotal();ctr++)   {      if(OrderSelect(ctr,SELECT_BY_POS)==true)      {         if(OrderProfit()-(-15.00)>Point/2.00)...
Function Keys F1 �open "Userguide" (i.e. Help) F2 �open the "History Center" window F3 �open the "Global Variables" window F4 �open MetaEditor F6 �call the "Tester" window for testing the expert attached to the chartwindow F7 �call the "Properties" window of the expert attached to their chartwindow...
Being a newbie, I am struggling with understanding concept of TickValue. A query with MarketInfo(GBPUSD, MODE_TICKVALUE) gives me 0.6515 for BID/ASK of 1.53513/1.53531, my deposit currency being GBP. Going by definition of tickValue -> ("Tick value in the deposit currency") and tick size being 0...
Forex Trading Holiday Hours For July, 2013 The times listed below show the change to CFD trading instruments in New YorkTime. (CFD trading is not available to residents of the United States) THIS SCHEDULE IS REPRESENTATIVE OF OUR INTENDED HOURS. SHOULD MARKETCONDITIONS DICTATE, WE WILL DEVIATE FROM...
New article Money Management Revisited has been published: The article deals with some issues arising when traders apply various money management systems to Forex trading. Experimental data obtained from performing trading deals using different money management (MM) methods is also described....
In the MLQ4 Reference, there is a pre-defined variable called Point with the followingdefinition: "The current symbol point value in the quote currency." Beingnew to this world of trading, I was wondering if someone could provide a betterexplanation of what Point is, maybe in laymen's terms. Thank...
Hello to the /gurus, i have traded live for many years and helped a great many newbies to get strated in the FX, some more successful than others. I have a template made up of various proprietary indicators which I am considering as a potential EA - it is great as long as I do this manually, however...
Hello, I have coded EA to run on specified hours. EA setting as 10.00 - 13.00, so it works for 10.00-13.00. but when i edit the settings as 10.30 - 13.30. which EA starts from 11 and ended with 13.30. what could be the problom? {    double datetime = TimeLocal();    double hour0 =...
Hello all, Currently I am trying to make an EA which suppose to make my life a bit easier. In the end it should be able to automatically import an Economic Calendar. At the EA initalisation I specifie the Buy and Sell thresholds. So Manual analysis has been made, and if Indicator XXX comes out <=2...
for a new order, sometimes i want EA ask me to confirm, sometimes i want EA auto do it. can i control this in code by this ways? 1. when  a new order need i confirm, then open new order window(message box) like i press F9(new order) or 2. when a new order need i confirm,  use code set "Ask manual...
I haven't been able to find the answer in the documentation. in situations such as changing timeframes etc, the expert is deinitialised. What I need to know is whether the the code execution in start() will always continue until it hits return(0) before it is deinitialised. Thank You
Hi, I have the following question regarding the calculation oftechnical indicators. Technical Indicators (such as EMA) usually rely on pricescalculated for a set of given time periods. For example, we take a timeinterval of 5 mins. We then calculate High, Low, Open, Close (HLOC) prices forthis...
Hi I use an indicator in the MT4 platform under 'Custom Indicators', subtitled 'Signal Bars-v5'. This indicator places icons for Moving Average Conversion/Diversion, Standard True Range and Exponential Moving Average data by time bars ranging from 1 minute to 4 hours intervals. In addition, below...
  Spread Average (18   1 2)
Hi guys... I would like to ask if the formula that i used to compute the average of spread per tick is: Average=(Ask-Bid)/Tick where: Ask=Ask Bid=Bid Tick=value per tick or Tick Count if you have another formula it would be a big help for me... thank you very much
Hi everyboday. I have written an EA using Forex EA Generator. I want the EA to buy/sell 8 orders, each for 2% of the free margin, so I wrote it like that. A second EA should buy/sell one order for 4% of free margin. Result is: the first EA buys 8 orders of between 0.08 and 0.09 lots on a free margin...
I want to place the order on specified candle. is there any mt4 functions available to know thecount of candle. eg: I want to place the order on 4th candle open price!.for that i need to validate the current candle count. Please support me, is there any function available?
Hi, some one help me to create custom indicator with line connecting SH/SL through higher highers and lowers as mentioned with simple condition in the picture image itself. My intention is it has to draw the SL to SH and SH to SL line as per my condition. I am very thankful to you please.......
New article Another MQL5 OOP class has been published at mql5.com: This article shows you how to build an Object-Oriented Expert Advisor from scratch, from conceiving a theoretical trading idea to programming a MQL5 EA that makes that idea real in the empirical world. Learning by doing is IMHO a...
New article Alert and Comment for External Indicators (Part Two) has been published: Since I published the article "Alert and Comment for external indicators", I have been receiving requests and questions regarding the possibility of developing an external informer operating based on indicator lines...
Hi guys, a little help here? int handle1,handle2,handle3,handle4,handle5,write;                               // File descriptorstring File_Name1="fractalup.csv";                          // File namestring File_Name3="pastfractalup.csv"; string...
An alert of some kind keeps ringing - a single bell - usually with each movement in the price of EURUSD. This does not occur with any other currency pair. Sometimes it does not ring, then suddenly it rings one time with every price fluctuation. Please tell me how to turn it off. Thank you....
Hello everybody ! I'm blocked in the most important step in my EA ... The robot works in H1 I would like to retrieve the highest closing, and the lowest close of the day. What makes 24 candles to analyze for my two values. ( highest iClose ans lowest iClose ) These values...
hello I have following problem with manual backtesting / browsing the charts: Lets say I set timeframe to Daily - and on Daily chart I can see 150 data bars then I move fixed data position cursor(small triangle at the bottom of chart) to 50 days back - if I switch timeframe to lets say 5min I end...
Break out strategy in back testing it goes long/short, demo account it goes long/short... live account, it only goes short and won't take a long signal... no errors or anything. Any ideas?
I would like to run EA for specified currency: For dingle currency i have used following code: if (Symbol() == "USDJPY") { return(0); } Question: If i want to specify multiple currency shall i use following code? if (Symbol() == "USDJPY || AUDJPY || NZDJPY") If its wrong...
1...436437438439440441442443444445446447448449450...1249