[Deleted]
hi i have an ea that opens multiple trades (ticket_111, ticket_121, ticket_131,...), but the problem is that each ticket is opened multiple times, so i need a method to control the number of trades opened. an "if" statement would be the best. something like: if (ticket_111== 0 ) { *open trade
Hello all,I have been trying to figure this one out for some time now but am still stumped. When I open and close trades with my scripts, I get blue and red arrows (with a connecting dotted line) on the charts showing where the trade was opened/closed. I know why that is (because of the color...
Hi, I noticed that it's possible to incorporate Windows DLLs into MT4 (I saw the checkbox in the options menu). Just curious, what are people doing with this feature? I would like to have a second window outside the MT4 sandbox showing various statistical calculations and other data. Could this be
[Deleted]
hello guys, first of all I must say you have a wonderful forum! My question daels with the backtesting mechanism in metatrader4. The smallest timeframe that available for backtesting is m1, but EA's in there nature act every tick... so there is any way that the mt4 tester will run a tics instead of...
There's not even an " Experts Advisors from A to Z " manual.... ! ! ! ! ! ------ Let's face it : ALL those MT4 guys are LOUSY... ! ! !
(12 1 2)
MT4 or 5 are considered as "the best", but the only reason is because Tradestation is too expensive... ! ! ! Tradestation is HUNDREDS TIMES more powerful than MT... ! ! ! Besides, Tradestation's " Expert Advisors " can be coded in Easy Language, and then compiled in C # Here, there's not...
Hello, I programmed a custom indicator int start() { int limit; int counted_bars=IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //---- last counted bar will be recounted if(counted_bars>0) counted_bars--; limit=Bars-counted_bars;...
Hi, I have a few questions: 1. FileOpen can only open files in the terminal_directory\experts\files folder Is there any possibility, that I can open files directly from Drive C:\ or D:\ . 2. I want to read-only the same CSV-file with many differents metatrader accounts at the same time. Is this...
Have you ever been frstrated from trying to establish a trading trigger and for some reason, it still seems to break through and place a bad trade? I wanted to take few moments and offer you this little tidbit I have come to develop an understanding about. As I am sure you know, this trading...
[Deleted]
hello every one.. i have this indicator, but don't know to input it to ea.. this is my indicator code: extern int period = 15; extern int method = 1; extern int price = 0; double g_ibuf_88[]; double g_ibuf_92[]; double g_ibuf_96[]; int init() { IndicatorBuffers(3); SetIndexBuffer(0,...
So, i just found some possible issues with the function OrderClose : I placed an order with this line of code : ticket = OrderSend(Symbol(),OP_BUY,1.6,Ask,10,0,0,DoubleToStr(1.6,5),MAGIC,0,CLR_NONE); Next i closed partially this order : OrderClose(ticket,0.5,Bid,10,CLR_NONE); Firstly, i verified...
Hello, I am searching for an EA which is a trend follower. The EA should detect the last high and low and then start to detect every new high and low. In the case of an up trend: Every new relative low has to be higher than the last low > then the up trend is intact and the stoploss for my running...
[Deleted]
One machine run one EA in multiple currency seems slow. i would like use multiple machine running it. it works? actually i haven't test environment . Thanks xinfang
[Deleted]
Hello, Im running a robot that I develop that gives good results, but im testing it on two PCs, that is two separated PCs with demo accounts, for some reason i dont understand, the trading system will follow the same strategies that i outline working OK, but sometimes the demos on each PC will do...
[Deleted]
I am using NST 5.5, Can I set backtesting and predicting days by myself? The start date was set automatically. I want fixed start date that I set. I cannot find any help about it. Thanks
I am interested in using my EAs in a signal provider situation. I have looked into Rent a Signal, but does anyone else have any suggestions on who I could look into
https://www.mql5.com/go?link=http://www.mt4i.com/users/d03198933/stats if anyone has a forward test please post it. Please don't hesitate to email me if you like what you see, I am willing to sell, trade, and accept investors on my live account. Thanks. Subgenius at inbox dot com
[Deleted]
Dear Friends, What is the function of Magic Number parameter on OrderSend function ? OrderSend( string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)...
Hello to all, I have found a EA which closely covers a system which I have been kicking around. By no means do I wish to copy without permission. But if this EA is listed in the Code Base on this site, is it permisible to do so? I have worked with it and have found that although it does compile, it
Hello. I wonder if anyone can help me with the creation of a Trailing stop EA based on % instead of pips. The idea is that the trailing stop starts to modificate price after "x" number of pips by an "Y" percentage. This a way I use to trade explosive breakouts, but ints kinda of slow to move the
I recently made my first EA by copying and pasting parts of a training EA from an MQL4 COURSE By Coders’ guru. Through trial and error, I finally got the code right and was able to perform a strategy tester in which trades triggered as desired. Unfortunately, the EA only initiates a trade if there...
what is the procedure do I open a demo account on my netbook then enter my live account details ?
Hello, I'm looking for Trailing Stop for MQL5. I have one but It is not working. Thanks FXMan77 input int Inp_Trailing_FixedPips_StopLevel =3000; // Trailing::FixedPips::StopLevel input int Inp_Trailing_FixedPips_ProfitLevel=30; // Trailing::FixedPips::ProfitLevel...
Hi everybody, I was trying to calculate a simple average of 3 periods of Awesome indicator, but it's never appears on the screen. I don' t know why it's happening. Here it is: //+------------------------------------------------------------------+//|...
I have a stockastic set up on my charts with an 80 on the top line and 20 on the bottom line . My problem is that the indicator lines do not show above the 80 line nor do they show below the 20 line.....each are cut off so you see nothing above the 80 or nothing below the 20. Any help is appreciated...
i want to get the close price on 2009.01.01 (jan. 1) 3:55 . but i do not familiar with time funcution and cannot calculate the shift,anyone would help me ? thanks. iClose( "EURUSD",PERIOD_M1, shift)
i test ordersend function on an ECN plateform,nomatter which price i set,it always been excuted . i want to know why ? thanks. my code as follow : int start() { OrderSend(Symbol(),OP_BUY,0.1,Ask-0.00005,0,0,0,"",0,0,Green); return(0); }
Back testing in "every tick" mode is extremely slow if the EA calls a bunch of different iCustom() functions. I have been trying to figure out a way to reduce the number of calculations without sacrificing precision. So far I have only been able to come up with one method: This works for EAs that...
int M1BarShiftOfTradeOpen = iBarShift (symbol, PERIOD_M1 , Order_Open_Time, false ); int IndexOfHigh = iHighest (symbol, PERIOD_M1 , MODE_HIGH , M1BarShiftOfTradeOpen + 1 , 0 ); double HighestValue = iHigh (symbol
Hello, lets do this: I am new to MQL and want to make a simple indicator. Just draw an arrow over a Candle which mathAbs(Open - Close )>0.70 ... This is in USD / JPY This is what I have and doesnt work:...
[Deleted]
Hi there, How could I draw a vertical line but keeps its position *related to* the screen? So when dragging the candle lines this special line won't get moved and will stay at it's original drawn position. Thanks.
![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.