MQL4 and MetaTrader 4 - page 1411

pls. can anyone tell me the best expert advisor in the site tested ok?
[Deleted]
Hello all, I have got a problem to put an "initial" array value in one shot...At start Price [2]= 0. The Alert return me Price[2]= 0 (Again!), but Price [1]=RedYL, why Price [2] no value?? With Step [6]=10.... if (Step [6]>= 10) { for(LockY= Price [2]; LockY== 0; LockY= Price [2])...
I try to use an indicator logic in my strategy. I need to find the number of bars back to midnight 00:00 to calculate my indicator, on each new bar Now the indicator does this : int FindStartIndex(datetime startDate) { for (int i=Bars-1; i>=0; i--) { if (Time[i]>=StartDate) return...
[Deleted]
I have a strange problem with my trailing stop code, which somehow set's the stoploss higher than the actual price, which then leads to very small profits. I only use long positions for now. I have a picture which describes it best: at #45 the order is opened at 1.5622 with stoploss 1.5422 and t/p...
iMACD(NULL,0,MovingFast,MovingSlow,9,PRICE_CLOSE,MODE_MAIN,0); if the bar is still the current one, how MT calculates the Price_close?? is that the last value? The price_close is supposed to be the last value only when the bar is closed. right? Could that lead to problems? Sorry if that sounds a...
[Deleted]
Hi I'm not a programmer, but a trader. I have a trading strategy that has been very successful the last few months since I used it. Is there someone that maybe can code this for me. I would like to do a backtest on it. Thanks
[Deleted]
Hello!I have a business proposal for the trade! I have a commercial counselor EA. It follows you open the account (your choice Dealing center), give me a login and password. Then we will start to trade in shares will receive the money 60% of the proceeds to you, me 40%. Here are my coordinates -...
  Low and High  (41   1 2 3 4 5)
Hello! How can I get Low and High value between 15.00 and 17.00? I have tried something like this: if (Hour()==Start) // extern int Start=15; { HighValue=High[iHighest(NULL,0,MODE_HIGH,8,1)]; // 8 M15 bars between 15.00-17.00 LowValue=Low[iLowest(NULL,0,MODE_LOW,8,1)]; // 8 M15 bars between
[Deleted]
Hello, I have a trading system using three time frames and few indicators. This my system can give you 20pips daily without fail best trading the Cable(GBP/USD) and EUR/USD . Analysis of the financial plan requires 100pips per week and 400 pips per month which can bring you to 1million USD by the...
[Deleted]
The Wild Card Crude Oil 28 Aug 2009 Friday, 28 Aug 2009 U.S. Consumer Spending Report at Forefront of Forex Trading Today Forextrading to today are set to be driven by a batch of data from both theU.S. and Britain. The main release from the U.S. today that traders arewaiting for is the Consumer...
I WROTE A CODE LIKE THIS deltime=time[0]+2*period()*60; if(TimeCurrent()>=deltime) {Experts=0; GlobalVariableSet(Quantity3,Experts);} in this code, if deltime is assigned thus nothing will happen if timecurrent
I am just 8-10 months in this forex field working over the weekends on EA development. At this point I came to conclusion that using stop-loss in EA is just meaningless. I am sure there may have been discussion on this topic before here or some other similar forum and people would have debated on...
[Deleted]
1, how to make it(ea) to select the correct symbol(which is signaling) and close it which is out of order pos in your account. 2, before make it(ea) to open,how to check after your account has not the same symbol() ? 3, can NULL be designed in this EA ? 4, MagicNumber () can solve the problem, THERE
hello: in my ea,i want the order lots change with AccountFreeMargin or AccountEquity,but when i test it, freemargin arise from 10000 to 20000 or above, the Lots is still 0.1, it should be 0.2 0.3 0.4 my code as follow,may someone help me ? thanks #property copyright "..................
Hello to you all, It certainly is helpful to see the arrows and triangles show up on the chart, representing the entry and exit for each trade. But the problem and question is within this area. I an basic way, as to how I understand, I will demonstrate my steps: The EA has been compiled and has...
[Deleted]
am a first timer is there a school or something that i can go through to better understand ?????
[Deleted]
Hi Friends, I am a novice to MQL4 programming. I have just started to program my first Expert advisor based on Simple moving average. More than a strategy, this particular exercise is to make me more familiar with the nuances of the automated system as to understand first the constraints...
[Deleted]
I have problem of disconnection without recconect. It is solved when I disconnect from the server. Is there a function to force terminal to disconnect from the server for few seconds?
[Deleted]
  Please help  (1)
Hi could you help me please I have this robot and I thing it is good but I would like to improve it help me please I would like to add two options like Day Profit and Day Lose. For example Day Profit set to 100E I would like the robot to stop trading after reaching this amount please.
Hi I have often experienced lost connection and sometimes metatrader does not get reconnectedunless i reset my router. Is there a way to be informed of lost connection by an EA/script and maybe to bealerted after a certain time via email,alerts,etc? if the solution is to do a dll,how can that be...
[Deleted]
On this MACD you see a crossing of the MACD signal lines. However, the value that the MACD gives is not of those MA lines but of the signal MACD. So in this picture, I am looking to get the value of the yellow line that crosses at 0.00751. How do I get that from the MACD? What it gives me is the...
[Deleted]
Is this possible? If I already have an open trade, is it possible to add a Magic number to it retrospectively? I suspect its not possible, but someone might know a way of doing this.
Hi, I am currently using hotmail as the destination of my regular email updates from my EA. The smtp service company said that they checked and that they relayed the emails on time. It is therefore an issue on the hotmail side. Currently, my 2 EAs send 1 email each per half hour - so I get around 48
Hi coders, I have a problem with a EA that i just coded and i hope you can help me: The problem seems to happen only in ECN 5-digits brokers and only in some pairs. The issue is that i have coded a hidden TP which works good on 4-digits and 5-digits brokers, but when i'm going to test in ECN...
[Deleted]
Is there some way that I can force a running EA to reload values from its profile? If for example, I had updated the Magic numbers for my EA in its .set file, and this was done by an external program, is there some way I can force the EA to reload these values without having to stop and restart the...
[Deleted]
The Wild Card Gold 27 Aug 2009 Thursday, 27 Aug 2009 Dollar Benefits on U.S. Economic Data; Today Traders Focus on the U.S Unemployment Claims TheU.S dollar gained ground Wednesday against the EUR and the Britishpound, after strong data on orders for new U.S.-made durable goods andnew home sales...
Hello! Who could these EA (exp_ZZDonCh) to runs to bring? Me much would make happy! pansa
Yes, this thing really pisses me off and I really WOULD LIKE NOT TO SEE IT ON MT5. It's about MODE_STOPLEVEL's application. I understand that TP/SL have to be farther from current market, beyond the stoplevel. BUT I CAN'T LAUNCH PENDING ORDER, THAT HAS NO TP OR SL, BECAUSE ITS PRICE IS TOO NEAR...
[Deleted]
Hi All, I'm not a programer, so if it is inappropriate for me to even ask for help here- please forgive me. I am looking for a simple custom indicator for version 4 that I am sure that probablyany of you fine folks could whip out in a matter of minutes. I am looking for an indicator that would...