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...
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...
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...
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?
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...
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...
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 LotSize = 1;
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
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...
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?
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...
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.
Let's say your expert advisor works with some kind of related parameters such as two Moving Averages and...
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...
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...
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?
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?