MQL4 and MetaTrader 4 - page 393

To post a new topic, please log in or register
  ERROR 4105 (1)
Hi i'm trying to build an hedging EA (to learn mql4). Here's the code #define MAGICMA  20141405//--- Inputsinput double Lots     = 1;input int    sl       = 5;input int    tp       = 10;float NetLots(string symbol)  {      if (OrdersTotal() > 0) {         double shorts = 0; double longs = 0;...
What is the normal wait time?
I'm trying to build a dashboard as need as much real state as possible to fit all the information I need to be able to see. For this reason, I was trying to hide the date and time scales, as I'm not going to trade from the dashboard itself. But when I've used the chart properties and have tried to...
Hi, I am trying using WindowScreenShot() in one my EA that running on my VPS. I am using with this format: WindowScreenShot("auto.gif",550,300); It takes black screenshots from chart. I tried this function on VPS with win server 2003 & 2008 and for both same results. When run EA on my PC(Win 8.1)...
Hi Guys About two years ago i downloaded and installed Trendlord (its an indicator) into mt4, used no problems, today, with the same broker i have downloaded another copy of mt4 so i can work two charts. I can set up both my charts the same except for the indicator Trendlord. I have copied to...
I was wondering if strategy tester can calculate more than one close points when testing your expert adviser? It seems that I'm having problems getting the strategy tester to show more than one close points with my EA, another words, strategy tester will close the whole lot when it should be...
dear sir, in Broco Trader 4.30, how can i find the CRUDE OIL (MCX) CHART, i found most of the MCX commodities but i cant find the curde oil Chart in MT4 so please suggest me how to find the CRUDE OIL (MCX) CHART.
Dear all, I want change color of bar chart like Heiken Ashi indicator. Can anyone help me this code? For example: when RSI > 50 Bar color is red, RSI < 50 bar is blue. Thank you!
Problem Resolved [Please Delete Thread] Thank you
I need to use access db from mql4; is there any dll to do it? how can I buy a job for a similar task?
MetaTrader 4 automatically opened positions right after I subscribed to the system with active positions without asking if I want to buy/sell the active positions. Is it possible to skip active positions and to follow only new positions after I subscribe?
I would like to add another sell stop / buy stop to take some profits early. I am placing an order with a take profit and stoploss with code something like this orderResult=OrderSend(Symbol(),OP_BUYSTOP,lotAmount,somePrice,3,someStopPrice,someTakeProfitPrice,"",Magic,0,clrGreen); Next how do I take...
Let's say I subscribe to Mr. X signal, should I disable the sleep mode? If a computer is in a sleep mode and there is a trading signal, will I miss the signal? Thanks
  Nodama Trader (61   1 2 3 4 5 6 7)
This is nodama trader short for normalized deviations with ma and atr . The ea uses partial exits and rifles through them very fast, so depending on your broker you may have to do some adjusting to the settings, to keep your broker happy. Noda is the indicator and in the rar is a template which i...
With the new version of MetaTrader 646 (30 april) the debugger doesn't give any result of the variables (Expression could not be evalueted). Why? do you have the same problem?
Hello traders! Have you tested this free robot <link removed by moderator> I found it recently and subscribed - and also I get useful tools for being a member.
Hi to all, i got following problem with my MetaTrader: I opened a Demoaccount to try different EAs from MQL4 but I cant subscribe because its impossible to login to mql from MetaTrader... Here I got the log: 14:33:06.381 flatex fx build 646 started (flatex GmbH) 14:33:06.381 Data Folder: C...
I have an indicator that repaints, I would like to open a position x bars from the signal bar, could someone show me how do code this. Also, the signal is triggered each tic of the signal bar, how can i get it to signal at the close of the bar only? Thanks...
Hello pls help me in compiling the attached programe in new mt4 610.
Is this possible in mt4? If so can anyone shed some light on how to do it. I have tried with no sucess. thanks.
Hi All, Does anybody know that is SWAP correctly calculated in MT4 Strategy Tester? I have found many different information about it! I can see swap values in symbol properties but I do not see real swap values in the results (no column for this). Thanks in advance! Regards, Szabbcsi
I am trying to increase the size of the heikin ashi bars this I can do on one time frame however as soon as I change time frames the size reverts back what am I doing wrong
Dear all, I'm creating my own indicator and I don't know how I can select the sound for an alert. I know how sound alerts can be added, but only the default bell one is always selected. Could someone please tel me how cal I select the sound? I mean in my indicator code. I DO KNOW how to select a...
ı want to someone code that indicator like that. example picture for what ı mean. https://www.dropbox.com/s/583rk5y9asuxzxw/Ekran%20Al%C4%B1nt%C4%B1s%C4%B1.JPG .ı wish u can understant .
Hi deVries and WHRoeder, Thank you for your prompt response. Follow is last post updated. I have an issue with the open of an order, I want open an order every time the Bid moves by a certain value. So If I make use of ; Global Variablesdouble Spread,StopLevel,FreezeLevel,RiskAmount;double...
Hi,Need some help with my Ea Please find the attached Ea Put lots size equal to .07 as input and put a horizontal line and give name as trend and also give description as trend The problem when ever trade excute with this lotsize then it will change to .08 I don't why this is happening as i...
  MAC users (3)
Is the MT4 trading platform on Mac identical to windows MT4?
This is the code-error"354:1;'\end_of_program' - unbalanced left parenthesis"//-------------------------------------------------------------//  Etasoft Inc. Forex EA and Script Generator version 4.1   EA//-------------------------------------------------------------// Keywords: MT4, Forex EA builder...
Hope that some of you have some good ideas that you would want to share here.