Expert Advisors and Automated Trading - page 139

To post a new topic, please log in or register
Hi, Need some help on history logic. How do i check if i have enough history to test? say if my history starts from 01.01.2009, but EA needs at least 31.12.2008 to go without error. i know i can always download the history for 31.12.2008 and start testing from 01.01.2009, but i think it should be...
I am seeking brokers having low spread and commissions that can be used for MQL5 MT4 platform . Can you recommend or share your ideas. . . ?
Hi, Is there any way to get the time and sales data in MT5? I can't seem to find any documentation on it. Cheers
Hi guys, I have created an EA and backtest satisfied my criteria. However, in terms of stability of the EA, I don't think it's quite reliable since I don't use deviation at the moment. Now I started a forward test but it will take me several months before I can compare results. So my questions for...
Is this true for everyone else or did I mess up my mt5 by connecting to other brokers?
Hello, Problem description I registered and paid for the new virtual server service offered through our MT5 account. It is running some EA's. When I log onto my desktop, MT4 is asking me to register a virtual server . In other words it thinks I don't have one but I already have one. The money...
Hi I have recently started trading in signals on meta trader 4. From what I read, the volume is set using "Use no more than...." I assume you need a lot of capital before you can set the volume more than 0.01 Has anyone worked out a simple fix to set the volume of the signal trade other than...
And so i have coded an EA, now i have a question about activation. Do i need to code the activation into my EA? i can't find any resource pointing to it. And also about the demo, does "IsDemo()" or "IsTesting()" needed?
x5524662
Hello Ladies and Gents, Was wondering if anyone can assist with something very simple, but I am unable to actually make it work, found multiple lines of code to do what I need but none worked as my MQL skills = 0. Would appreciate if someone could help me insert a code allowing to change Lot...
SignalSubscribe function call returns error 4014. What's wrong with it?ERR_FUNCTION_NOT_ALLOWED 4014 Системная функция не разрешена для вызова
Hello MQL5 community, I have started developing my own MT4 EAs in 2015 and today I just realized a major MT4 problem. The problem can be harmless in normal conditions, but when slippage occurs on entries, it might be very annoying actually. Many times I get slippage on activation of pending...
  ChartNavigate problem (13   1 2)
Hi, first I apologize if this is in the wrong part of the forum, I saw no technical problems or developer section. I have a problem with ChartNavigate() function in MQL5. I'm working on a couple of projects, some indicators and EAs; and it has come to my attention that ChartNavigate will jump...
Hello to everyone. I'm experiencing an issue on EA made by myself that works on Renko (using offline charts). Inside the routine OnInit() I've calculated PipValue of the pair in this way: double PipValue; int OnInit() { double LotSize = 1; PipValue =(((MarketInfo(Symbol()...
Hi, I'm having a few issues with the SymbolSelect() function which I hope you can help me with. From my understanding of things, it's not possible to get any information on a symbol that's not the chart symbol, unless that symbol has been added to the MarketWatch window (is this correct? Please let...
Is there a way to detect if/when (One Click Trading Panel) is on. OnChartEvent event does not fire clicks over it. Suppose an alternative would be to take a screenshot and visually process the corner. However is there some function I didn't find or a c++ dll call to do the trick?
How do i exactly use symbolselect function?I used it this way it doesn't work String pair="EURUSD"; SymbolSelect(Pair,true); Alert (symbol()); i use alert to see if the symbol is selected but i see it always alerts usdchf by default, Please me with, write the exactly code which select EURUSD...
I have some EA. In this EA is several different conditions to open and few different conditions for close trade. Each condition for open has a different string for Comment in order. ... This I can. ======= And now ... When EA close the opened order on the basis one of the specific conditions -...
Does anyone know of any free EA with source code that will open trade the opposite direction if it is wrong on a trade. This condition is true if price moved against the original (buy or sell) order by 20 pips. Also, while it open trade in opposite direction, it must pay attention to the averaging...
HI Guys I am new to MT4 and I am having problems. I click on Modify Expert and nothing happening? Can you run a EA with no money in your account? What suppose to happen when you run the EA? does it show you were you enter the trade and exist the trade? Cheers Andrew
Hey Guys, From the teachings in this forum and personal excersice i have discovered how to build a grid indicator, But there is a little problem Im having : building the indicator as a single variable it worked correctely but when i tried to convert each grid line into individual element...
Hi there! Sry if the subject doesn't quite tickle the point of my question, maybe bad wording within this post and if my question already got answered elsewhere. I've searched for it. Problem: Let's say your expert advisor works with some kind of related parameters such as two Moving Averages and...
Hello there, I share with you my two first EAs tought for learning purposes! Any feedback from experts is welcome. How would you improve them? The first one is RSIExpectator, the very simple EA that works exclusively on RSI. The results calculated by this robot give an idea of the effectiveness of...
ForexTrader7
Can an EA read notifications for indicators? If yes, how? Regards
In the EA I am testing, during the compilation I observe two warning and the information gave by the compilator is: need to check the ordesend   I am new in MQL5 programmation sorry and If somebody can help me I will really appreciate.    Thnks a lot by advance   Jean Philippe 
can someone kindly tell me how to use mt4 API ? my application is to develop my own web trading terminal, so I need to get data from meta trader server and display data in my web interface like mt4 PC client. in here (http://www.metatrader4.com/en/brokers/api) says about mt4 API, but I can't...
I am going to build a trading strategy based on the Heiken Ashi. I need to identify three consecutive red or white bars. i would like someone can put the MQL4 code here
Let's say if an EA open a buy order, the market move in the wrong direction. I want the EA to close that order and open in the opposite direction. Does anyone have a template for Closing trade and opening trade in the opposite direction?
  indicator EA (2)
I copied an EA based on the RSI indicator that is optimized automatically. you can add the indicator window so that the setting values are updated each time you update the values of EA?
I'm trying to convert the amount of money into lotsize to buy or sell. let's say account balance is: $1000 Lotsize risk percent is: 20 the formula I used below return the value of $20. How do I convert that into lot size? Here's the code I'm working on. What am I missing? double...