MQL4 and MetaTrader 4 - page 1235

To post a new topic, please log in or register
Hello, is it possible show pictures in Chart, like .jgs .gif and so on other picture files?
I am looking for some code on how to stop an EA from trading based on a set pip increase on the previous day based on a monthly collective total e.g daily target 20pips once the target is hit stop trading for the day. day12 total 320 plus 20pips total 340 daily target.
I know you can plot to positive values, the line drawing will be shifted to the right using setindexshift, but that is for an indicator only. Is that correct? I want to use this same method using objectcreate, but I am unable to do so. Is it possible, if so how? Below is a snippet of code....
I'm trying to submit my EA and I get a 404 error when I click submit
Hello, 1. CONTEXT: In some cases, it is much better to countdown in the FOR loop: FOR (i=total-1;0<=i;i--){...} Like this case, (browsing all objects in a chart): https://forum.mql4.com/9330 QUESTIONS: In my TrailingStop function below: - Is it better to countdown in the FOR loop ? - In general, for...
Please can someone help me to code RSI in such away that when it is above 50 (RSI>50) it is buy signal and when it is below 50 (RSI<50) it will be a sell signal. thank you
int start{} function i only use this start{print(Bars);} i tred start at different time and use different time frame, always bars will be 1001, so that we only use 1001 bars history data in ea ? how to get more bars history data ? thank you. i have tried use arraycopyseries, same result. int...
Iliya
The history of forex. The world monetary system has evolved a long time. Since 1867, acted "gold standard": the national currency exchanged only for gold, which "reinforces" every currency, preventing any issue of money governments, which accelerates inflation. However, the "standard" does not solve...
I am relatively new to programming in MQL; but not to programming. My math on the other hand is not the greatest... Anyway, on to my question. I am working on a Holy Grail(wouldn't that be nice). Part of my strategy is defined as this: Unless an inside bar is formed at the prior peak. Now, at...
Is there a way to export the account history to excel? Thanks
Does Alert(); dont work in EA Scripts or what is the problem by mijn Scriptje? I write there Alert(); but nothing habens.
Hello, I'm using the InterbankFX client and upon startup the client immediately crashes. Anyone else seeing this problem? Thanks.
SimonTrader
Hi, Thank you in advance. I wonder weather it is right to expect by a deep backtest with all datas avaibles and the best modelization that zig-zag indicator happens to be modelized too. For instance, Every zig-zag value is computed by my EA for its purposes. At instant 1, I have zig-zag at 158.90, e...
your Custom Indicator "AMA_optimized.mq4 rename to "AMA" THE ERROR IS"2008.03.18 00:10:17 2008.01.25 21:14 EA-AMA01 EURUSD,M15: OrderSend error 138" //+------------------------------------------------------------------+ //| AAA 改编 http://hi.baidu.com/shangwuju |...
I attached an EA to the EUR/USD 15 mins chart that's supposed to initiate a BUY order when a bullish engulfing candle is formed. (The right hand corner shows a smiley face, and the settings is set to "Allow Live Trading") However, I realised that no BUY order was opened on 14th Mar 10:15am even...
Hi, when I start my EA I would like it to apply different Chart Templates depending on the currency pair I'm looking at. I know how to get the current currency pair using Symbol( ) . . . how (if possible) do I set the chart template to the one I want ? The logic would go like this if pair = GBPUSD...
Hi, I have an EUR_USD off line graph (1 hour period). Is it possible to apply a strategy tester to an off line graph? How can I proceed? Thank you! Alberto
I am new in MT4, probably I am asking a stupid question here, but, what I observed really worries me. what I observed is that the trailingstoploss was modified from time to time, but, it seems problematic that the modification sets the stoplevel backward when the price makes correction, for...
Is there any limit in this "string StringSubstr( string text, int start, int length=0)"? I read the documentation, but no answer. "length=0" means I can extract starting from the given position and up to the end of the string. But when I do so, it always cut the tail of the string, the maximum...
My EA is exchanging data with Matlab program via csv file. Is there a way to backtest my EA? Any help is appreciated. thanks. Anybody can help me?
  Simple Trend Follower System (111   1 2 3 4 5 ... 11 12)
hello everyone.... I just discover the forex and the meta-trader... so.. I tryed to perform a back-test with EA proposed on this website (like ATS combo and MACDCCI) and nothing happen.... no result, no graph...... So I have downloaded de .mq4 file and I puted in my EA folder, I'm rebooted my MIG....
New MetaTrader 4 Client Terminal Build 213 has been released: Tester: At strategy optimization, fixed check of testing limit triggering, if there are no open positions. Tester: Disabled check of testing limits at genetic optimization. Tester: Optimized history uploading. Tester: Fixed error of...
Hello...Is it normal that the number of trades placed by the optimization engine is far less that the number of trades placed by the tester using the optimal parameters returned during the optimizaton process..if so, what is the sanctity of the optimization engine...
My EA is in trades for a period of hours/days, usually looking for t/p and s/l of around 100 pips. Is it advisable to close out all open positions on Friday before the market closes? And Why? Thanks! -Tom
Hey, I'm drafting this litle EA of mine and I've been banging my head against the wall trying to force a decimal (1.5) in the deviation value, that is used in calculating the upper and lower BB bands. Is it even possible? And if so, then how exactly would one go about it? The variable is defined as...
Can someone tell me how to change the settings so that when I open MQL4 in iexplorer the font isn't enormous and unreadable. If I open in foxfire the page is normal. all other links and metatrader work fine through iexplorer? Appreciate any help John
hi i write 2 buffers, named buffer1[] and buffer2[]. and i need metatrader to identify which buffer is the latest to be created. e.g. if buffer1 is just created, then if(buffer1 created) { dosomething() }