MQL4 and MetaTrader 4 - page 1560

  History repeats itself - a lie?  (70   1 2 3 4 5 6 7)
The question came up after watching a thread about another "grail" Counsellor I have read this branch and decided to build something similar... 1) Combination of colours of the last N candles is written to a string variable "curState". 0 - black, 1 - white. For example, if the last three
[Deleted]
Hi, I need to change the MagicNumber in a Order. The OrderModify() doesn't do the job :( Is there a hidden way to accomplish this? Thanks SB
New article Interaction between MetaTrader 4 and Matlab via DDE is published: Step-by-step instructions of how to organize data transfer from Matlab to MetaTrader 4 using DDE. Author: Dmitriy
[Deleted]
Greetings I'm looking for an experienced programmer to program an EA. The EA is based on using my own custom indicators and is not a simple strategy. Please email me with your experience and then I can email you more details so you can work out a price estimate on the programming. Thanks so much...
[Deleted]
  Simple Hedge EA  (1)
Hello Everyone. I am wondering if any of you are aware of any EA code that can place hedged trades counter to trades being place by another EA. Example: I am running the PID EA which places a series of counter-trades as it trends. What I am looking for is an EA that can respond by seeing when...
I was wondering if anyone has done anything like this. Goal: To visually chart the on going balance, equity, profit, and open P/L of an account onto a seperate security chart. So on each tick, an update occurs, when done the security chart will show a limear chart of each of these properties of the...
[Deleted]
Hi, I am trying to copy my EA to a CD to serve as a backup copy (using WindowsXP), however I am getting a message stating that there is a problem copying the file. Am I trying to do something that can't be done with metatrader, or can someone please advise me on the best procedure to create a...
hi @ all, i tried a several times to programm trailing stop for the following EA. But all tries went wrong an no TS was created by the EA. Can u please help me to do this? Thank u very much!! the EA so far is: extern string Lots_Desc = "if 0 dynamic lot is applied"; extern double...
[Deleted]
I am new to the MqL4 and would like some help on getting started with setting up a system, my system is fairly simple as i would like to test a bracket entry 15 pips above and below the previous days Closing Price, with a 10 pip stop limit (or more depending on pair), stop loss at 20-30pips.. i...
The Tick Charts in the order window and in the Market Watch window are not filling the little windows and the line from the price tag to the last tick is far too long. How can this be adjusted? Thanks for any suggestions!
Is there a indicator that I can follow the pairs that I chose at single window? Thanks
[Deleted]
When mql5 and MT5 will be available? is it possible to know when they will be released? D.
  3ma cross EA  (1)
I have downloaded the above EA. The results of the testing shows zero profit. Date used from 2008.01.01 to 2008.31.07. Please help to fix the problem. thanx bala
[Deleted]
I'm new to MQL4, and I'm wondering if someone can answer this simple question. I want to compare the value of the current SMA(20 bars) to the previous SMA(20 bars). Here is my code. Is this correct? I basically changed the shift value to 1: if ((iMA(NULL,0,20,0,MODE_SMA,PRICE_TYPICAL,0)) >...
Hello I dont like this Error any more but every Time I get it :-) It about Error 4002, Array index out oft Range, it comes when I make a if staement in a loop: if( ArrayMinimum(Mart,cPeriod,Shift+1) ) The Array is "Mart". Ok I dont know what to write the problem is clear, or not? Did one understand...
[Deleted]
UDATE: Ok, that's enough replies for now, Ill see how I get on with who has written, thanks Raghu Hello, if this post is not allowed, please delete it. Basically, I need someone to code an idea for me which I already have formulated and written out. It's nothing special, just a basic trend Ea...
[Deleted]
i want to develop a EA that will check files for pc every 5 minuite. if he found the file in certain folder . it will read a file then open a trade based on file infomration can any one help me os some code / note regarding this EA. Thanks
I received a email about working within a Bar and problems associated with it. True, if not handled right, whips will crucify account. But think about it, doesn't that also happen when trading news, your system and any type of trade?? How often are you stopped out..whipped out? However, I have...
[Deleted]
Can anyone help me, my panel froze since yesterday, I can access everything but when I try and trade it gives me the msg Trade is Disabled, and al the prices are not moving
Hello, I need help coding a bar indicator---if you know the indicator "os gaussian trend", it displays 4 timeframes in bar format with the least timeframe on top and progressively higher timeframes appearing underneath. Well I would like to code a similar indicator using for example the RSI but...
Hi friends i have something to ask about ...and i would like to find some help with short say, i cant to make simple indicator that can give me (price change) i want to get the price change by differ the close for current bar and the close for the previous bar i know maybe it's so simple ..but for...
[Deleted]
Hello All Friends, Stuck at the beginning. Can not get rid of the Expert warnings?? Watched all tutorials but unable to get account number to save? I followed all of the instructions and can not get my expert advisor to stop telling me or leave my happy face up. I guess I am asking how to get...
[Deleted]
Account Number to fix: 1031709 - Jürgen Weichert - Login: jurgen2007 I don't get to open more than three orders. I don't get to give small lots. (0.01) a lot of 0.10 are equivalent to the lot of 1.00 in IBFX. It is very big and very risky. Which is the percentage for Margim Call? (1:100 / 1:200 /...
How can I write an EA that loops through all the open charts and sends an alert if the price has violated any of the trendlines drawn on the chart. I could write an EA and attach it to a single chart and that'd work. However I want one EA to loop through all the open charts so I can avoid attaching...
I have plotted a 3 EMA, and a bollinger band (BB) of 20 Std. Deviation on the MACD. I can call MACD signal value using iMACD, how do I call the value of the 3EMA and 20BB??? My EMA and BB are not on the chart price, but on the MACD indicator window.
[Deleted]
Hi all, For some reason this formula is not working.... I know there is problem with the way I have set the trading conditions, but really cant understand what's wrong there. int start () { int Moving21 , Moving21P ; bool BuySignal , SellSignal ; Moving21 = iMA ( NULL , PERIOD_M15 , 21 , 0
[Deleted]
Something like Momentum[10] (ExponentialAverage[3] (close)) ?
Can anyone write a manual to how to add multitimeframe, alerts and shift to a basic indicator for reference? Ed
How can I can overlay bollinger band and Moving Avgs. on MACD. Also I want both MACD and Signal lines appear, rather than histograms.
[Deleted]
free NewsReader at here click on first picture to animate ;)