[Deleted]
Hi, could someone please tell me how I can pull the most recent value of the ADX indicator included with MT4 into an EA? I am guessing that I would need to set the value of the Y coordinate of an array to a variable. But I have no idea where to find the name of the array or what values to include
As many others I fell on a very good optimization for an MA Cross EA But as you might guess the results are only good up to a certain point: Jan07-Mar10 Before that there seem to be another MA cycle starting I have good 1 min data going back to 2005 so I was able to find another excellent
[Deleted]
I have a Gann indicator that needs and email alert added to it and I have no Idea where or how to start. I have several other indicators that I use the email function on and I love it! I have looked around on other forums for a gann with email alerts but haven't had any luck. So if anyone can...
[Deleted]
Hi, Does anyone know how to display the "US30" or "FRA40" CFD on a chart in MT4 ? Thanks.
[Deleted]
Has anyone tried this download from FXCM'S Program dept.? I chose it for my first EA. After testing it on the Demo and doing the Strategie tester, I decided to run it on 2 of my accounts. The first week it had 4 of 4 winners. The only thing I changed was, I deactivated it during the less favorable...
[Deleted]
hey, Any one know where i can find codes that enable me to show position by arrow when i buy/sell or close in the chart? Thank you
[Deleted]
hi all, After days of testing i finally able to write a hedging EA strategy base on EUR/USD and USD/CHF. I manage to get very good result on my demo account using manual entry. I need someone that can help me code it into EA. pls email me the EA. thanks Regards Hans
Hi Has anyone manage to code an EA to that gets around this 0.1 lot (10 000 units of the base currency) with incremental lot of 0.01. 1 pip with 0.1 lot = approx. USD 0.1 It's part of the FX open ECN FXOpen - Trading Terms - Type of accounts sorry if the link is not allowed but that where the info...
When passing values for slippage into OrderClose do adjustments need to be made for brokers with different digits? So for a four digit broker I would pass '3' for example, but for a five digits this would be '30'?
[Deleted]
I would like to recreate the object MT4 uses to present the open and close of an order on a chart. This object looks like a red, green or violet arrow on a white filled circle that serves as background. Checking the object list, the symbol appears to be a standard arrow object, but when creating the...
[Deleted]
The attached EA was developed by Barrowboy but i tried to do some modifications to it since then the results have been better . But there is a little problem with it, its only places one order and i want it to be placing more than one order. I have tried all what i could do but it is not working....
From the description of the ''Chandelier' TSL exit strategy', I don't see any difference between it and a normal MT4/MQL4 'Trailing Stop Loss' If being calculated on the broker's server, which is the 'norm,' as opposed to being entirely calculated within the EA and modification or close trade orders...
Hello: I have developed an EA that do some trading on a single currency pair. I have done some testing during 2-3 months testing with MT4 test environment and now I'm working with real money (and real trading). I have some conclutions that I would like to share and see if someone have some...
[Deleted]
I have recently created an EA that works great in the strategy tester but is behaving very oddly in the live demo. The program is coded to close all open orders if the Account Equity is greater than the Account Balance. In the strategy tester, this means that when it closes my open orders I always...
[Deleted]
I am writing a fx program and want to use Heiken Ashi candles to indicate quiet or noise market (to check previous 50 candles red or green and if 5 are the same coloue=quiet, not=noise) but I don know how to do it Can anyone help me please???
[Deleted]
Am testing a very simple program with init and start routines by duplicating the same Alert messages in both. Can get the init to run when I start the program but but for some reason the start does not run. What does it mean when the manual says "when new quotations are received, the start()...
[Deleted]
Can anyone tell me if there's an rsi indicator that can send an email alert when certain level is reach? For example: I use rsi period 9 on 4 hr chart with levels 70/30 Can any programmer build one?
[Deleted]
hello, i would like to create for one of my EA a function which it looking in the last 5 closes orders of my EA (same magicnumber and symbol) the net profit value and save them in a array. Then: if array[0] is positive X =1; if array[0] is negative and array[1] is positive X =0.9; if array[0] &...
Hi, I tried to add an alert to the attached indicator by copying and pasting from a similar indicator, but I must have missed something in the code, because neither the arrow nor alerts are generated. Can you look at the code and see what I did wrong? Thanks for your help,
I'll start with my best optimization so far with my all-time favorite EA: MA_cross_Method_PriceMode by Duke3D Results: Excellent My parameters are: JPY H1 with MA1_Period = 12, MA2_Period = 44, default for the rest Backtesting Results: I use high quality 1 min data from fxdd 90% modeling I use a...
Hi, I have developed and run two EAs. One catches WHIPSAWs and other catches TRENDs. Both are highly profitable in the short runs. But I've found both unprofitable in the long runs as the WHIPSAW one got done by the long trends and the TREND one lost heavily when the market just whipsaws for a long...
[Deleted]
double C1=iClose(Symbol(),5,1); double M1=iMACD(Symbol(),5,12,26,9,PRICE_CLOSE,MODE_SIGNAL,1); double P0=iSAR(Symbol(),5,0.02,0.2,0); double P1=iSAR(Symbol(),5,0.02,0.2,1); double P2=iSAR(Symbol(),5,0.02,0.2,2); double B1,B2,B3,B4; double S1,S2,S3,S4; double MB1,MB2,MB3,MB4; double MS1,MS2,MS3,MS4;
[Deleted]
hi there guys (and gals?) im pretty new to mql4 and have been studying away at Rosh's template article. in the article he uses ' & ' i've tried looking in the book / documentation and searching on the forum, however i cant seem to find it and am wasting lots of time. google thru up something...
Please, I need your help. I will write the folowing code lines: ... string beta[3] = {"EURUSD",EURCAD","USDCAD"}; ... Check1(num,beta[3]) ... void Check1(int N,string beta[3]) { .... } Within the void function we do not change the parameters of Check1. I got after compilation: 'beta' incompatible...
[Deleted]
into Russian MQL4 forum here in this thread https://forum.mql4.com/ru/31463 essence of the problem
Hi Guys, For example I want to optimize a moving average cross over EA I have the following inputs Fast_MA and Slow_MA So under the tester environment, I put the following Fast_MA > start : 1, step : 1, stop : 20 Slow_MA > start : 1, step : 1, stop : 20 I want to skip when Fast_MA value is more than
[Deleted]
hi all, Have been searching hedge EA strategy and robot for the last 3 days. Only can find all the same useless strategy. Anyone can give me better ideas?? Regards Hans ng_hans@yahoo.com.sg
hi all, i would like to setup an EA for trading commodities on cfd with the mt4 platform and to test the capabilities of what the program has to offer. I have been studying my system for a while and think it is now time for it to be automated. I am not a programmer and would appreciate some help,...
[Deleted]
Pls i need tips on how to test multiple screen EA. Just built my first ea and it confirm signal from both daily and 4hr then entry is made on the 15min chart. They all give diiffrent result when i back test. So i need your assistance. Searched the forum and dint get much useful info. Thanks guys

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.