Hi, i have an ea that closes 50% of the trade at a certain tp level and lets the remaining 50% run until it hits the stop or hits the second tp level and closes the trade. The problem is i have added code to the ea so it now opens trades at a % of account balance. So for example, the ea may open a...
[Deleted]
hi is some one familiar with scalp strategy based on grid coordinate ?with 5 pips tp and 30pips sl ? i saw it on the championship 2008 by prizmal . prizmal improve the automate from other system wich won the year before . i dont think that anybody will sell the algoritm. i just want to...
[Deleted]
Hi. The issue is as much simple as interesting. How to calculate the cube root of an inputed number. We have MathPow(..., ...) only, and we can choose to get into the second parameter field a double value such as: double ATHIRD = 1 / THREE. Where THREE is a double value too (= 3.0). Any evidences...
Could anyone please assist or knows whether there is a way to extract the value of of an indicator (doesn't matter which indicator), for each hour candle? Example: Hour candle - 2010/09/06 High: 1.2918 Low: 1.2789 Close: 1.2798 EMA (3): 1.2833 - THESE ARE THE VALUES I WANT TO EXTRACT ROC (10): 0...
[Deleted]
hello Somebody can help me for codes StartTime and CloseTime? Thank you
[Deleted]
Hi all, I am coding an EA (MQL4) and with my strategy I want to use the tightest SL that the broker allows. For a BUY order : double stopLevel = MarketInfo(Symbol(), MODE_STOPLEVEL)*Point;double sl = Bid - stopLevel; For a SELL order : double sl = Ask + stopLevel; I have tested the EA on my live...
Hi there, I am new to Forex & paper trading since 6 days using Demo accnt. I guess i can ask some MT4 related Qs here. So my problem is like this. Normally i never book profits once. i always book some % of it at each predifined level. This is my habit of trading in stocks. So i was thinking same...
[Deleted]
Hi all,attached is an EA that will open X trades immediately when switch on, and after it TP or SL, it will keep on open new trades Can anyone add some code for me, that i need "High price and Low Price", which if price above "High Price" or below "Low Price", it wont open trades. In other words,...
How hard is it to code so the EA on buy and sell draws a line like this. if(trendB<trendA && trendB.old>=trendA.old){ if(sellFilter1==true){ signal=-1; if(trendB>trendA && trendB.old<=trendA.old){ if(buyFilter1==true){ signal=1;
Hi all.I think i am writing this in wright section.After some time i find this fractal indicator that gives sound alerts.I am tring to make indi that will send email but cant make it work.Can someone help? First one is with sound alert second one is what i made so far for emails.When i add sendmail
[Deleted]
i want to run a script in specific hour put two orders from the price in the future ( buy stop and sell stop ) how to i create the script ?
[Deleted]
here is what I want my computer compiles;) OrderModify(OrderTicket(),OrderOpenPrice(),(Highest high since the order began)-Point*TrailingStop,OrderTakeProfit(),0,Green); Can someone help me? Thanks
[Deleted]
Hi, I m using two monitors for my chart analysis, so I am trying to move the MT4 charts to another monitor so I can view different charts within the MT4 platform, but it seems that the chart cannot be move out of MT4 program. Can anyone advise how this can be done? Rgs
New article How to Quickly Create an Expert Advisor for Automated Trading Championship 2010 is published at mql5.com: In order to develop an expert to participate in Automated Trading Championship 2010, let's use a template of ready expert advisor. Even novice MQL5 programmer will be capable of this...
New article Using the TesterWithdrawal() Function for Modeling the Withdrawals of Profit is published at mql5.com: This article describes the usage of the TesterWithDrawal() function for estimating risks in trade systems which imply the withdrawing of a certain part of assets during their operation....
for sure the answer is no. but little if any.... the situation: five open orders on different pairs at a weak loss and a strong risk of falling into a real loss. the light goes out. the oops (for example) will last no more than 30 seconds. close the first order - requote , trade flow is busy, what
Hello friends this is checkmail and am trying to build an simple EA based on MA curves, but the problem is that the EA is not opening order in other direction when at cross it only closes the current position. Means if have an open order buy, at an cross it will...
I have put a condition on year int year = TimeYear(Time[i]); if (year > 1970) still it doesn't take into account, do you see why ? Full source below: //+------------------------------------------------------------------+//| Export.mq4...
New article 20 Trade Signals in MQL5 is published at mql5.com: This article will teach you how to receive trade signals that are necessary for a trade system to work. The examples of forming 20 trade signals are given here as separate custom functions that can be used while developing Expert...
Hello Folks, Awesome site. It is a forever learning process as it is, but this site challenges a persons understanding as well as explains the Forex facets. Thanks to all. There are many currency converting calculators out there. But what is the actual formula for converting USD/JPY, and better yet
Hello to all those interested. A lot of people write to me, no, not so many people write to me, asking for help with this or that code. I help some people but not others because I get a huge code and try to figure out what is wrong there. I have the idea of creating a video course on programming
[Deleted]
hi any body can conver this indicator to ez with sl and tp and time management here is code //+------------------------------------------------------------------+ //| HMA.mq4 //| Copyright © 2006 WizardSerg <wizardserg@mail.ru>, ?? ??????? ForexMagazine #104 //| wizardserg@mail.ru //| Revised...
MY MAIL sinvani4@hotmail.com need help here can programming.but my problem is putting all together. my stratygy is winning EA if you do it accourding to my setting i think or i am sure i gott it. have been in this market too long use over 1000 indigator fund 4 that is the best in this forex market...
[Deleted]
Hello everyone, I'm kira and have just started learning mql4. I love trading, been reading up on it for about 2 years where I started on stocks, then to options and finally on to currencies, where I feel the most comfortable. I had been live trading forex (manually) for a couple months without
[Deleted]
I have several data gaps in my Chart ( USDCHF , 1min, 5min, ...) and in the History Center too. I deleted and re-downloaded the data from MetaQuotes History Center, but to no avail. For example: Data from Fri 2010-05-07 22:59 to Thu 2010-07-08 10:44 is still missing. How do I solve this problem
[Deleted]
can you declare a global variable inside a function? I have functions that do a lot of processing, and then compare that with the results they got last time. To compare results, I must store some of the data as variables that wil remain constant when ever the finction is called. Therefore I must...
I know SRV files in the config folder are supposed to hold a broker's server details. Can I extract the server's IP address from that? What I'd like to do is ping the IP for latency checks . Problem is some of the brokers I'm checking out now don't have this info on their website and I'm getting
I was wondering if anyone knew a broker in which you can place a pending market order fractional pips away from the current market value. For instance, if the current price for EURUSD was 1.28086, I would like to place modified pending orders at 1.28088 or 1.28084 (which are .2 pips away). The...
Greetings, traders! Or not traders? I myself have been trading for three years now, but I am still in search of my grail ... Of course I have experience, but may I call myself a trader in the sense of professional affiliation? But it doesn't matter, we all want the same thing, a couple of stable
[Deleted]
Seems like there are no string functions in mq4? I want to load a file that contains my strategy settings. This file gets updated by another program. Basicly, the file is a single line of text, which each value seperated by a TAB (tab dilemted file). I've figured out how to ge my EA to load the file...
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.