Good day to all! I don't understand MQL4 very well yet, so there are some (probably rather silly) questions 1) How to determine the number of trades for such and such a period. 2) Is there any way to determine the actual amounts spent by bears or bulls? (I've heard that you can only get the number
[Deleted]
Hello Everyone, I've written some code in mql4 (back-tested it), and I've got a doubt of protection of my code... I'm not publishing it... But while browsing, I get to know that the broker which we use can extract the ex4/mql4 files from our client program.I'm not sure how much of this is true......
[Deleted]
When using buffers and/or arrays, does the complete buffer/array shift by 1 index up at the beginning of a new bar? Example: assume there's 100 bars in the graph and I have an indicator buffer (double test_ind[]) and an array (double test_arr[1000]). During one bar on a 100 bar graph test_ind[99] is...
[Deleted]
Hello Everyone, 2 Questions: 1. I have $100 USD in my lite fx trading account, how do i know that im investing $10, $20, etc for a pair like eur/usd or usd/cad etc? 2. Could you give me some tips on writing an EA or scripts because i really do not know what that is? Thank You!
hello everybody I've got a system that makes minmum 800 pips a month. suitable for full time traders. for more information please e-mail me tavana_ms@yahoo.com regards VICTOR1967
Here is what i use on my eaextern bool UseMM = True;extern bool Micro = True;extern double Lots = 0.01;extern double Risk = 0.1;extern double MinLots = 0.01;extern double MaxLots = 100.0;//+------------------------------------------------------------------+//| calculate optimal lot size...
int CommentMe() //Comments{RefreshRates();double Eq.CM = AccountEquity();double Bal.CM = AccountBalance();double Mar.CM = AccountMargin();double Prof.CM = AccountProfit();double Lev.CM = AccountLeverage();double TV.CM = MarketInfo(Symbol(), MODE_TICKVALUE);double Sprd.CM = MarketInfo(Symbol(),...
[Deleted]
I am a newbie to MetaTrader and Automated Trading but an oldie to Forex trading. When I install MetaTrader4 I am offered a demo account with a company called United World Capital. Can someone tell me who they are and whether they are the only company I can have my acount with? Or maybe I am missing...
[Deleted]
I have a simple question, this is my code: //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- Print("--init--");...
For those who have ideas but no time - e-mail: askarsh@yandex.ru, money for the work to maile. Prepayment of 5$. Large Expert Advisor maximum 50$ . Medium $ 30 . The script is $15. Further help in rebuilding EA for free + all next EAs for $10, scripts for $5. Wholesalers discount :-) Help by sms
Questions about the correct values for the NS inputs keep popping up on the forum. But unfortunately this question is still not fully answered. I have only recently taken up NS and now I understand the importance of this question. I envy those people who were taught theory at institutes and have
Hello, I have been getting this error; 2009.03.13 00:29:29 2009.02.20 13:50 MA Extended MN 2 GBPUSD,M5: OrderSend error 131 And many more just like it. I have read the threads discussing this issue, and am still getting nowhere. I have tried 0.01, 0.1, 1, 1.0, 1.5, 5.0, 10, 100, 1000, and...
[Deleted]
I am having a problem with my EA. I want to only enter trades when the 4 hour candle closes. A snippet of my code is as follows: int startHour = TimeHour(Time[0]); int startMinute = TimeMinute(Time[0]); int startSecond = TimeSeconds(Time[0]); if (previousMA1 > previousMA2 && currentMA1 <...
[Deleted]
The code I'm using is (stripped version) this: #property copyright "Copyright © 2006, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" ... string sTrend[]; ... int start() { int i,counted_bars=IndicatorCounted(); double shortPSAR, longPSAR; if(Bars<=100)...
[Deleted]
hello, im a new bies, pls after optimization,i have just attached the MACD sample to my live account to see how a normal expert advisor works in live trading and the message in the expert window shows 2008.06.30 05:25:51 MACD Sample EURUSD.,H1 inputs: TakeProfit=50; Lots=0.1; TrailingStop=30;
[Deleted]
Hi All, I am a MQL4 newbie and don't really code so I need some guidance. I am working on an EA and for testing purposes I would like to fire off a buy and sell order every minute (in this example) so I can watch the behaviour of my code. I have two snippets below; One being from the timer function...
[Deleted]
When using ArrayCopyRates, using Different timeframes, Comment shown below returns current date time rather than Time in Testing Want to use it in B-clock to show remaining minutes in different timeframes. //+------------------------------------------------------------------+ //|...
[Deleted]
I need an EA to capture the color from an indicator. I believe it is passes as a decimal value. If I'm wrong let me know. Can someone direct me to a resource that lists the decimal values for each color in the color table?
Does anyone know an indicator/script which gives one sound alarm at the open of a new bar - or can code this?
[Deleted]
Hello all, First time posting here, so please bear with me if this is in the wrong thread. I've searched, what seems endlessly, for the answer to the question I have to no avail! Also, I am by no means a programmer, but am very familiar with installing EA's(purchased or freebies) to my MT4,...
Default Template, Feature Request Allow us to save a template as the default template or better stillselect it in options. Every time a new chart is selected, our defaulttemplate would be used and thus save us having to reset one up eachtime. To expand this concept, you might have a default for each...
Hello, we are a five people international team consisting of experienced traders and accomplished algorithmic system designers and trading system coders. We are currently working on several projects designing custom trading systems based on our own ideas and logic, as well as improving existing
Hi,I have an indicator called NonLagMA_v3.mq4 and I want to reference to it from another indicator.the standard syntax seems to be://iCustom(NULL, 0, "SampleInd",13,1,0)or//iCustom(NULL,TimeFrame,"NonLagMA",MAAppliedPrice,MAPeriod,0,y);but when I putiCustom(ccy,tf,"NonLagMA_v3",0,8,0)it doesn't work...
Hello can someone add max trades to this EA or prevent it from doing infinite reverse positions (make it do just one reverse position to the orginal one ) and set lot size for it thanks in advance
Hey guys, I'm wondering if I had made any set up mistakes. I am learning MQL4 just now and was trying one of those simple sample programs (see below). I am getting alerts during init() and deinit(). But no alerts are popping up at all during start(). Am I missing to do some set up? Or what do u...
hi there! how MT4 calculates those grid lines (crlt+g)? is there any script i could use? thanks a lot, ma.
I have a simple ea that uses the Macd to enter a scalping trade. The Macd calculation is fixed on the M1 chart by using PERIOD_M1: MacdMainCurrent=iCustom(NULL,PERIOD_M1,"IBFX - MACD Traditional",FastSma,SlowSma,SignalSma,MODE_MAIN,0); MacdSignalCurrent=iCustom(NULL,PERIOD_M1,"IBFX - MACD...
[Deleted]
B-Clock modified is simple and excellent. Unfortunately it will not work with Strategy Tester. As am a newbie, and see that it uses CurTime() (Server) to calculate time to bar close. Would be happy to see minutes left to go. All suggestion welcome Cheers
[Deleted]
Hello, I have an EA I am using. It uses a moving average but I am having problems with it. I need someone to check it and fix the problem. I am in Melbourne Australa. I would prefer a programmer to be from Australia so I can explain the problem to, but not entirely important . I can be contacted by
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.