MQL4 and MetaTrader 4 - page 498

To post a new topic, please log in or register
Respected friends, I have an indicator 2 ma crossover which showing arrow, thumb, fractal, diagonal thin, etc., at every crossover. is there possible that it will put horizontal line at every crossover? so anybody help me to make an adjustment? i am using 12 ema...
Hi I have several EA's i've programmed running on . They have a Daily tab where it breaks down the winners and losers for each particular day. It will give the stats for total winner/losers for Monday - Friday. It's early days and my sample size is not that large but that particular daily stat on...
I'm programming in mql4 since a short time in mql4. Does anyone know how to use the TOGGLE BREAKPOINT in the Edit menu? thanks
These do'nt work anymore on Interbank platform 216 can anyone help?
I dont know how to code! How to solve the trailing Stop loss problem?
Doomanx
Hello guys, Total MQL4 noob 16 year old here. Having a go at writing my first EA, and I've been trying to implement trailing stops by creating a user-defined function, but I can't seem to get it to work. I'm sure I've just done something stupid, but some help would be much appreciated. I am getting...
Is there any way to go beyond the limit of 'Max bars on chart' option? SOLVED:
Got an email from my broker on the 22nd containing the below message.... anybody else get an email like this? MetaQuotes, the company behind the MetaTrader platform, recently informed us that effective Wednesday, October 30, 2013 they will no longer support the Trade Terminal and Trader Toolkit...
Hi can some body tell me how to get the previous days median in mql4? Thanks
Hello, I try to get the text that comes with plotted lines in front of the candles, instead of IN the candles. (when applying the indicator to the EURUSD chart the 'BaseLine' should be set to 1.3814) Can someone give me a hint on how to go about?
forexparvenu
i wish to learn how to create mql4 indicator, Where should i start to learn ?
Any advice - this robot has gone from £10 000 to over £2million in 13 months Panthers Claw
Hi Please advise how I can retrieve the Value (ie Price) and Time for the arrow code SYMBOL_RIGHTPRICE
Welcome to the jungle! I've been programming and analyzingexpert advisors more than two years. Afterseveral courses and webinarsI’ve seen many systems that do not make money and practicallynone makes benefits. This community isgreat and I would like to know your ideas and opinions to improve my new...
Dear guys I need a calculation to get lot size by profit amount. example i want profit 30$ by 10 pips then how many lot i need to take. 1 lot = 1 pip = 10$ then 10 pips = 30$ = ? lots. please some one give a right calculation how i lot size
Hello i got a problem on my Meta trader 4 platform. A few days ago my horizontal lines and for that matter everything else like arrows and text started to disappear. I could put everything on my chart and then close it down, then open the chart up again and its all gone. But if i use the Ctrl+B...
Hi! I have a multi symbol expert I made based on some news conditions. That news affect differents symbols. So, I tried to set takeprofit and stoploss on each symbol, but in some cases the profits and losses are not the expected ones. By example, on FxPRO demo account when I send a 0.1 lots EURAUD...
I have been trying to write an indicator that will assign a 0 for a down bar and a 1 for an up bar. Here is the code for it. All my indicator is doing is printing red bars. So it seems my algorithm is wrong even though I do not see how. I am getting the open of the last bar and if it is less...
I've been struggling with this problem for a little while. I want the close all positions and stop my EA when total profit reaches a certain value. Where : TotalProfit += OrderProfit(); Across all positions: If the same EA is used on multiple charts, how can I close all positions and stop all EAs...
Hello, I would like to generate a simple query in the other Timeframe. here an example: if (Open[pos+2]>Close[pos+2]) LongSignal [pos+1] = Low[pos+1]; This query i need for Period_H4 how is the Syntax ? if (Open[PERIOD_H4,pos+2] > Close[PERIOD_H4] LongSignal [pos+1] = Low[pos+1]; Thats false !!!...
Hello, In addition to the MetaTrader 4 platform, what additional tools do you use? Thanks, Pierre8r
Hey, So, if MT4 is restarted, the EA will repeat the most recent available action. In my case, if price is >= exit prices, it will close out the desired lots again, when in fact this has already been done (as I use OrderClose() function). How can I get the EA to remember that OrderClose() has...
  calculate profit in pips (14   1 2)
Hi can somebody tell me how i calculate the profit in pips in the history trades?because i wrote this but when i check the profit is 110$ and it show 0.0473.? <CODE REMOVED>
Hello I am making an EA to put pending orders a distance from current price, if the current price for EURUSD 1.38243 and buy limit at 1.38253 as example, i see the price on the platform flip very fast and passes the 1.38253 and does not activate the pending . i used normalizedouble(1.38253,4) but...
I want to draw Drow label Start at Chart shift. haw can i get pixel coordinate ? Or can i move a group of label with mouse...? thank for your help
Hello i want to know when to use sleep() instruction or at what condition, because mostly i do not use it but some EAs i noticed used in the codes.
Hi Friends, I have developed one EA in which I have fixed take profit value say 150 pips. Now I want to change my take profit based on some condition like close buy order if macd goes in negative. Another issue is my trade lot size is calculated on % of capital & fixed stoploss. But I want to...
How to make 1379.000000 => 1379.0000 ??? in MT4?
Hello, I am looking for a script or something that update the chart every second or shorter. I need that for an offline Chart that run with extern Data into the .hst-File but which will not update the Chart by itself. Thank you C4ME
Hello, I am currently writing an EA (have a small amount of programming experience in other languages but nothing worth mentioning) that has a section for opening orders. In the open buy orders section, the code works perfectly with no erros. In the open sell section, the code was copied, pasted and...