MQL4 and MetaTrader 4 - page 987

To post a new topic, please log in or register
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:...
  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
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...
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...
  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...
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 ",...
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...
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?
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...
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...
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 ?
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...
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...
  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...
hi i want to ask for help - i want to write alert for two indicators crossing, look at pictue: the problem for me is that this two indicators has different scale values. Red line indi has 1.36 value and blue line has 25.23 value. So indi that looks with higher value in fact has lower value. Does...
As far as I can tell GetTickCount() does not work in Tester (if I'm wrong then PLEASE correct me). So my question is, how can I "inject" a delay into Tester? For example, let's I want a more realistic OrderClose() function - obviously in Live/Demo closing an order takes time - a few 100 mili-seconds...
  Spread Indicator (25   1 2 3)
Hi traders, several times traders from forums ask if there is an indicator simply showing the current pair's spread. I already programmed such an indicator for my own use and decided to contribute it to the community. Feel free to comment! By the way, it's also posted @ codebase.mql4.com Indicator...
Hi, I have a probleme with comit extern int value in an array. extern int a = 1;extern int b = 2;extern int c = 3;int array_tmp[]={a,b,c}; When i compile, i have theses errors: a - expression on gobal scope not allowedb - expression on gobal scope not allowedc - expression on gobal scope not allowed...