The advisor does not put the Straddle (buy and sell) in at the proper time on InterbankFX charts. It was programmed it to put in a Buy Stop and Sell Stop simotaniously at the TimeAHour, TimeAMin. Can someone help with the problem?? I am willing to give the strategy once fixed I use to one who...
I'm getting an error when I try to use DoubleCCIWoodies.mq4 if anyone is familiar with that. I also get the same thing when I try to run XO Alert.mq4 It says, " 2006.05.16 21:35:07 DoubleCCI_Woodies EURUSD,M1: SetIndexBuffer function must be called from custom indicator only" Thanks.
MQL3 had a library that showed a statement and gave examples on how to use the statement in the program - Proper usage. Where the heck is this in MQL4??? I really need to find out? When I retype a statement name in the editor, a box opens up showing different other statements, but where the heck...
Hi,
I downloaded Windsor Brokers platform and am plaing with send_pending script with CFD. However when I execute it then I receive an error 'unknown error' and no order is placed. What does it mean? I can put a pending order by hand thou!
Another question, is it a way to discover CFD market from...
Hi Guys, How can I make an EA to excute the script file in the script folder... Thanks Babar
I was wondering how we can draw histogram on the chart or rather cover the candles with a specific colour. For example I'm trying to cover white candles with the green colour when the white candle is longer than 15 pips. Here is the code I've written and I don't know what's wrong with it. Any ideas?...
By the multiple requests of traders we started development of strategy optimizator, based on "genetic" algorithms. Release date - first of July, 2006.
Best Regards
Lenar
Hi All,
Does anyone please know if there is a way I can download the MQL4 documentation from the website? I can't see any download links. I would like to study the MQL4 language off-line if possible (e.g. whilst travelling). If the website details are unavailable for download are there any books...
[Deleted]
Made a buy/sell signal indicator using Williams %R. Go Long on Solid Green Up Arrow; Close the position on Hollow Green Down Arrow. Go Short on Solid Red Down Arrow; Close the position on Hollow Red Up Arrow. I haven't back or forward tested this yet. This works best with a volatility indicator like
Hi Slawa,
Is the following endless loop code ok?
while(IsStopped=false) { if (Bars<100 or IsConnected=false or IsTradeAllowed=false) return(0); .......do some processing here ie buy/sell conditions, place orders, etc. }
Is it ok to exit program if connection is broken? is this...
How come with the bands indicator, I can adjust the deviation to lets say 1.7 versus 2.0, but when I program the same, it will not recognize a deviation of the bands of 1.7. Instead it reads it at 1. I used the extern double BandsDeviation = 2.0; and then changed it to 1.7, but the programming is...
Hello,
I could not find out what "trade timeout" means. Can I get a trade timeout error message (error # 128) for a market order? Or can I only get trade timeout error message for pending orders?
Can you also please give me an example of when an order "times out"?
Thank you for your help...
[Deleted]
The advisor does not put the Straddle (buy and sell) in at the proper time on InterbankFX charts. It was programmed it to put in a Buy Stop and Sell Stop simotaniously at the TimeAHour, TimeAMin. Can someone help with the problem?? I am willing to give the strategy once fixed I use to one who fixes...
[Deleted]
Which function to use to have the value more high and more low of the 4 first bar one day old can imports the number of bar already made ? Thanks, best regard.
Hi, Here is USDJPY just before its last drop. I tried every indicator I have and none of them could predict the drop. Is anyone here can do that? I just delete the prices from the history (H1 data) changed the TF to 4H and come back to 1H to get this chart. Thanks Eli
Hi Slawa,
Yes, I have read and studied all the possible errors.
But your reference point (http:/docs.mql4.com/trading/errors) you told me to look at still does not specifically say what a "timeout error" is (it just states what i should do if i get the error) i need to understand first what the...
Hi GUys, How can I add script in EA so that it sends an email when ever there is a signal to BUY or SELL.... Thanks Babar
hello. are there any signal indicators that can be used with silver and or gold trading?? thanks
Hi Slawa,
If I try and place an order but order fails due to an execution error, can I resend same order straight away? For example if I get error number 4 (server busy) do i really have to wait "several minutes"? or can i just keep on trying to re-send order until it gets filled?
If I keep on...
Hi Slawa,
Reason I ask about error numbers is that in your moving average and MACD samples, you do not refer to different error messages and do some specific action.
For example, if i get error "trade server is busy", why do i have to wait several minutes before i try to send order again. Why do...
Hi guys, Wondering if anyone can help me out - I'm trying to write an EA that will be attached to the EURUSD chart, but want it occasionally to place a USDCHF trade as well as the EURUSD ones. Is this possible? I tried the following code: OrderSend("USDCHF",OP_BUY,Lots,Ask,3,StopLoss*Point...
I have read many threads but still can not find the indicator for histo_StepMA_Stoch as shown in this picture: http://i73.photobucket.com/albums/i214/moneyline/levels_2.gif Anybody can help. Thanks very very much!
Hi Guys, Can you please tell me how can i calculate the moving average of a moving average which is already on the chart.... Thanks Babar
Hi I have just got metatrader4 and I was wondering with metaeditor is it even remotly possible for it to read/parse emails and then put in the information or would I have to have a program running in unison which would parse the email and then send the information to metatrader If anyone has tried
Hiho! Some issues that give me a lot of concern. I would be very happy if some could answer them: 1. I want to create an EA that opens p. orders at specific day & hour (let's say Sunday opening). How it should look ? (DayOfWeek==0 && Hour()=00 doesnt work). Whatsmore I would like to open position...
Hi Guys, HOw can I amend an EA so that it places only 1 order when the BUY conditions are met....no matter if the position is open for days or even months....at the moment my EA is opening another BUY order when the TP is reached...I want it to wait for the next signal...and not to open another BUY...
Everytime I try to download a MQ4 file it downloads it as a HTM file so I can't put it in my custom indicator list to use on the charts. What am I doing wrong? Thank you in advance!
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.