[Deleted]
Hello, I want to close order when ema5 cross ema10. I don't know why but don't work. In function SecondTakeProfit(), I use iMA to close order. Thank's pgforex //+------------------------------------------------------------------+//| Vrai-Trailling.mq4...
Is it possible to do 1 or is there any floating around. Price touch of Moving Average
Ever since I have started this, I have wondered what difference the time frame/interval used (on a chart) and to the manual trade or an EA really makes? Doesn’t the EA &/or a manual trade examine the data at approximately the same rate and then responds accordingly to the latest data or regardless...
[Deleted]
Hi, I kept getting this error message. "2009.11.05 06:28:57 JQ-EMA-Final EURUSD,M1: Open order error: 4109(trade is not allowed in the expert properties)" I went to "Tools ->Options -> Expert Advisor", "allow live trading" is checked. I still getting this Error message. Please help me....
Hi, Thanks for taking the time to read this thread. I have a breakout_EA that places buy and sell orders a specific number of pips away from a selected amount of previous bars. I need to add a fixed stop loss option and adjust the "day_start_hour" function so a half hour can be added, e.g 15:30...
[Deleted]
Hi, can you suggest how to make an array of indicator buffers? The following did not work (SetIndexBuffer not seeing param2 as an array)... double buffer[][5]; ... for(int i = 0; i<5; i++) { SetIndexBuffer(i,buffer[,i]); } Thanks, Bob
im trying to code a simple trailing EA, here it is below. if the trade is a buy it moves the stop loss up and a sell it moves it down. but something is not working and I cant figure it it out. //+------------------------------------------------------------------+ //|...
[Deleted]
Hello Everyone, I wanted to know if there is a way not to close to each new month all the positions that remain open. It is a problem of FXbroker that use.. or should I set some setting Mt4 to avoid that any new month me closes all the positions remained open. Regards Michele
Hi, i'm trying on stop-loss by referring to "OrderProfits" but it doesn't seem to work. perhaps as a newbie still need to learn more. can any one advice if the following code had made any mistake?...
[Deleted]
5th digit is irrelevant for the lot sizes I trade. The font sizes are small and almost impossible to read as is, any way to get rid of the 5th digit? Thanks.
I need 6 EAs to trade autonomously. The essence of them is as follows - a deal opens My conditions are as follows - you create EAs and send them to my mailbox nozhkin-a@mail.ru (all communication through this box). After that I will send you an explanation of how to use it all
Hi everyone, how are you? I need a very simple EA coded which will alert me when rsi levels have crossed a certain level on 2 or more time frames. For example, I would like to be alerted when: rsi(14) on tf 15 is below 50 and rsi(25) on tf 30 is above 60 and rsi(7) on tf 60 is below 45 ................
Although I have been reading all information I can get my hands on regardingback-testing in MT4 (including all Tester related articles in the articlessection), I still can't understand timeframes in the MT4 Tester... To better understand the significance of choosing timeframes in Tester I havedone a...
While backtesting an EA on a real live (not demo) account using an EA reading/writing to the same Gobalvariables as the live EA....had the REAL account pick up the backtest globalvariables and trade based on backtesting values..instead of current actual values.... NOT GOOD!!
Anyone know if it is possible to assign "fixed minimum and fixed maximum" in the EA for indicators that use those? ex: iMACD... The reason, is I would like to compare certain indicators and there scale is of different values. Or is there any other way of doing this? ex: if (rsi>macd) buy; (cant do...
I have a buy stop. It is not the current price, but a future price. The lotsize is good. The stop loss is good. And the takeprofit is good. I know the order is good because there is no error 130 or anything. It just gives me invalid parameter. What is the invalid parameter???? Can the dealer just...
Hi, I've made a custom indicator similar to bolinger bands. My EA is supposed to open and close orders when the price crosses the bands, but for about the first 200 bars, it opens and closes orders about 50 pips above the bands. I believe the problem is because the custom indicator needs to read...
[Deleted]
Hi there, So I made a custom indicator, and the proper value of this custom indicator is contingent upon its value in previous bars... So for example let's say this custom indicator's algorithm is as followed, 1st day of calculation: Value = The Closing price of security = 2 2nd day: 1st day's Value...
[Deleted]
I'm using MT4 with ODLSecurites. Once I open a position it appears in my trade tab. However the options to "Modify Order" or even "Close Position"! are grayed out from the right click menu. This is kind of insane, I wan't to close a bad position, and I'm just stuck here. Please help. Thanks. I'm...
Hi, I want to write my own EA. First I send a SellLimit and a BuyLimit. Then I want to see, which Orders of them are reached. How can I see which order is still open?? When I look at OrdersTotal() is get my OPEN and PENDING Orders. Lot's of thanks, sunshineh
when i test an ea it is very slow,even if move the speed button to 32,especiely there is a dll. how to accelerate it ?
New article Working with doubles in MQL4 is published: In this note we will consider a typical programming errors, that occurs while working with double numbers in MQL4 programs. Author: MetaQuotes
[Deleted]
So sorry to bother you. I have never used an EA before. I am trying to run a stop loss EA that I found on forex-tsd after being directed there from one of the posts on this site. I "compiled" the program successfully and there appear to be no errors. I dragged it onto my chart and the EA name and...
Dear colleagues, If you want to be well informed about the new events and get an easy access to the recent codebase and articles about MQL, you can browse the Russian version using the Google Translate. English translation of Russian MQL4 site Engish translation of Russian MQL4 Articles English...
I have this alert set to tell me about other timeframes. However, because of the Time[0] setting, when I am on a 5min chart, it is alerting me about the Daily chart every 5mins instead of just once. How can I add a period time to the setting so it alerts me only once for daily, only once every 4hrs
So, the conditions of the problem: Курс инструмента задается следующим образом. В начальный момент цена равна 1.0000 В каждый новый тик кидается монетка, если орел p = p*1.0001, если решка p = p/1.0001 Спред равен 2 пипсам. Трейдер обладает суммой в 100000 долларов. Максимальное плечо 1:100
New article Step on New Rails: Custom Indicators in MQL5 is published: In this article we will consider the indicators, their structure,drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners andexperienced developers, maybe some...
[Deleted]
if(order2 == true || order3 == true) { if(AccountProfit() >= 0) { for(i=OrdersTotal()-1;i>=0;i--) { OrderSelect(i, SELECT_BY_POS); int type = OrderType(); bool result = false; switch(type) {...
[Deleted]
Curious to see if anyone lives in the New York City area / Hudson Valley. Looking to start a small group of MQL traders who would like to meet about once a month for group discussions and to share what we've learned. Reply to this post with your general location. Thanks!
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.