MQL4 and MetaTrader 4 - page 1453

[Deleted]
Hi Everyone, This is my first post and I'm not sure it's the right place but here goes. I trade Cable manually using a "Grid" to capture Daily Ranges. I place Buy Stops every 10 points to cover 200 points set to take 10 pip profit. The same with Sell Stops. I also place Sell Limits on the "Buy" side...
[Deleted]
plus I have read tons of this forum and articles but I have not come across anything that says exactly what I am looking for. Please help? Regards, Joseph
Hi, I’m writing this code, but I obtain the message “OrderModify Error 1” because the system continue to see as valid the condition “Bid > TakeProfit_Long_1”. I need to modify the orders only one time, when Bid price cross TakeProfit_Long_1. How can I proceed? Thank you!...
[Deleted]
Hi, ist there any possibility to delete history entries on the server..? ore any option that my investor doesn't see, which exact trades the ea did?
[Deleted]
Am intensely interested in how you approach conditions in for and while statements and would appreciate your comments and what you do. I fear that must do the dreaded nesting stuff like with if's eg: if(a<b) if(c<d) do something; instead of simply: if(a<b && c<d) do something; //am assuming here...
[Deleted]
i want to build my own machine, but i cant find the basics anywhere... how can i withdrow information from the market? how can i knwo the corrent rate, and candles.. i need a guide to integrate with the basics of getting info from the market. help will be most apriciated and sorry for my spelling ....
[Deleted]
I have noticed that the time on the EA/chart will lag from 30 seconds to 3 minutes at times, can anyone tell me what would cause this? Ex: Market Watch 1:15 EA Time 1:13
[Deleted]
I have a custom indicator that I would like to convert into an EA. For example the fractal indicator, if it is an up fractal on both the eur/usd and gbp/usd, a trade would be entered on the eur/usd. PLEASE HELP! THANKS
I am trying to send an email through google's smtp servers. Apparently they don't allow it. Know of any free mail companies that do allow this?
[Deleted]
  Order comments  (1)
I m new to MT4, is there a way to modify or change the existing order comment ?
  iCustome  (6)
Im trying to use iCustom to get indicator into EA but it doesn't seem to pick up the values.. This is what I have in the Indicator:    SetIndexBuffer(0,RSI1);   SetIndexBuffer(1,RSI2);   SetIndexBuffer(2,RSI3); And this is how i define it my EA: cDRSI_0 = iCustom(NULL, 0, "MyRSIindicator", 0,...
[Deleted]
  Who has a good pipsqueak?  (72   1 2 3 4 5 ... 7 8)
Hello. Do you have a Pips Manager (with take at least 2 pips (preferably 3 pips, if more, quite good)), that shows good results on demo, but cannot work on the real, because a brokerage company will get banned? If you have one, please share it with us. I feel there is a lot of talk that some good
[Deleted]
  help please  (1)
Hi I'm new to MQL but have some programming experience. I've read the 'book' and very helpful it was too, got me up and running quickly. What I need help with is function parameters, in particular iBands(), the 'Book' helped me with iMa() but is there a reference somewhere with all the function...
[Deleted]
I am encountering a continual problem with redisplaying custom indicators when the timeframe changes or the MT4 platform is loaded after being shut down. The custom indicators will load but the lines and objects will not be redisplayed properly, even though the indicators work just fine the rest of...
  DayOfYear  (4)
In the strategy tester, I run this: if (DayOfYear()>=88) {StartHour=StartHour+1;EndHour=EndHour+1;} However, it is always adding 1 hour even before March. Is it picking up the current server time? Do I have to use candle time instead? I can't see how I can backtest it any other way.
Can someone explain to me what does this standard code-block on top of most indicators do? I looked up the documentation of these functions, but I don't understand what does it accomplish.    int    counted_bars=IndicatorCounted();//----   int limit=barsBack-counted_bars;   if(counted_bars>0)...
Here's what I'm looking for: A function to test how a trade would have went in the past, kind of like a strategy-tester on-the-fly, if you know what I mean. This is what I've written so far: double simulateTrade(datetime time,bool isBuy,double SL,double TP) { double PL; return (PL); }...
Dear MQL community i am running MT4 under Administrator and 32comptatibility mode with Vista64bit Dual CPU, 16GB RAM. a) scripts work b) indicators work but strategy simple like: int init() { return(0); } int deinit() { return(0); } int start() { PlaySound("ok.wav"); return(0); } does not work. Even
Just a heads up..... Commercial Networks Services..CNS has some veryserious problems. Barry although a very cordial guy....has a very badserver....During the last months their server has been locked up/unavailable on numerous occasions...had I not been monitoring myaccounts the losses would have...
[Deleted]
i want to use a limit order to close my trade but am stuck at the following point. if the limit order fails because price has moved beyond my limit order by more than 3 pips i would like it to delete the limit order and place a trailing stop instead. any thoughts here would greatly be appreciated. i...
[Deleted]
hey guys I need a little help with adding alert function into an custom indicator.This is the code of the indicator. I added the "NewBar" part to stop alerting at every tick and alert part at the end but the problem is that it alerts at every new bar. I would like it to alert me when indicator...
Hello, I'm trying to add horizontal lines at evenly spaced intervals to my chart but can't seem to find how to do it. I don't know if it's an indicator or something that's built into MT4 itself. The picture below shows exactly what I'm looking for, which is horizontal lines spaced 25 pips apart, i.e...
If we assume that the foreign exchange market is a closed system, i.e. money does not come from "nowhere" and does not disappear into "nowhere", then we can expect the effect of money supply overflow (redistribution of funds). In order to be able to compare different instruments, let us normalize
[Deleted]
Is there a way to compile to your EA to an .exe and have the metatrader call the .exe EA to execute the trade? I'd like to know of any good solutions to protect one's code. Thanks!
To the start of a Expert program in the MetaTrader normally two lines come in the window Journal: - loaded successfully - initialized When starting of my program comes often only „loaded successfully “. And the program does not start. Only after reasoning and new starting of the MetaTraders the...
[Deleted]
Hello, there's this new nokia N97 coming out. I would like to know if meta trader will work on it, it's a Symbian S60 5th generation system.
[Deleted]
  Dynamic Zone Rsi  (1)
Hello, I'm trying to find the .mq4 of the indicator: dynamic_zone_rsi (note the underscores, because there are indicators with similar names).I have the .exe file. I also have the .mq4 file of a very similar indicator (DynamicZoneRSI) but this one has a smaal problem...the MA on the rsi sometimes...
[Deleted]
Hello, i've noticed that if the value of an indicator has not changed, the line does not get displayed (there's gaps). How is it possible to fix this? Also i've noticed that Int doesnt always get cast to double as with other languages, such as: double foo = 100; bar = 100/foo; does not give the same...
  follow my signal  (1)
http://www.doshur.com/forex/ any suggesstion how to make my signal send to you?
[Deleted]
Hello, i have a little problem. I built an EA with a Expert-Advisor-Builder and I confound the command "Buy" with command "Sell". So now the EA does the opposite of what i had in mind. If he should buy, he sells and if he should sell he buys. How can I change "Buy" to "Sell" and "Sell" to "Buy" in...