MQL4 and MetaTrader 4 - page 1472

[Deleted]
On some instances of MT4 can no longer select color for object by selecting from color chart.Can only select color by typing in decimal e.g 50,50,50 or ColorName e.g LightGray.Is there a Registry Entry or .ini file we may need to tweak?
[Deleted]
  Only One Trade  (11   1 2)
Fellow Coders: Any ideas on how to have my EA stop trading once it has closed out its first trade of the day? Thanks, pat
You know, I have been doing by own thinking about Forex. Here is what I came out with. 1. We the buyer/seller are the first to react. a) Hence, we input our actions into the system, be it a long, a short, a limit, etc... 2. The banks and the dealers then react to us. a) This means they...
Hi eneryone Assume that I have a 30 min chart and I want to get the data (time, OHLC) of any day on the daily chart. Can any one help me with an idea or code. regards
I'm having irratic results with my metatrader robots and I wonder if MetaTrader is certified to work with 64 bit processors and/or Vista 64-bit? Bill
[Deleted]
hi, i need some help. i use the following indicator on metastock but i am not able to code it at mt4. is there any talented one to help me, it would be awesome. i will be grateful honestly. pds:=Input("EMA periods",2,2520,13); x:=Input("use Open=1 High=2 Low=3 Close=4 Volume=5 P=6",1,6,4); x:=If(x=1...
[Deleted]
Is there a way to avoid the script to blocks on a message box? If user is not interested to the message box answer you don't neet to wait for it ... Thanks.
[Deleted]
Does any body know how to run MT4 on winserver 2008? I tried compatibility mode for XPSP2 but it didnt work.. thanks
[Deleted]
I'd like to setup orders based on Fib lines. Is there a way to automate this via mql?
[Deleted]
There are a bunch of great coders on this site but more important than that many of these are great guys! they prove this by sharing their expertise and knowledge freely to help us newer guys to get a better understanding of the MQL4 language... THANK YOU TO ALL WHO HAVE HELPED ME AND OTHERS ON THIS...
[Deleted]
I know how to select a market order like this : for(cnt=0;cnt<total;cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); if(OrderType()<=OP_SELL &&OrderSymbol()==Symbol()) { if(OrderType()==OP_BUY) { But can some one please tell me how to select a...
[Deleted]
Is there an easy wayi to check to see if price bar is above upper bolliger band, and if the close price is above or below the band, and similar test for the lower band?
Why different the result of "open price only" and "every tick" at the Strategy tester ? At the Strategy tester, the result of back test is different at the following cases. "Every tick(the most precise method based on all available least timeframes to generate each tick "Open prices only(fastest...
This question was asked awhile ago and now I need the answer and can find neither the question nor the answer when I search the site. I have started a new demo account and I am thinking that horizontal is the default position for this broker but can't see any way of changing it. Anyone know how?...
[Deleted]
Hi all, i have tried do search in the forum a solution for my Problem: At the begin of my EA: /---- buy conditionsif(Ask > mybuyconditions) {ticket=OrderSend(Symbol(),OP_BUY,LotsLong(),Ask,Spread,Bid-(Ask-lowestof10bars),((BBupper-BBlower)/(Ask-lowestof10bars))*1000,"Einstieg 1",magic+1,0,Green);...
I finally found the root cause of problems in the tester (see my other post here). Steps to reproduce: 1) Stop MT4 2) Delete all files under MT4_HOME/history and MT4_HOME/tester/history 3) Start MT4 4) Go to history center and download EURUSD M1 data (when prompted say OK) 5) Now go to the tester,...
[Deleted]
hello fellow FAPers, I recently purchase fapturbo to use with metatrader4. After installing the software in demo mode, and after I thought I plugged in my access code, and after paying the additional charge for a fapsupport guy to help me set up my robots, I am still getting an error message in the...
We are glad to announce that on the 1st of February our company releases a new product — the TeamWox GroupWare. The development of this product has taken almost two years, and now all companies interested can purchase it. TeamWox is a web server application designedfor the organization of group...
this line: double ncoef1b = {ncoef1b0,ncoef1b1}; it is defined as an array earlier. gives tgis error: '}' - comma or semicolon expected C:\Program Files\MetaTrader – MB Trading\experts\indicators\Regression1.mq4 (40, 47) and the semicolon is setting right there! Why? The font in the help in the...
[Deleted]
How do you set the ExtDepth value on the zig zag indicator in mql4? I'm using this line of code, but I can't figure out how to set the ExtDepth. Thanks. ZigHigh=iCustom(NULL,5,"ZigZag",MODE_HIGH,k);
[Deleted]
This is my first attempt to write an indicator. The MQ4 posted below works except for a couple of problems. I have even gone so far as to read coderguru's tutorial and the MQL documentation and book, but cannot find the trouble. I need a pro! The problems are: 1. The filter parameters do not control
  metatrader bug?  (2)
I have an indicator which draws and deltes trendlines. When I physically grab the line with the mouse and tick hapens at the same time MT Terminal goes into freezing loop. It seems there is conflict between grabbing line with mouse and trying to delete the same line in the indicator code. Terminal...
[Deleted]
Hi All, I was wondering if any of you could be kind to a stranger with MQL4. I am sure this would take you just 5 minutes.Please help. The Percent Price Oscillator, PPO is calculated like this; =(FastEMA-SlowEMA)/SlowEMA I am used to the normal Price Oscillator, PO which has slightly different...
[Deleted]
I'm, trying to publish the statement through ftp and publisher option in Mt4 I always get this error, ftp: error STOR command failed I have tryed everything any help David
I have developed an EA that closes all open and pending trades when you move a text label in a chart. Visit http://www.forexbrace.com/content/view/203/52/ for more information and download your free copy. I have a question though. Is there a built-in method in MQL4 that could help us to go beyond...
[Deleted]
Has anyone used the iFractals function? I have been trying to find an example of how to use this function, noluck. I would appreciate it someone would point me to some doco on how to use thisfunction. Is it possible to use this function in an EA (Expert Advisor)?
[Deleted]
Guys, when Im running backtests for just a 4 month period, my memory usage of terminal.exe ticks up soooo fast that most of the time metatrader crashes when it reaches 950,000K of memory usage! I can watch it and see it goes up about 100K every second.... 1) What could be causing this if its my...
[Deleted]
Hello, My EA requires a custom indicator to be on the chart in order to use it. How can I backtest this EA without visual mode and that indicator not having a chart? Thanks,
In the world of daytrading stocks, most traders use overnight scanning software that tells them when a stock has met some conditions. As far as I can tell, there's nothing similar to this for Forex. Besides, there's no "overnight" in Forex, so a scanner would need to be constantly working. I've...
[Deleted]
My code works on a 5 decimal price broker, but not on a 4 decimal price broker... what should i be doing different in my code? Thanks!