MQL4 and MetaTrader 4 - page 1456

[Deleted]
Hi All, Can anyone recommend a good EA to play with? Im pretty new to trading so not something to complex please :)
[Deleted]
  Bars count query  (2)
Hi, Can someone please explain the following probelem: Bars, is say 1234, but, High[1234] is always = 0.00000. Not sure why? High[1233], is say 1.2345. But High[1234], is 0.00000. Is the last bar unreadable? Am I missing something? When you auto-scroll backwards in time to the last bar shown on the...
I figured I would make as simple an EA as possible, after making hundreds of unprofitable EAs over the past year. The Buy and Sell Conditions are simple as can be: if(LastCandleUp == True && ThisCandleUp == True && LastCandleDown == False && ThisCandleDown == False) Order = SIGNAL_BUY;
Hi, can anyone show me the code how to limit the total of transactions per day? I see most of the EA only limits open position per execution. Let say I need to limit the transaction only 2 transaction per day, because if more than two, the risk of trade will increase. thanks for helping. ariston
if not, lots of EA have to be translated to MQL5. and,sorry for my pool eng..
Hi all, I've got a problem while performing backtest in my simple ea, it uses a custom indicators (semaphor e cycle) when i run backtest my cpu fan going crazy, and terminal after few trades freezes, I have not developed these indicator, just tried to include them using the iCustom function, anyone...
**** THE IDEA IS TO COMPARE THE BROKER NOT FOR TRADING BUT FOR DATA FLOW QUALITY THIS IS NOT TO TRADE ITS TO WORK ON / INDICATORS / MODELS / EA DO U KNOW WICH BROKER GIVES THE BEST ACCES TO DATA IN ALL TIME FRAME ? BEST WOULD BE TO HAVE THE STUDY FOR TEST VERSION AND REAL ACCOUNT ! FOR EXAMPLE...
Hello, I'm backtesting an EA that relies on a home made indicator. The indicator does some tests on multiple timeframes, from M1 to H1 and draw a red bar if SELL advise, and green bar if BUY advise. in the EA I do basicaly: if indicator == -1 => buy if indicator == 1 => sell else => do nothing...
  Split orders  (5)
Hello folks! Today's question is: is it possible to split an open position in two different ones? You may say: "dude... why do u need such thing?!?!??" ...and here it comes why.... Suppose you have an open position, say 1.00 lot. Suppose you want to close it when it reaches a certain price. The...
[Deleted]
Hi I am experiencing some difficulties with a home-made EA Are there any known occurences that would cause a requote from the platform directly or from the EA setup on mt4 I receive requote message though the brokers logs show no requotes, only a single request reaching them which the price had...
Anyone read anything about this: http://www.nfa.futures.org/news/newsNotice.asp?ArticleID=2273 ? Am I right in thinking that US-based brokers are now going to be required to treat a long order for e.g. 1 lot followed by a short order for 1 lot as a close? In other words, you could do two...
[Deleted]
I am considering writing an EA that uses multiple entry criterion. The exit criterion will be different for each entry criterion. Is there a way to identify an open position so that the entry method can be known and used to determine the correct exit criterion?
[Deleted]
I am NW, loking for someone who knows there way around this platform.. I learn by video or doing, not too good on reading it.. Thanks Steve
Hi, I'm working on a very simple indicator : 2MA Cross and I want to display the signal (an up or down arrow) and an alert ONLY when the bar is formed that is - for me - for the last close of the current timeframe. Am I clear ? TIA Best regards BBF
[Deleted]
Hi Everyone, Is anybody on this forum located in the Phoenix (or Tucson), Arizona area? Interested in meeting in person to talk Forex EA's or Strategy? Reply to this post or drop me an e-mail at: tovan(at)ieee(dot)org I live in Chandler (just South of Phoenix), but I also spend some weekends in Vail...
I 'd like to know how to protect a EA ? do you think that the broker can use a EA when he see thatthe EA make profit ?
Any one know if this is possible? I want to create EA with only partial data. The rest of the EA's data will be imported using includes of file located on web site. The idea is to try and protect the EA source code. Thanks, Jon
  IS IT POSSIBLE?  (1)
I WONDER IF IT IS POSSIBLE TO CODE FOR A TRAILING STOP THAT CAN MOVE IN OPPOSITE DIRECTION UNTIL A CERTAIN CONDITION BECOMES FULFILED
I am trying to set an Alert to notify me at a particular time. What is the proper syntax for the Time value? For example, if I want to set an alert for 2:00p.m. should I enter 16:00? When I do so, the time comes and goes with no alert. Can anyone set me straight?
I understand we can launch a script directly on the security window but how can we do it automatically from EA ? Or, should I set it at the same time as the EA on the screen but in this case how can I have it coming back periodically ? (once a month) and I suppose that will not show in back testing...
[Deleted]
Hello together, i am a new meta trader 4 user and mostly trading with free hand simple trend lines !!! I think to myself should i am opening a new account and i think i will do this by ALPARI UK in the next few days !!! But right here right now i am testing the demo version ... My easy silly...
I've been using LibOrderReliable_V1_1_4 for some time, but recently found a discrepancy which I am not sure about. Thought u guys might help me out. The functions that validate proper stoploss and takeprofit levels are called OrderReliable_EnsureValidTP() and OrderReliable_EnsureValidSL(). Here they...
[Deleted]
Hi there, Can anyone help me to identify via MQL what are the currently running trades? I know how to find if there is a specific trade running via magic number or by trade type. What I need is to identify how many trades I have with a specific magic number and a specific type (SELL/BUY). For...
New article Channels. Advanced Models. Wolfe Waves is published: The article describes rules of marking patterns of Wolfe Waves. Youwill find here details of constructing and rules of accurate marking,which help to find correct formations of waves quickly and correctly. Author: Vladimir
Let's say you want to know how responsive your oscillator is to cyclic market movement, wouldn't it be great if some standard data set existed that consists of two parts: first a cyclic part (e.g. a sine wave) with a constant dominant cycle length (e.g. 200 bars) and second a trending part. Could...
[Deleted]
Hi in my Ea i have multiple order like 2 or 3 depend of time, and i want to have different trailing, like one trailing is about 40 pip about the first order, the second trailing is about 50 about second order and so on, how i can do it??
Hello, i doesn´t have any experience about mql4 and prepare an EA for following signal: Indikators: MovExp 9 an 19 MACD positiv / negativ if MovExp 9 crossup MocExp19 && MACD (60,130) ist positive then signal for long if MocExp 19 crosdown MocExp 9 && MACD (60,130) is negativ then signal for short
[Deleted]
Please I need indicator like the image extern point 1 point 2 point 3 point 4 the yellow trend line  is average trend line above and trend line under and repetition all trend lines with equality thanks very much
Hi, I’m beginning as a MT4 programmer and for sure I need some help. Would someone show me how to write this simple (at least I imagine it’s simple) INDICATOR : Display an Up arrow (and play an audible alarm) above a formed bar when the close of a this bar crossed an EMA line down-Up, Display a...
I find it hard to write this code for EA. MACD rising while market is falling as indicated by the bars or MACD falling aaaaaaand market is rising.If a code for this relationship can be written i can make some market order.Anyone to help please