MQL4 and MetaTrader 4 - page 1485

i created a new ea base on some strategy from tsd, im sure this is the simplest and easiest codes but i just cant figure out where is wrong, any help would be appreciate rules : buy when there are 3 complete 15 minutes bars close down and sell when 3 are close up int start()  {  int gs, gs2, trade...
[Deleted]
Hallo everybody, is there a way to change the background of the chart via EA. eg: if (buy>10) changebackgroundcolor (Red); Something like this??
[Deleted]
I want to make sure that there will always be no less than 6 open buy stops and no less than 6 open sell stops... here is what I did... //+-------------------------------------------------------+ //| count buy stop |...
New article Recipes for Neuronets is published: The article is intended for beginners in baking "multi-layered" cakes. Author: Алексей Сергеев
Hello. I need help about the programming of an EA based mainly on the  ZigZag signal. Even if the documentation/book of mql4 reccomand to NOT use ZigZag as a strategy for forex trading and/or EA programming, i want to  practise with programming in this indicator. In particularly i want try to adapt...
Hi guys, I wanted to make some educational videos, I've read those articles, 'Easy Way to Publish a Video at MQL4.Community' 'How to Enrich Information You Present? Use Videos!' However, I couldn't find any thing on "fast forward" play. i.e. I want to show the candles closing faster than the...
How much does it cost to write a complex EA? (Profitability 2000% per month). How much have you priced the most time consuming EA you have written before? I would like to determine the order of prices. :)
Hello: The expression "iLow(NULL,0,0) show me a Open Value of bar. Do you know what is the reason?. I need the low value of currently bar. Thanks. Regards.
Have somebody experience to create a .dll file with Dev-C++ that can be used for Metatarder. When i trie it i think the .def file is not correct includet in the .dll file, and i become the error 127. I have find a tutorial how I can create .dll file for MetaTrader with Visual Studio, but not with...
  News: 5th digit in quotes  (77   1 2 3 4 5 ... 7 8)
The "happy" news caught on in the morning: As of 26 January 2009 you can test trading tactics using the 5th digit on alpari.demo accounts . If you have open positions, they will be adjusted to reflect the new format. The introduction of the 5th digit on real alpari.classic and alpari.micro accounts
[Deleted]
Hi, I am using MT4 and trying to get a clear answer on this since it seems there were conflicting answers to the question on various threads. When extracting historical data using HC, the O/H/L/C are Bid prices, correct? So one can simply add their own Spread to the these prices to arrive at the Ask...
Hello, I have developed an indicator with the help of my friends. The indicator seems to be perfect... I am not a good programmer.... I had a different ea based on the different indicator. I just did some correction in the ea and added this indicator..... But fortunately... The ea is doing...
I'm looking for a programmer for an EA. Confidentiality agreement required. Straight forward concept. I've programmed for 25+ years - just not in MQL4 and, quite honestly, after work, I would rather trade. I'll provide as much detail as possible. If you're just learning MQL4, please dont email....
[Deleted]
Hello I'm trying to implement system from TradeStation to MetaTrader. I don't know how to implement 'BarsSinceEntry' function in mql4. Mirek (PL)
Hi, I have an indicator that I want to turn into a new custom indicator:  this new custom indicator should have a value of +1 when the value of the indicator in the current bar is higher than the value of the indicator in the previous bar, and -1 vice versa. Is there a short way to do this? Maybe...
[Deleted]
  error=129  (2)
Dear all guru, My EA shows "last error=129" what does it mean? Thank you
Hi everybody! I'm experiencing the problem with testing of expert where is invoked ObjectGetValueByShift("res", 0) function, but unfortunately the value it returns is very shifted (like 50 barsback) on M1 period. I've tried to use the function in real mode and it works fine, but in the...
Hello: What means exactly this expression:? Ask + TakeProfit*Point, If Ask = 1.2850 and TakeProfit = 50, what is the calculation? 1.2850 + 50*(1.2850) = .... Thanks for your support. Sincerely Regards.
Hello: I am learning about MQL4. I would like to do this question: 1.- I can Exit, ( Buy Position ) with this statement? If Ask > Ask + TakeProfit*Point then OrderClose(OrderTicket(),OrderLots(),Bid,3,Red) 2.- I can Exit, (Sell Position) with this statement? If Bid < Bid + StopLoss*Point then...
  ZigZag.mq4 code  (3)
code from standard ZigZag Hi this code is from standard "ZigZag.mq4" "if (counted_bars==0 && downloadhistory) // history was downloaded" counted_bars==0 : checking if the value is equal to zero........ its ok. downloadhistory : there is no condition check why ??? please clear this Thanks.
[Deleted]
Hi, I test my EA on EUR/USD and I dont understand the why the error 130. many of stop loss modification are rejected ( for a long position, all my new stop loss are -20 pips of the current ask), here is the error message and my alert. PLEASE help me. 2009.03.27 07:31:56 2009.03.04 05:42  ST_002...
[Deleted]
Is it possible to build and use a custom data set for testing purposes in mq4? I would like to feed some special price patterns to an EA I'm working on to verify the logic. If this is feasible, any suggestions about how to go about this would be welcome. William
[Deleted]
Can anyone recommend a broker that uses MetaTrader, has small spreads, trust-worthy and can set up account with as little as $250? Have account already with Oanda, but Oanda does not work with MetaTrader.
[Deleted]
  FXDD News  (1)
Any idea why the live news on FXDD has quit working? The last news update was 3/24/09. Thanks
[Deleted]
How can i make the data windows keep updating data feed without hovering mouse over current price? As by default the data information will only be display in data windows when we hovering the mouse cursor over the current price. If we remove the cursor to the empty space at the right side of the...
[Deleted]
Hi all, I'm new to the forum. Ran through the forum a lot of useful stuff:). I wanted to ask the knowledgeable, I want to penetrate into the meaning of neural networks , but I do not know where to start while I have a general idea read an article by Reshetov, now I want to develop in this direction
hello everybody how can I set MT4 to alert playing different sounds at follwing events: a position hit SL a position hit TP a position is about to hit TP(as TP box turns to green color) a position is about to hit SL(as SL box turns to red color) one more question: how can I exit part of a trade with...
Hi, i want to draw a vertical line in next days or week Bar. How could i do so for example today date is = 2009.03.26 and when i want to draw a vertical line i'm writing this: ObjectCreate("line1",OBJ_VLINE,0,Time[0],0); it works fine, BUT when i want to draw a vertical line at 2009.03.27 (tomorrow)...
i want to stop ea for 10 minutes everytime the ea enter a trade, is there any way to do that beside using sleep() ?