MQL4 and MetaTrader 4 - page 1434

  OrderClose error  (2)
Hi I keep getting 138 errors on OrderClose Does anyone have any idea why ? Could not find proper answer on the forum
It will be better if you only post your results when you struck gold with real live accounts. Based on my experience, any golden back tests and even demo tests could easily fall apart when it comes to live test. This is because brokers with dealing desk or banks on ECN accept orders and close orders
[Deleted]
Can Anyone explain why the second trade doesn't open. I'm trying to channel prices with a BUYSTOP and A SELLSTOP But it takes one or the other but not both can someone explain?? " //+------------------------------------------------------------------+ //| Signal Begin(Entry)...
[Deleted]
Hi Everybody. Is there a way to set indicators to refresh every 200ms vs. every tick/new quote? Programing and testing during the weekend at this moment is impossible. =/ Thanks.
Dear Experts. I need your assistance. I am looking for an 200-Simple Moving Average indicator here to download for MetaTrader account. In addition, is there a download possibility in form of a script, because of lot of pending orders (assuming more as 100 lot orders to delete)into MetaTrader...
Hi, I am FINISHED! I have tried everything possible to get my MA onto the Overbought and Oversold lines. But nothing worked. The Lines are drawn without problems when I didn't try to build an Average. But then I struggle to get a Moving Average of these green and red lines. Because It's one of my...
Hi, I was wondering what is the difference between the green and the blue line. the green line goes down right away, while the blue line does not.
Hi, Example I have a colorHMAMA, which have green for trend up, red for trend down, and yellow for flat, i would like to use this color to confirm in ea, how can i check the color? Im able to check the value by using: double HMAValue = iCustom(NULL,0,"colorHMAMA",24,0,3,1,2,0,0, candle1); i have no...
Hi, Do you know any brokers that include VPS hosting in their package ?(either free or paid)
Hi, I am new to mql. In the simple expert advisor example in the book is a line that says if(total < 1) should this not be if(total > 1)
Hello, I`m backtesting my own EA on a (very) short time frame, 2 days at a Period of M1 (I`ve got the offline history data) . But the strategy tester always seem to hang around 40 % ( it actually races through up to 40 % ) . The CPU is still maxed out and the ram used stays around 170 Megs . I`ve...
Hi guys, I'm a new learner in mql4, can anyone of you here explain me what does this mean ? can i come out an ea based on the following setting ? i understand that ea doesnt allow setindexbuffer, anyone could help me out here ? Thanks =^_^= for(i=0; i<limit; i++) { if(Buffer1[i] >...
People traders what is the best and most understandable indicator to make a profit on an H1 timeframe
Hallo, wenn Sie Hilfe und Unterstützung bei der Umsetzung Ihrer Handelsstrategie als Expert Advisor oder Hilfe zur MQL4-Programmierung im deutschsprachigen Raum suchen, dann können Sie sich unter http://www.ea-programmierung.de/ informieren oder alternativ hier im Forum auf diese Meldung antworten.
I am trying for hours yet I can't connect to their mail server. Is the server down?
[Deleted]
Hi Here is a chart with arrows marking the candles that CLOSE HIGHER than the previous candle's HIGH or CLOSE LOWER than the previous candle's LOW. I would like to change the custom indicator to only show the candle that makes a NEW HIGH CLOSE or NEW LOW CLOSE of a sequence. I've highlighed these...
I've been playing around with a demo account. Yesterday (7 Aug 2009) I went short on EURUSD at 1.42357 and took profits at 1.41761. This is a total of 0.00596. Do I interpret that as 59.6 pips? When I traded I set the volume to 1.00. Is this £1? (I'm from UK). What actually is volume? I made £357.41...
[Deleted]
Hi guys, How could I see on which pairs my EA performs best? I don't want to click through every currency pair while backtesting. I would like to use optimization (EA would trade different currency pairs depending on external variable subjected to optimization) . E.g. if a=1 than ea trades EURUSD...
[Deleted]
Do to lack of programming skill my buying function looks like this: isBuying = (DMAsteepness > DDS && H4MAsteepness > H4S && triggerema > NormalizeDouble(Ask,5) && adxblack > 35 && adxblack < 55 && adxblackp < 55 && atrcurrent < 0.0070 && (Hour()>9 && Hour()<24) Should it look something more like...
Hi, Example, i would like to write an ea check the current candle, the previous candle, and the previous of the previous candles condition: if the previous of the previous candles = bearish candle ( close < open) the previous candle = bullish candle ( open < close) and current candle = bearish
[Deleted]
Dear MQL Gurus, I just read the book Moneymanagement from Bernhard Juenemann and Hein Imbacher. It contains an Excelsheet for Moneymanagement and Position Sizing. Is there any existing code in MQL so that I dont need Excel ? Is there code to make analysis of the trades and plot performance charts ?...
[Deleted]
so i tried to execute a few trades today (being the day of the infamous nfpr), and i found that on the demo account, the trades go through just fine, but with the live account, the trades didn't go through. i have a few scripts binded to a set of keys. alt+1 and alt+2. like i said, demo worked, live...
[Deleted]
  Too many EA's?  (2)
Hello everyone! I hope someone can help share some information for me here...I am running 5 EA's at once(I think that is the max you can run) and last night had this issue: both usdjpy and audusd gave me trade signals at the same time. However, one of my orders did not fill and I found out the...
[Deleted]
Does anyone know how to clear/reset the order ticket number between orders? When I close one order, let's say a Buy Order with ticket #3426154, and open a Sell Order. The Sell Order attempts to open with the same ticket# 3426154, but does not open. The Buy Order closes with no errors, and the...
I think this would be a goo d way to help new developers. This may even be sticky worthy. There are many neaunces that can trip up a new developer. To smooth the way, I thought it would be a good idea to post some tips to help out....
[Deleted]
Hi I have a problem with EA. I have wrote a program in EA. This is work in 3 currencies. Now my problem is here When 3 order are open (for example : EURUSD, EURJPY & USDJPY ) and I wanna to close one of them (for example : EURUSD) How can I select this order to close and what is the command? Your
[Deleted]
This is a channel based on propriatary price action, that obviously does not occur too often. The prices either stay in the channel or breakout for extended periods. The Range (for stop levels) isn't really that far off the map, and false breaks happen but are rare. Does anyone think that this...
[Deleted]
I trade spead between CAD and AUD I want to chart CAD - AUD how to do it?
-
can anybody tell me what's going on with my stupid program? if((MacdPPrevious-SignalPPrevious)*(MacdPrevious-SignalPrevious)<0 ) ticket=OrderSend(Symbol(),OP_BUY,Lots,ask,3,NormalizeDouble(ask-StopLoss*point,digits), NormalizeDouble(ask+TakeProfit*point,digits),"try2 sample",10009,0,Green);...