MQL4 and MetaTrader 4 - page 1355

Hello to all, I have posted this question but had taken it down, I am sure it was not clear enough. Maybe it is more understanding now. How do I find the value of ATR[1], the moment that Ask is greater than the highest high of the last ten bars. Something like: if (Ask > ( High [ iHighest, ( NULL, 0...
[Deleted]
I have a situation, when in strategy tester balance amount is not changed correctly by profit amount: How this balance is calculated? In which way does MT4 calculate the balance data (probably taking more than 2 digits after comma)? Regards Arunas Ungulatis
Hello, this is question for changing of way Moving Average EA of Metaquotes closing current position and open new one. Now this EA closing current position and open new one, but at different bars. ........ if(OrderType()==OP_SELL) { if(Open[1]<ma && Close[1]>ma) ........... //---- buy conditions
Hello Is there away of detecting the type of account traded Standard or nano or mini
This is a handy little ea I made that will speak outloud opened,closed,mod,pending, etc. Trades Read the included install directions PDF I made this because sometimes I am not near the PC or sleeping its nice to have it speak the balance trade type etc with my loud computer speakers. Enjoy Usage:...
[Deleted]
  Reg. EA  (6)
I'm a forex trader from India and i need an EA and herewith am requesting if anyone can be able to provide it to me. Regards Indian trader bullenergy@gmail.com
[Deleted]
Hello I'm near desperate trying to make MT4 work with dll. After some struggle I'm able to compile windows dll-s under linux with mingw-gcc compiler. But there is problem with using them with MT4. when I declare function like this: extren "C" __declspec(dllexport) int __stdcall test_func() .....
Hi, I have 3 terminals (V225) running on one PC, all are installed in different root directories. Two of them will create statements, but one will not. The html file is nowhere to be found and I don't think its even created. This terminal is the only one with active template on the charts, and the...
There has been a critical error Time : 2010.02.18 14:41 Program : Client Terminal Version : 4.00 (build: 225, 10 Jul 2009) OS : Windows XP Professional 5.1 Service Pack 2 (Build 2600) Processors : 1 x X86 (level 15) Memory : 1047024/587696 kb Exception : C0000005...
[Deleted]
hy guys. I have burdened myself ea 20 pips daly. In mt4 under experts stored. In mt4 the little man smiles on top rechst also well. Only unfortunately, has still nothing acted ea till present? What have I made wrong? gruss steve
Having a problem with my EA. It will open trades fine when just using atrailing stop, but when I try to use a trailing stop and and stoplosstogether it will not open trades. It works fine this way on thebacktests, but will not open a real trade on the chart. I'm trying torun a trailing stop of 5...
[Deleted]
  Help!!  (2)
This program is not working, can You tell me why?? What is wrong?? I don't want use stoploss, I want close position, when fast MA cross slow MA. GOLD #property copyright "Copyright © 2009, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" #property copyright...
[Deleted]
Ok, so I've been programming EAs for a while, they work fine normally. I've been trying to run one recently, and it won't trade live (will do in backtest no problem). I have a print statement in the same set of brackets as the ordersend: { Print("SHORT! BarsSinceTrade is ",...
[Deleted]
I am brand new to this trading foreign currency topic and would like to know where and how to begin. I signed up as a member for fortex auto money and read the manual on the meta trade broker but do not know where to go from there? What should I do next? How do I pick my currency pair? Can I get...
  A SERIOUS TRADER is needed!  (69   1 2 3 4 5 6 7)
Looking for a very serious trader for a very serious investment... I am waiting for SERIOUS reports from the real and demo. (All talks are on Skype)
[Deleted]
Hi, Wondering if anyone can help me...I'm trying to find a data feed source with the news items affecting currencies for my EA. I generally use Forexfactory Calendar with the little houses etc, but want a data feed source that I can use to tell my EA's when to shut down and stay clear of the market...
what is your method of identifying overbought / oversold zone? or your method of identifying reversal?
[Deleted]
Hi. Am just learning to program and i have seen great materials from this forum that really assist me. However the MQL4 book gave an example and the code will give error when i try to compile it. Can anyone pls help me locate where the problem is. Thanks for this and the other issues i will be...
[Deleted]
Hi I'm thinking about protection in my EA. what's happened if you have a buy order on friday evening with price 0.90000 and Stop Loss 0.89900. and If the opening on monday morning is lower than 0.89900 ? Will SL fired at 0.89900 or lower ? Wha's your strategy on friday evening ? Is it better to...
[Deleted]
Anyone can advise me, how should I go about closing only my 1min open trade and left my 5min trade still running using script? Is it possible to filter out?
Hello to all, When building the Global variable, and useing a 5 digit broker: extern int Slippage =1; would mean 1 pip or 1 point? Thanks Huckleberry
  New to Meta$  (3)
Hi all I am new to this forum, I like to say In three days I have made 111,000.00 profit with Equity of 100,000.00 to start with. I want to know is their a limit to how much profit I can make in the demo account, Can anyone help.
Bellowed is my strategy tester of my EA with agresive mode (less filter). Risk and reward is 1:2, always trade with 2% available margin. Always stop loss at 50 pips, and will take profit on 100 pips, or above 75 pips if there is reversal signal, or exit at break even point (0 pips), no martingale...
Hi all when I do a backtest of a Ea it always closes all the open trades when it completes, this gives incorrect results on the report, is there any way to configure the backtest to just leave the open trades open when testing is completed ?
  Small Question  (1)
Hey everyone... So I got this platform from my broker, and well had a question... Is there any way the Brokers can play with the results? More importantly , is there anyway we can launch the platform on our own, with out the loss of pips that goes to the broker? Thanks a lot :)
I want to include the StochasticRVI indicator values for the current + 1 candle in a EA. I have used iCustom to get the values from the indicators but none of the 0-7 modes return the value as listed in the data window or as shown on the indicator in the chart window. What am I doing wrong? The code...
[Deleted]
I am just getting started with MQL4. I have written a DDL in Delphi and I am now trying to call it from a MQL script. When I compile I get the following error:- char - parameter definition expected. In accordance with a tutorial I found I have created an include file with this code:- #import
When "Backtesting" are swap values availabe ...... and used in the computation?? I know they appear in Symbol properties.. How would a Sharia account change this also?? Where can we find out more info on swapless sharia accounts??
I'm trying a new Demo with a different broker, but I'm unable to get my setup exactly the same. On a 5min chart, I like to see what the 200HR SMA is(2400 on 5min). The MA dissapears as soon as you change it to around the 2200 mark. The platfrom even allows you to add a 2400EMA, but not the...
[Deleted]
  Display time  (3)
I planning to do an indicator to display the current time on the chart as the font are really too small to see. Can anyone advise me what's the function to use for time? I read the code and found they use Datetime constant 'D' but i dont' understand this area. anyone can advice me on this. Secondly...