Download MetaTrader 5

MQL4 and MetaTrader 4 - page 441

To post a new topic, please log in or register
  DDE file (1)
hi everybody i used to make an excel file from DDE excel to test the strenght of each money vs the other, it worked some time then stoped giving the information needed i do no know what happened the only information i got now is "VALUE " please find the excel file attached and if you could help...
Hello Every one !!! i have question about Trading balance, how to request previews 10, 5 or any previews trades profit or loss, for example before i place new trade i want know how was profitable in past or if no function like this me be count lite history profits and losses ?
Hi, I am after some help combining 2 scripts that have functions that I like. The first one reads from a text file and draws Horizontal Lines on the currently open chart. The second draws a Trend line on the currently open chart from were you place the cursor. What I need is to be able to read from...
Hey, can anyone point me to a good resource (indicator, code, tool, or even a service) that will display depth of market or order book detail? Also called DOM, pepperstone gives some limited DOM info, but would like to find some kind of mt4 indicator or even a stand alone service. Thanks!
When I run my EA on the Euro (and on any pair besides GBP/USD) it returns a large number of mismatched chart errors. Does anybody have any idea what these mean? Thanks for any input - "SymbolEURUSD (Euro vs US Dollar)Period4 Hours (H4) 2004.12.09 12:00 - 2008.02.28 04:00ModelEvery tick (the most...
Hi! Here is my entry function. Before I've added RefreshRates(), it didn't place any orders and did not show any errors..Now that I've added RefreshRates,it shows "OrderSend Error 130" although the SL and TP are 0 as you can see. :D Please Advice,thank you.
Hello, everyone! Seems like I need help, I spent hours trying to figure out a simple matter (at least I thought it would be simple). So, I'm writing this function in my expert, that would take the symbol name (string) and convert it to a number (integer), so the function StrToInteger() seems like...
Hi, I have little knowledge about programing. Everything I do is mostly copy/paste add/remove from one indicator to another. In this particular case, i've searched (almost) everywhere for a Weighted RSI applied to PRICE_TYPICAL with no success. For the PRICE_TYPICAL question, I've managed that in...
Moderator Edit <CODE REMOVED> I created this for start. But, I realized it automatically gets into the folder of "Custom Indicator." Also, I realized when I wanted to delete, which means 1. select the label so that black rectangle appears 2. right click of the mouse and find delete in the pop up...
Hi everyone, I'm looking for a way to automatically stop\pause my algo for X days in certain cases. Any idea\snippet for that? Thanks
Hi, Im writing a function for an EA that upon change of trend it will sum all the opened trades and open an order in the opposit direction with a new magic number. This order will only close when the trend changes again. For some reason it is opening multiple orders with the right amount of lots(the...
Hi everybody I have a indicator named sample.ex4. I attached that indicator in a chart. when i like to remove that indicator, each and every time I'm going indicator list and deleting that indicator. but i like to remove that indicator via a script or EA.. I know it should be very simple code. I...
I know you can SetLevelValue( int level, double value) to an indicator, but how do you read them if they have been set already? lets say for example, the RSI indicator, i will set it to 70 and 30 levels. But how can I read these 70 and 30 level values from another indicator or EA? Thanks for your...
hello every one is there any way to edit this trend line by angle to give its alert ONLY when the Bid price equals its corresponding point on the line, as it givs an alert with every price tick even if it's far away from the line. thanks in advanse #property indicator_chart_windowextern string...
APeng
Hello :-) I use iCustom to get zigzag values of a predefined list of pairs. The ci cycles through the list and is calling icustom with each pair listed. Opening the chart and refreshing the history (right click on chart -> refresh) leads icustom to get me a different result compared to a not opened...
Hi, my trendChange variable is howing up as false even though I set it true at the beginning. It never changes during the whole run. This variable is a string but I tried bool too and it only gave me 0 in the printout. What am I doing wrong? bool     openTrade=false;int      ticket;double   current...
  ICHIMOKU STRATEGY (38   1 2 3 4)
I've been trying to create an expert advisor which will automatically buy 1 unit when the tenkan-sen>kijun-sen (when the tenkan-sen line is above the kijun-sen line) and then sell it once the tenkan-sen is lower than the kijun-sen. I'm a complete newbie and started it yesterday by trying to piece...
Hi I am looking for a custom indicator to be made . Should be really simple to do . All I want is horizontal lines to be added at specific distances when I place a trade ( or place a line / indicator ) at a price point. Once a price is shown, I want lines to appear at ZERO ( a given price) and...
It would be very nice to have the chart selection bar above the charts and below the toolbar to allow quicker movement from the toolbar to the chart selection bar and vice versa. I do a lot of multiple time frame analysis on multiple charts and switch back and forth many times. Having to to go from...
Dear, I am getting problem about double value condition: I wrote code below: double am0_13 = iMA(NULL,PERIOD_M5,MA2_5min,0,Mode_EMA,MaPrice,0); double am1_13 = iMA(NULL,PERIOD_M5,MA2_5min,0,Mode_EMA,MaPrice,1); in the chart MA1 show = 1.53977 and MA2 show = 1.53975 When I write...
Hello, When I run the attached EA in Strategy Tester I get the following in the Results tab. The entry in bold is the one I don't understand. This EA hedges a trade between a buystop and sellstop while doubling lotsize as price reverses and sets takeprofit and stoploss at equal opposing levels. As...
I've noticed my phone only alerts me to a push notification when I open the MT4 app on my phone. It won't vibrate when the app is closed. This severely limits the use of the notification. Is there any way I can get the notification vibration as long as my phone is on, even if the MT4 app is closed...
This kinda follows on from my previous question - https://www.mql5.com/en/forum/146554 I contacted Birt about the issues with the dates... His suggestion was it could be related to the way my EA is coded (no surprise really, as this is all still fairly new to me). His thoughts, that it could be...
Hi MT4 develpers, It takes a while to horizontally scrol the chart to the begin of the test period (testing without chart). Would you be so nice to include such button in your next build? Many thanks at forhand ! Regards, HansSpain
New article Expert Advisor for Trading in the Channel has been published: The Expert Advisor plots the channel lines. The upper and lower channel lines act as support and resistance levels. The Expert Advisor marks datum points, provides sound notification every time the price reaches or crosses the...
We have implemented a number of changes to Signals statistics to simplify evaluation of results. Now, you can quickly assess the trading activity of a selected signal, as the informative value of the charts has been considerably improved. First, Growth and Balance charts now feature...
I've had this great indicator that had been doing very very well trading the 4hr time frames. I've had my go with coding EA and haven't been able to pull it off. The idea is that when the indicator turns green buy and red sell and to close the trades when the color changes. Below is said indicator,...
I have noticed that my broker sends mail to the MT4 platform at critical trading moments, which slows down or crashes MT4. This is OBVIOUSLY another scam build into MT4 to attempt to make trading more difficult. So many scams, so many tricks . .... .... ....... Is there a way to 'Completely and...
I found this indicator and I want to make an EA of it but I'm stuck at one value. No, I don't have the source code, otherwise I wouldn't need your help. If you attach this to any chart, you will have 2 horizontal lines (usually the same value in positive and negative). I need to know how these 2...
I know nothing about programming (proven by my 3 hour attempt to write software for an EA where I became utterly lost), but I have a trading system for Forex, metals & indices which has performed exceptionally well on paper. It has made profits on 22 out of 25 entities on which I tried it I am keen...