Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1053

To post a new topic, please log in or register
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 ?
I am new to MQL4 programming, and am trying to take lots of little steps to get acquainted with the syntax and different types of programs. I tried to program a simple moving average crossover indicator, but the lines drawn by the indicator do not have the same values for identical MA's created with...
Newbies and Advance that would like to meet at a Starbucks or some halfway point for exchangeing ideas and experience with MQL and strategies. Regards Huckleberry
Hi-- I've been working on an EA to manage my trades. The idea is to have 3 minis, micros or full contracts on and then, as different TPs are hit, close out one of 3 Lots declared in the inputs and then manage the BE and SL positions along the way. According to what I have found, I should simply be...
Is it possible script get variable(s) from an Indicator variable? Any code example? Many Thanks :)
I'm new to MetaTrader and looking to experiment with my own EA. I've done plenty of C and Javascript before so it should not be too difficult. I have a demo account with a broker and tried out the two example EAs provided (MACD and Moving Average) on EURUSD. When I ran a strategy test on them their...
I'm trying to write a DEMA indicator using RSI in MT4, can someone assist? I'd like to chart (in a separate window) "DEMA(RSI(5),3)". Thanks.
Is it possible to have an EA that requests specific input parameters on a daily basis at a certain time in code?
hi, i'm currently studying to code scripts ea and indicators. i hope anyone help me give examples codes related to server times, local times, inserting server time into variables, bar times etc... Thanks dude :)
Hello, i run my EA in tester and make screen shots. The problem is that i get chart screen shot with default metatrader template. How can i make screen shots with my selected template. I tried to select custom template when tester is in progress and visual chart (with default template) is opened, in...
Simone Ambrogio
Hi. The question is simple. I printed a log file of the function: for(int k=0; k<10000; k++) { Print("shift: ",k," ",TimeToStr(iTime(symbol, timeframe, k))); } Premise that ALL the history has been correctly downloaded for ALL timeframes. The problem is not a little one: everything after a certain...
Hello all! Please remember the 2008 automated championship ... bad luck for me I just arrived (see statement for the same period) Championship 2008
Hello, I don't know how to do this: I want to calculate and draw the indicator line just every 5 bars. My idea was: if(MathMod(i,deltaBars) == 0){...} //deltBars = 5 this works for optimisaton but not live. Can anybody help?
Hi Everyone, I looking for people in the Seattle area who are interested in meeting up to talk Forex EA's or strategy. I live in Shoreline just north of Seattle. Send me an email at greeny1225 at hotmail dot com -Ryan
hello, one of my expers having two statis variables. this expert is running on more than one currencies. MT4 terminal is mixing the values of these static variables. I've tried to change names of these variables. But this also did not solve the problem. Any suggestions? ExpertX on EURGBP...
when a new candle occur, my personnal indicator don't update to new value, it seems NULL so i have to click an other Interval unit to refresh the indicator attachement my KST-CT (on the screen, there is TWO KST CT and MT, but MT is similar code, except constant) what is wrong in my code best regards
  Make profit 250% a weeks (83   1 2 3 4 5 ... 8 9)
Hi, Here who want make profit easy with EA check http://fpfpro.mt4stats.com If you want this EA, please contact me indo_traffic@yahoo.com