Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1021

To post a new topic, please log in or register
Hello, I have an offline chart that I need to WindowScreenShoot() and then SendFTP(). The EA that I have coded this into will not work from an offline chart. SendFTP will not work from an indicator. I can run the EA from an active chart, but WindowScreenShoot does not accept a window handle to...
When is the release date for metatrader 5 client terminal, atleast give us an idea how long traders have to wait since the mql4 code will be different or can you guys release some documentation on the code.
I've posted this in response to the latest post which suggests that the going price for an EA is $20. I'm frankly staggered at the number of new members on this forum who either can't describe the precise specification of their strategy, or who can't cut code, together with those who can do neither,...
Hello. New to mt4. after typing 2009.06.24 15:00 (the desired time I wanted to check price closing), the chart immediately goes back to the current time. Please help. Thank you.
Hi, I am writing a custon indicator for MT4 and I want to set the height of the window it is running in from the indicator code. Can I do this in MT4?
I have coded this Basic EA, which works fine, except fot the second half, which will not close orders, or operate the trailing stop. I have spent many hours, no Joy. I have exhauste all my knowledge, and am at a total loss. It all works Ok, but will not operate anything below the "...
I found this ea and everything works except the trailing stop. The trailing stop moves once when hit but doesn't continue as the trade goes in profit. Any help would be much appreciated. or do you know of a similar EA. Thank You fxtrading24 .
I have been trying to use 2 of the solution on this forum but it's not working could someone please have a look at it and let me know where I have gone wrong. Regards Kiwi    //+------------------------------------------------------------------+   //| Variable...
Hello, I have a serious problem with my MetaEditor. I had 2 MT4 installed on my computer (Fxpro, FxOpen). After I installed a third one from InstaForex, the MetaEditor started to give me message like "could not launch the compiler". I first posted a thread here, and someone advice me to uninstalled...
I have programmed in few OOP languages, so I have general knowledge on programming, but I just need some expert to clarify few things for me + some concepts. 1. I like the way ZigZag marks the points and let’s say I want to use it as base for two of my custom indicators (want to get...
Hi all, I am a newby creating a width indicator based on Bolinger Band. What happens is that when I tried to run this indicator, BB_Max values of ArrayMaximum always blow up to 214783647 and therefore the values of BB_Percent will go to zero. How could this happen? Any comments is appreciated....
I am growing very tired of going to each currency pair chart and setting the magic number each time I compile my code on the test (not talking about tester) I am running. Is there a code snippet out there where I can count all the currency pair charts open with an EA called "bob" (for example) and...
  Your opinion please (12   1 2)
I have this EA program that I purchased. Have been running a test on it since about 5/26/09, so far it looks good, My Stats report, do you think there is enough testing on this to accept it as usable in live trading or should I run it longer before I got live?
I'm trying to find any datetime functions for calulating time differences. I want to run a script to check on the elapsed time that an open trade has been active. -Jerry
I have an EA that waits for a MACD to cross over, then it see's if the price action is above the top bollinger for a sell or below the bottom bollinger to buy, in the hope that as it reaches that level and bounces back. From here i check whether the next bar, within a user defined range has broken...
When I do Alert("Hello!"); I get nothing. Do I have to enable alerts somewhere? -Jerry
I would like to partner with a programmer to develop an ea based on my strategy.
The problem is that it's sending too many Alerts because the conditions are true for a long time. How can I get it to only send me one alert when it finds the conditions are true? Below is my code: total = OrdersTotal(); if(total < 1) { if(cnt_buy ==2) {...
Can someone please explain how i can pull live trade results into my website from mt4.
No Hedge....No Stoploss, No Limit Orders., FIFO...at this rate it'll be no MARKET ORDERS.... Thanks OBAMA..... SEND COMPLANTS TO THE NFA at jsunu@nfa.futures.org spendleton@nfa.futures.org squallo@nfa.futures.org edasso@nfa.futures.org lbrinati@nfa.futures.org forex@nfa.futures.org information@nfa...
Hi, I downloaded these two scripts on a forum, they were supposed to open 3 positions at a time, but when I drag and drop them on my chart they open only one position. Can someone correct that for me please. Also can someone modify those scripts for me so that they can not only open the 3 positions,...
Please, watch! The system works in EURGBP with high spread. 175152274,6% of profit in EURGBP from 2000 to 2009 (5 june) https://www.youtube.com/watch?v=I3F3MP4EcZk Best regards, BearNaked
Position opening question for programming.. ALL I want is code for opening a single position ONE Time whenconditions are true for entering. And NOT open any more positions inthat direction. Example 1. MA's cross 2. a BUY order is sent 3. CONFIRM Buy is opened (with magic number) 4. Don't open...
  if else (2)
Is this code correct? It will do 1 OR the other? I had a problem with if else statements the other day so just checking:       if (R1-OvernightHigh<0.0048 && R1>OvernightHigh)      {         OvernightHigh=R1;      }      else if (R2-OvernightHigh<0.0048 && R2>OvernightHigh)      {...
Hello everyone, I need help to understand symbol and it's full name from market watch window.....trying to search document that gives detail about each symbol. Thanks Komal.
Hi, I instALLED MT4 v224 AND IT crashes when i try to add a standard indicator such as Heiken Ashi. When I restart it, MT4 immediately crashes again. Is there a way to break this error loop? I tried changing the lastprofile .ini to bring up a virgin profile but I couldnt save it - no authority even...
My EA waits for the MACD to cross and sets a variable to 1, it then looks to see if a bar has opened below the bottom bollinger to take a buy trade or opened above the top bollinger to take a sell trade. I've printed this variable at the start of each bar to check. The reason for this is that if a...
Hello to any help out there Just as the Subject suggests. I am attaching an EA to a chart. The EA is listed on my Navigator. It was copied from the Code Base--Expert Advisors.. The Author says to change the variable makeTrades to True..check..And the init () to what ever currency I wish to use....
Hi Everyone. I am usiing a manual system that gives me alerts when the conditions are met. The alert box pops up but what I would like is to have it email me too in case I am away from my computer. Can this be put into an indicator that I could attach to the chart? I have searched these boards but...
Spread If you look at the market watch the spread for EURUSD is 2 pip ( 1.3932-1.3934) but if you look at the chart is only 1 pip ( 1.3933-1.3933), this happens all the time. Does any one knows why ?