How do i delete information from a array file to make room for the most recent information if ??
(1)
How do i delete information from a array file to make room for the most recent information if ??
Is there any documentation on MetaTrader 4 Strategy Tester limitations? I'm optimizing a combination of more than 10496 in the Strategy Tester, does it mean that optimization stop after 10496? What actually happen to the combinations after 10496? Thanks!
Hi, I need an EA that will override the existing Stop Loss in another chart for the with the same currency pairs. Likewise for a Trailing Stop Loss: So that it will override a Trailing Stop Loss &/or Add a Dual Trailing Stop Loss in EAs that don't have one or only have a single Trailing Stop Loss....
1 He i was using this below indicator (no.1) but i am unable to put buy and sell condiation in EA buy when bar is blue and sell when bar is red how to put condiation that in ea 2 also want to know how to change the display style off indicator in shown in picture. want to display like indicator...
Every trader has a certain goal in life, an amount of money if you like, what is your dream expressed in money? Please, no jokes, no trillions and billions of dollars. My strategic goal is 3 million rubles or $100,000
Pay attention to this advisor! It is not a Pips!!! makes a bid either Buy or Sell! only one!!!! On average makes one trade per 1 hour! With a minimum drawdown of $200 it earns $6,000 per ppl! This is not all tested on a period of 1 year from April 2006 to April 2007, it showed stunning results! I
I am new to the forum and recently discovered the excellent code base and custom indicators. Very impressed by the work of others and willingness to share, but as I am completely new to this and have no previous experience in programming, I was wondering what the correct approach is, or etiquette...
I hope someone can help me. What I try to achieve is a conditional line in a graph i.e. for the Stochastics indicator I only want the base line and the signal line to be drawn when they are rising or if the are above 30. How can I do this? Do I need to add an if statement in this part of the code:...
Hi! I want to compare EMA line between previous bar and now. If previous value ( previous bar ) of EMA is low than actual ( actual bar ), than BUY...somethig like that I wan t to create...is this possible? Thanks
[Deleted]
Dear members I need help with some coding please I would like MT4 to place an auto stop loss order whenI place a trade. The stop loss needs to placed at two points below the low ofthe last bar on a 1min timeframe. Please help. Peter.
I am having an indicator with 5 buffers The first two buffers are lines. The following three buffers are drawing arrows/symbols. SetIndexBuffer(2,BuyBuffer); SetIndexBuffer(3,SellBuffer); SetIndexBuffer(4,ExitBuffer); Now I am writing an EA, which checks when the BuyBuffer, the SellBuffer...
Hi, I am trying to develop a code that identifies the order in which EMA crosses happen. For eg. I have 3 EMA's : 5, 8, & 14. I want to get an alert when EMA5 crosses EMA8 first and then crosses EMA14 (in that order). All these crosses must happen within a specified number of bars, say 5. Rules are...
[Deleted]
Hi folks, This problem is driving me crazy. It started today Sunday morning. Does anybody has same problem? This is the printout, open0 is Open[0], open1 is Open[1], close0 is Close[0], and so on. 2010.11.01 - 18:15:00 - - - *******************New Bar************************************2010.11.01 -...
[Deleted]
I've been trying to find the color for this LSMA so that I can bring that value into my EA with the iCustom function. I've been trying to find which buffer contains the value of the color being painted, but no luck. I've searched this forum and found quite a few others with the same problem, but...
I want to calculate the average price of curreny EUR/USD for the first hour of the trade, mathematically this is achieved as follow: TotalSum = everyTick price Then the TotalSum is divided by the number of Ticks added to each other. How do I implement this into an EA?
hi am traying to make a simple indicator that put a vertical line after a numbr of bars.....example.....i will enter the date and time and the indicator will draw a vertical line after 25 bar my code is as follow.......but need some help to finish it...... ************** this is the last code that...
Hi, I ran into a problem, which is too high for me at the moment. The idea is that if a trade was profitable, no new trade should be opened that day. If the trade was a losing trade, a new trade should be opened (if meets the conditions of course). To solve it, I creared a variable: int Profitable;...
Hello, I am looking for a partner to build an EA. I have a good background in Programming (C++, Java, etc...) and also some experience in trading. The thing is that i don't have a complete trading system..... I am then looking for someone to join me as a partner. We may discuss about concepts &...
[Deleted]
For some forex traders, they have chosen to let the experts do the forex analysis for them. Maybe they have already tried doing the technical and fundamental analysis on their own and realized that they are not really cut for it. So they just rely on the forex experts and listen to their opinions...
[Deleted]
hi there, I have a demo account at instaforex... MT4 only loads the historical datal back to 1999, is it possible to load everything starting with 1970?thx
Good day to all! My question is as follows: how can I make an indicator recalculate itself no more often than a certain number of times per second, for example no more than 2 times. The Sleep function does not work in indicators
[Deleted]
Hi all, i have only one problem remaining to be able to finish my EA. I wrote the following code in the beginning of the start function to show me the profit of the last closed Sell trade, the problem is that it brings me the first closed Sell trade profit and remains on that number and never...
[Deleted]
If I put slippage of let's say 10, what does it mean with a 5 digit broker and what does it mean with a 4 digit broker? My guess is that with 5 digit broker, it's a slippage of 0.00001 and with 4 digit, it's 0.0001, but is that really so?
[Deleted]
My expert uses double, that is, when a loss trade occurs the lot will be multiplied, so when there are many consecutive losses, the lots go crazy until there are no more margin to open the latest new doubled lot, so how can i let the expert scan for the margin and see if it can open a particular...
[Deleted]
I have written an indicator that gives me an alert when Stochastic gets over 80 or under 20, but it alerts me the second it hits the parameters, and what I would like is for it to only alert me if over 80 or under 20 when the current timeframe bar closes. Can anyone help me out with that? Here is...
Hi: Thanks for taking a look at my question. I am trying to get my robot to open trades only when the current price is within 20pips of the moving average, I am using a 30M chart for such. How can I express the current price without using LOW or HIGH? Is it possible to use Bid or Ask?...
[Deleted]
You may have already done your research all over the internet. You may have already read all the help e-books and forex trading manuals that you could get your hands on. You may have already scoured the various forex forums online and exchanged ideas with some forex traders about topics ranging from...
Does anybody have the holy grail to know whether the market (in the considerd\ed Time Frame) 1- is in uptrend or downtrend? 2- wether the present long/short signal is a trend reversal I am building an EA to swing trade in market direction only. My entry points are good but not always in phase with
[Deleted]
Hi can someone please look at this code and edit it to remove orderdelete 4108 and orderclose 138 thankyou.Ive been trying for days and cannot do it!!the expert works ok but has lots of errors in the journal please..please..assist

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.