[Deleted]
Hi! Anyone can comment some Automated Optimization Methods? I found this: https://www.mql5.com/en/articles/1467 This (that I think is the same method of the other): https://www.mql5.com/en/code/8760 And an easier way (or not): https://www.mql5.com/en/code/9528 With the last method, I think that is...
[Deleted]
Hi! I try to put a signal of MA in the Schaff Trend (https://www.mql5.com/en/code/8348), but it do not function properly. Any help in this code? //+------------------------------------------------------------------+//| Schaff Trendy.mq4...
Hello Everyone, I have been experiencing intermittent issues with my OrderModify code and I have not been able to figure out what is causing it to fail. Typically the EA opens and order and then modifies it. But lately, the EA opens and order and never modifies the SL and TP. Hopefully the issue is...
[Deleted]
Hi, Can anyone have this same problem ? I wrote some code to write string values to CSV. the formatting seems correct but when i actually open the csv file, values are not divided into columns but instead are shown like this: ADS Securities LLC; EURUSD the code
Hello, I was wondering how long it took you guys to write your first profitable expert adviser. Did it take months? or even years?
Please,whats the code that makes a trade close if it has made 1pip profit if any.Thanks
[Deleted]
Hi all, Why can't I set StopLoss / TakeProfit for OrderSend(...OP_BUY,...) ? //trading Gold - XAUUSD. Below is my test://--------------------------------------------------------------------------- OrderSend(Symbol(),OP_BUY,0.1,Ask,3,1000,2000,"test",0,0,Blue); // failed !...
I'm using a demo account on Alpari and I can do manual trades just fine, and I've also enabled the option that allow EAs to trade. So I don't understand why isTradeAllowed() always returns false?
[Deleted]
how can i choose the best company that give me an expert adviser builder ? or what is the best company can give me expert adviser builder ? thank you ...
[Deleted]
ive downloaded meta 4 for my tablet,all is working ok on one account,but i have 2 other accounts and there i no login feature on the mt4 download if i try to download another platform it takes me back to the original is there a way to overcome this. Thanks Dave
I downloaded the following ea from a forum the other night and saved it in the experts folder in my program files. I can't get it to show up on my fxpro platform although under me "expert advisors" in my navigator there is an option "534 more"- when I enter this, it shows the ea but it won't let me...
Hi all! Does anyone have any ideas on how to record all trade profits/losses for an expert advisor? I believe I can use "double" datatype and arrays to record all profit/losses, but I am looking for other more efficient ways to record large quantities of this specific data. Thanks!
Someone does not like the work of the moderators. Suggesting in private to take part in moderator ranking. I suggest not getting involved in this bullshit. The usual ways of contacting Roche or Renate to offend don't seem to work
i have this indicator which paint the central line of the linear regression and what i want is how to calculate the upper and lower lines like the linear regression
Hello everybody, I need to calculate RequiredMargin in my EA in the situation when: AccountCurrency () != "USD" && AccountCurrency () != "EUR" To calculate RequiredMargin I use the formula: extern string AccountCurrencyChart= "USDPLN" ; double RequiredMargin=Lot* 100000 *Ask/ AccountLeverage ()*
Is there a way to add levels to the ADX indicator? It's really not worth much if you can't see these levels, I would like to be able to add the 20 and 30 levels.
Hi, Im looking a sample or already been create RSI With Moving Average EA and Moving Average EA to learn. Anyone can help me
My code is, help me to make it work. ObjectCreate("text_object", OBJ_TEXT, 0, Time[i], Close[i]); ObjectSetText("text_object", "Hello world!", 10, "Times New Roman", Green); ObjectSet("text_object", OBJPROP_XDISTANCE, 100); ObjectSet("text_object",...
[Deleted]
I have two questions. 1. I want to buy/sell after crossing two WMA on new bar but for price close prev bar. And after place an order 5minutes later if order will be still active (no transaction), buy/sell for every price. Someone can tell me how to write after 5 minutes buy/sell for every price....
[Deleted]
Hi Guys i have a question: lets say i want to loop through my orders inside a function and return a value if this condition is valid... please have a look at this code int test(){int tradecases;tradecases = 0; for (int i= 0; i< OrdersTotal();i++) { if (OrderSelect(i, SELECT_BY_POS,...
Hello, I have been trying to teach my to program an expert adviser for about a week. I have been following the EA template in the book for order accounting, closing orders, and opening orders but implementing my own strategies. However, whenever I try to back test it stops right after it collects...
[Deleted]
After completion of a Test Run using the Strategy Tester, how can I export the records from the "Results" tab from the "Tester" panel of MT4 into a "CSV" formated file?
[Deleted]
Hello, I tried to modify an indicator with my parameters . I want an up arrow when MACD < 0 and become greater than 0 and vise versa. I juste modify iMA with my iMACD. Now there's any arrow on the chart. Thank's pgforex //+------------------------------------------------------------------+ //|
to code natural logarithm ln (x) is MathLog (x) I need help on how to code log base 10 (x) fuction? Thanks in advance
[Deleted]
I am a bit confused. I ran a test on my EA (set deposit $10,000 on EUR/USD, every tick) and at one point the test was terminated due to a "Stop Out" error. I checked the account balance thinking that the resulting losses wiped out the account, but there was still a $9,300 balance in the account at...
Can anyone be kind enough to code this: 1) To trade like a RAT is to ALWAYS trade in ONE DIRECTION - either LONG or SHORT. Once you pick a "team", you can't switch. 2) The "within 20 pips of the daily high/low" is the BEST possible entry to get the maximum run BUT the RAT REVERSAL entry works...
[Deleted]
Hi everyone, I'm new to mt4 and EA world and I have one question about optimization and dates settings. I have been programming and backtesting an EA with Dukascopy's ticks data (I use Tick Data Suite). Once the EA optimized, I get the best parameters and I can set them directly by click right and...
[Deleted]
Hi, I am importing minute data from alpari, then using the period converter to create all the other timeframes. Instructions at http://www.earnforex.com/blog/2008/01/quality-metatrader-historical-data/ . This all seems to work smoothly and I can view the data fine in offline charts, however when I...

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.