Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1134

To post a new topic, please log in or register
I'm looking for an ADX with smoothing factor that behaves like VT Trader's ADX which is the standard original ADX. I will attach formula; ADX = modify moving average of DX DX = 100 x ( (+DI - -DI)/( +DI + -DI) ) +DI = +DMn / TRn, -DI = -DM / TRn +DM = Ht - Ht-1, -DM = Lt - Lt-1...
I am using Swing_ZZ indicator, and simply want to buy at a red dot, and sell at the blue dot. However, the following is not working. How can I generate appropriate buy/sell signals. Using the following code, but don't get signals at the correct spots. int start() { //---- string UpName...
Hello everyone, I'm new to mql4 and I've been trying to use this very simple code with no success. The idea is to trade at specific time, puting the script into sleep for about 2 hours, and then making the order. It works for 6 minutes, but does not for such time as 2 hours, i.e., after 2 hours it...
Hi, i got this EA from a forum as it was similar to what i wanted and thought i could learn some codeing as i changed it to what i want. well after a few weeks or month i got this far and it pretty much does what i want but now im trying to fine tune it and there is couple of things that i cant get....
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
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...
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...
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...
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
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
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...
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...
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...
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...
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...
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.
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,MODE_SMA,PRICE_CLOSE...