MQL4 and MetaTrader 4 - page 888

To post a new topic, please log in or register
I want to write a EA, I hope it can buy or sell every 100 point, and takeProfit every 100 point, will you please give me a ideal how to write it? another question, if I buy 0.01 lot every 50 point, if market no retune, lose 10000 point means how much I will loss? if I can afford it, I think i find a...
I had an indicator I'm thinking of coding, but I want to know your thoughts on it first. The idea is to use a 3EMA and 4EMA (or similar) and count the number of times they cross each other for a given timeframe. This should tell if the market is Ranging or not, because if they keep intertwining...
I am new to this platform and I am trying to find where my account information would be on the platform showing how much money I have in my account that can be used for trades. Also would like to know if there is a window that shows my positions and P & L in each trade. Thanks to anybody that can...
I've been busy writing some custom indicators, and now discover that when I want to add an indicator to a chart via Insert - Indicators - Custom, only the top 77 (or so - I might have miscounted) are available. the lower ones (W-X-Y-Z ones) are greyed out. a) Is this bug known? b) Is there a fix?...
Hi all. I'm programming a tool that uses the object "Fib Expansion", to Limit Orders, Sl and TP. But I could not do the calculations and not even get the values of prices that are in these respective levels of fibexpansion. Can someone help me? I referred to as an attached picture of what I want to...
Just to inform you, of better, can you maybe proof if it's a problem with my metatrader or if its general. when i try to attach this code my metatrader crashes. //+------------------------------------------------------------------+//|                                                           BE.mq4...
hello, i search a multiple pending order ea, 1 click i can make 5 trades in the same time. please can any help me?
Hi, I was just curious, how do you most of you measure volatility in Forex? Do your EAs adapt in real-time as the volatility changes?
Hey, i just bought the new Windows Phone 7. I can´t download the *.cab File, which i can get from my broker. Are you able to convert it into a *.xap File? Would be really happy if you can help me!
stupid question, how do I do the following in MQL4? #define f(x) x^2 if I can't do this, can I create a function pointer? It seems that function calls are very expensive with the MQL4 compiler
Can anyone tell me how to disable an alert once it is sent, in the code!!. Eg i have ea sending alert when previous trade hits tp level. However the alert will heep sending more than once. How could i sort this problem. Bit of code would be nice.. thanks
Does anyone here live in the Bay Area? I'm interested in forming a trading group, to discuss live trades, strategies, weaknesses, improvements, EA development and general trading info. If you are interested PM me, or send me an email to korostelev.andre @ gmail.com
Well, not the case really is it, although hope I got your attention ! Can anyone recommend a trusted service, where I can get a formal contract drawn up from a trusted experienced developer (anything but fxcm service) ? As, i have wasted 9 months working with some freelance developers who I have...
hi guys. Im not a pro when it comes to programming or trading, however... I want to use MQL4 to trade any commodity - from milk to crude oil - using Larry Williams indicators (WillCo, ProGo and others). I downloaded and installed MQL4, but i cant understand how to manage to get access to...
I'm able to transfer data from MT4 to Excel no problem. However, I still need to know if I can transfer an order or data back to MT4 through excel. eg. I've created an order/s on an Excel spread sheet price,stop, profit in respective cells and wish to create a Hyperlink cell of some sort that would...
because it is empty each new day in my EA Thank you very much for help
Hi, I am looking for a programm that my trades mulitiplikation . I often do pending orders. thank you steve
I oughtta know this . . . but what time zone is used in the account history? GMT?
Is a call to an array considered an operation ? for instance if the arrray element is less than 1 continue should be written like this ? for (int i=0; i<7; i++) { if (My_Array[i,3]<1) continue; //do more stuff; } or should it be considered the call to the array is a separate operation so should...
Posting code snippets in this forum is almost impossible. Everytime I try to post code or answer a posting with code in the quotation it is pure luck when the formatting doesn't get messed up completely. formatted text 3 spaces now try to quote this without messing up the indentation. Could the...
i have forex broker but suddenly i can't contact to broker no phone answer,no e-mail answer even no withraw fund from my account i think this fraud, what do i have to do...please someone help me!!
I'm hoping someone knows of code thats already out there.... I have a custom indicator who's values range from -10 to 10, but the change may take a year... I would like to create an oscillator that shows a value from -1 to 1 every 90 days. ie: if data for last 90 days high is 5 and low is -6,...
Has anybody gotten an Expert Advisor based on fractal. Please help me.
Hi, sorry to bother you again guys with my questions. I've been building experts based on the below structure. It worked for one strategy, and so, I was trying to use the same framework to another expert. I always build an indicator to show -1 for the buy trigger and +1 for the sell trigger. Thus,...
So I've read many discussions that all conclude that compounding your wins is bad, due to the risk/reward equity ratio etc. etc. But my question is, now what?? Obviously if someone wins more they'll want to put that back in their winning system, but how do they do that without compounding? I am...
  help help (3)
extern double TakeProfit = 100; extern double Lots = 0.2; extern double TrailingStop = 50; extern double MATrendPeriod=50; //+------------------------------------------------------------------+ //| |...
  5 sec charts in mt4 (11   1 2)
Hi, I heard that it is possible to make 5 sec bars in mt4 from tick online data. Has anybody made this indicator that can make that? Thx
Is there a way of running strategy tester on mt4 and then clicking on 'open chart' and running it on visual mode? "Yes you can" I am hearing from everyone. But what about having two same currency charts with different time frames running on visual mode? is there a way for me to do this. I have tried...
This one allows you to give your user a choice on what hours to trade. Now it will be different based on the users broker server time, but I am sure you can work something out. // Externs:extern bool          Hour0 = true;extern bool          Hour1 = true;extern bool          Hour2 = true;extern...
New article Growing Neural Gas: Implementation in MQL5 is published at mql5.com: The article shows an example of how to develop an MQL5-program implementing the adaptive algorithm of clustering called Growing neural gas (GNG). The article is intended for the users who have studied the language...