MQL4 and MetaTrader 4 - page 1134

[Deleted]
I want my ea work with wpr.And I want it work when previous high is -1 for examle then when it goes -99 buy,or last down is -99 when it goes -1 sell..
[Deleted]
[Deleted]
  Catching a reversal or correction  (395   1 2 3 4 5 ... 39 40)
I would like to suggest that you consider one of the many quite working patterns that portend a reversal or correction.Everything looks quite clear and simple.We observe some movement accompanied by constantly going down or up in zigzags.But is it possible to calculate this level? I have seen many
Can someone help me with my iMAOnArray? Where I am having problems, is getting my upper and lower indicator lines to print. When I run my ResBuffer array through the iMAOnArray, I do not get any numbers or results. #property copyright "Copyright © 2011, MetaQuotes Software Corp."#property...
My problem is that I have some EA's that I do not have the mq4 file for. They work very well when the market is trending but VERY bad when it is not. I would like to be able to enable/disable the EA's based on the angle of a moving average. I would also need to be able to close any open or pending...
[Deleted]
my ea doesnt work good on straight ups or downs.So I want it to buy at least one hour, for example,later the last buy.
Hello, I'm a newbie here, and know just a little bit about mql4 programming. Therefore, I would like to ask, if is it posibble to make one indicator with two different deviation ? I've got two indicator, and I've check the coding for both of them, they have the same coding, only for one difference...
[Deleted]
Since a few days it appears that everytime I want to place a market order or close one, the metatrader tells me that my request is getting done... and there it stays forever. as soon as i click: cancel and repeat the request, the trading context is already in use. so i have to close metatrader and...
[Deleted]
Can some one give me the piece of code that i can add to my EA that would allow my EA to trade manually drawn lines, i already have the EA but i would like to add this feature.
  iCustom()  (4)
Hi, How do I use the mama-indicator in my EA, e.g what arguments do I enter iCustom????) http://www.greattradingsystems.com/MAMA-metatraderindicator. Thanks
Hello Everyone, I need a quick change to a code that I have and I was wondering if someone could help me. CURRENTLY Right now the code is a modified martingale. Every time the EA goes in the opposite direction, it will add on a new position in the opposite direction. However, if it goes in the...
[Deleted]
1. If a many symbol EA is run [on any chart] and begins applying system on many symbols - we get many orders... duh (bear with me :-) Since the EA works 24/7 their will be periods when the 'attached to chart' does not get good frequency of data tics. IE, the EA will be unable to effectively manage
[Deleted]
Hola. Please who can i place one and just one pending order (buy limit or sell limit) when an order is closed(buy or sell) withe the open price of this order closed. The problem that i have is that i m wrote a code but when executing in program my EA place more thane one order. int cnt,hs =...
In this code I want to test what the values are for the Orderprofit but "OrderOpenPrice() - OrderClosePrice()" just shows 0, why?, isn´t these values not avalible in the demo version or what? (The code below is just a simple code with 3 seconds between OrderSend and OrderClose to illustrate the...
As soon as another grail is found, there are sanctions from SC (change of spread, quoter change, etc.) that bring the whole grail to naught. Are there any methods to fight with CCs? ))
[Deleted]
Ilan 1.6 Dyn, statement: 24 march 2011.
[Deleted]
Hi, I am trying to run some backtest, but I cannot do it because there are several gaps in data in the history center, especially the hole month of 2011 August. How can I get the past data complete and correct? Thanks.
  Saving Quotes  (5)
Hi, I want to save the actual tick data into a csv-file. Every week or month I want to save one csv-file. So in my init-function I will open a new file and every tick I do a FileWrite(handle_tick,TimeToStr(CurTime(),TIME_DATE|TIME_MINUTES|TIME_SECONDS),Bid,Ask); Now I have a few problems /...
Hi I'm not sure how to word this question because there are broad topics. But lets say you want to mark a high and low. Not a high a low as in High[0] etc but as in marking them for drawing trendlines etc. Or perhaps engulfing candles, or tweezertops etc. And remembering them, or something like the...
[Deleted]
hi please i need the code of the indicator that gives the trend following on all the TF like the picture thank you
Is there an indicator out there that will display both the bid and ask price on the chart (MT4) instead of just the bid? It would be helpful for me.
  Maximum minimum distance  (13   1 2)
Hi everyone, Is there any way to figure out what the maximum minimum distance and/or freezelevel is for a particular broker. The marketinfo properties dont seem to contain this information. Thanks!
[Deleted]
I believe I could simply move indicators, like a Stoch curve to another pane by drag&drop in the past doesnt seem to work for me anymore either my MT4 is corrupted or I am missing the correct cursor pre select? any help is much appreciated thanks Dietmar
Hello, This question is not about a specific problem writing mql4 code. It's about knowing what works best for an EA. Suppose I'm going long, I wonder where's best to put the SL, choosing between the low of the last closed bar, or the middle of the last closed bar (in this case the stop would be...
please who can explain this: It is possible that an EA written in MQL4 that was working very well after it must have been coded will later start failing. if so, what was the cause of such thing. Can MQL4 codes Expires? Can a coded system that was exposed in a real market condition to prove its...
hello, how can i add an m120 or h2 inbetween h1 -h4 on the periodicity toolbar ? is this possible ? thanks
I need 5th digit after decimal from price quote, it will display when using DoubleToStr function. I want to store a vlue get from object and use it for further calcullation i.e "price2" could anyone please help me to solve this problem
[Deleted]
hello, Dear all I'm a new learner for MQL4 and now got problem with coding . from this forum i found that trading multip pair in the same char is using Marketinfo(), it does work really, but can't open a trade with stoploss by coding ''''marketinfo(symbal,MODE_ASK)-stoploss*Point ''or...
Dear community, i have an EA which does partial close of position. I want to detect that a position has already been partialy closed and was checking the ordercomment for "split from " string. Now i have seen in other terminal this string may vary to "to #" "split #" etc. What do you recommend how
[Deleted]
  keep on loosing  (2)
Hi, please advise me,iam keep on loosing my money.Please advise me what indicators is the best?