Hi, I'm new on metatrader stuff, and I'm trying to change some indicators, make some signals with some of them, but It's a little bit confusing. I would like to my indicator show 1 when the High is above accelaration upperband, and plot -1 when it's below accelaration downband. For the rest, plot
Hello to All once again Yes I am appriciate of all the help. But alas, I am stumped. Though I have been with this site for many months and more. All the studies, codes, etc. are gone. I have been advised, because of errors I had spoke of, that I should restart another account. That all codes and etc...
I want to limit my maximum position to 10 lot,this expert have good result in LONDON breakout period, actualy this expert open unlimited lot until limit reached (100) with my broker. example: (if order total>10) stop and restart (if order total<10). the concept of the strategy is the market likely...
hi every one, im trying to count last 15candle on 1min chart and put fibonacci on them, for buy order botom to top and for sell order top to botom and move stoploss to 68.5% fibonacci level to exit trade. only if prise move below on ema 1 for buy order and above or sell orders. any help please....
Hi I have this bit of code extern double Ratio=1.10; double StopLoss = (AccountEquity()/AccountBalance()>Ratio) *Point; I am trying to have a 10% StopLoss based on 10% of the equity. Am I on the right track or way off based to get this right. Any help would be great.
New article Controlling the Slope of Balance Curve During Work of an Expert Advisor is published at mql5.com: Finding rules for a trade system and programming them in an Expert Advisor is a half of the job. Somehow, you need to correct the operation of the Expert Advisor as it accumulates the...
[Deleted]
Dear Friends, I have coded a simple Expert Advisor code ( Please see below ). It could not make any live trading order although I have checked the allow live trading option on the Meta Trader's option menu. Please let me know what's wrong with my codes. Thank you very much for your help....
[Deleted]
Hi, I'm trying to create an EA from cobbled scripts; OCO and trailing stop. Also would like a time variable / delay to enter candle X period(s) after candle open, and repeat every X period until order is taken. I want TP=trailing stop. Could be stopped out often but hoping successful runs will...
[Deleted]
It my first EA and I have problem to set a stop loss, the stop loss works on the buy orders but does not work on the sell orders, it's so weird this is the code. this EA working with MA its really simple and make profit lol //+------------------------------------------------------------------+ //|...
[Deleted]
if (XXXXXXXXXXXXXXXXXXXXX) { for(i=OrdersTotal()-1;i>=0;i--) { OrderSelect(i, SELECT_BY_POS); int type = OrderType(); bool result = false; switch(type) { //Close opened long positions case OP_BUY : result =...
Hello All, As I said, this is the very first time I'm looking at E.A. I d/l the MT4 from FXCM and from FxPro. Both of them are "offering" the same two "samples" E.A. : MACD and Moving Average. I put them 2 on 2 different graphs, but they haven't made any operation... ( although I carefully checked
[Deleted]
Hi, I'm new to the EA area. I was wondering if there was a sticky post somewhere on how to run a back test and what some of the terms mean ie. ticks modeled, modeling quality, and how to control the dates. Or maybe one can't control the dates if you choose "Every Tick" under the Model Option?...
Hello, please I want to start trading on my mobile phone I currently have an E71,I would want to know if is possible to use the phone.if so where can i get the windows mobile to use and which broker supports mobile trading.I use FXDD but cant get their link to mobile platform.please can anybody...
guys, I need some help with a problem, that I cannot resolve on my own. I want to know how can I communicate one way, being in EA I need to get variables from other CI. I cannot use iCustom, as I get other values that a running CI - so I left that idea. I wanted to implement CI in EA, but it also...
[Deleted]
The Book of Sergey Kovalyov is not readable! The letters are much too big! How can i change this?
[Deleted]
Hello Folks. I'm pretty sure that this is explained somewhere, but I guess I'm not using the right search terms. My question: How do I tell an EA to only place an order if no other one is currently placed? To get a bit more specific: I want to place a BUYSTOP, only of no other BUYSTOP or BUY-Order...
[Deleted]
I have an EA with one IND, and another EA with another IND. I wish to combine the Two IND's into a single EA. NOT - *how* to combine the two into one- That part of the coding is done and it works fine. But Rather, HOW to optimise ! For example, a STOCH, and a MACD ( who cares if these are the exact
@metaquotes dev: strange zero division exception inside terminal.exe *after* start() is already done
(7)
[1332] exception C000008E at 004CBF22 in C:\Programme\BestDirectMT4\terminal.exe Could it be that there is some uncaught zero division somewhere inside terminal.exe happening when calculating the y scale of the indicator window? I am having not much fun with a really ugly and ongoing debugging...
Hello, I have also build a Wolf Wave EA for you, if you dont know what Wolf Wafes are there are many Informations about that in the Internet and here is a picture from a Wolf Wave: My EA Programm has a algorytmus to find such Wolf Waves and in my Backtest you can see a good result, Drwadown under 2%...
[Deleted]
how do i know if pending order had allredy open ? the orderselect() is for opening or pending order . do i have to catch it by comparing the open price ?
Is it possible to run/execute a virus or spyware or any kinda malware to infect a target pc using external DLLs? Is it safe to download and use experts or scripts which use external DLLs without being worried about security concerns? Thanks
Is there such a trawl that increases the expectation of trades for a short-term strategy? Perhaps, this phrasing is not quite correct, if I ask simply - is there a universal and useful trawl? I haven't seen it yet, but maybe I missed something
I am trying to write an EA that will close open order at the end of the next bar and have tried the following for the 4hr period: -------------------------------------------------------------------- datetime a = TimeHour(OrderOpenTimeA); string closestringA; datetime closetimeA;...
[Deleted]
Now I will offer you a download link a program in how to use the internet Using Neural Networks In MetaTrade part2 To download and activate the link go to the link below http://download1014.mediafire.com/5y1dc80tu8ng/shp8p1k7x1dmshj/2011+part+2Using+Neural+Networks+In+MetaTrader.rar Good Luck...
I'm having this code for sending orders: OrderSend(...); variable change that counts if a order have been sent. Print(...); I see my print in the log of the expert and no deal bug happens on random Fx-Pro have no explanation why it happens I've been using my EA for almost an year now and...
Hello, I have an expert advisior which works with the loss-and profit series from the last orders. I calculated them by OrderSelect(i,SELECT_BY_POS,MODE_HISTORY) .... Is there a posibility to restart the EA an with a loss-and profit series with the value "0" without changing the MagicNumber?? How...
Hi Guys New to MT4 but experienced trader. I'm on Smart Live Markets with MT4, in my scripts I got "Trader Script 1" which has a set up for Lot Size, Take Profit, Stop Loss, Buy, Sell What I am trying to do is when I trade and hit BUY or SELL I want default settings added to every trade like:...
5/30/2010 Alpari UK invalid stops - order send error 130 when t/o on alpari uk demo gbp/usd ... This is a common error, however I'm now wondering if the broker can cause this by a lack of data or broker settings, because using the same EA I am getting different results on different brokers.
Hi guys. Would someone be able to shed any light on modifying the order send function in an ea, so that it can operate with a market excecution broker. I am aware that you can not have a stop loss and take profit attched to order send with this sought of excecuttion so I am wanting this modifyied so...
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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.