Hi All
Can any one help?
I dont know how to get two charts up on two monitors at the same time?
Any advice?
Thanks
Andrew
I am trying to attach an expert adviser to a 4hr chart and a second expert adviser to the daily chart in the same currency.
Both experts refer to each other before making a trade. However, when I attach the first expert to the 4hr chart it also opens in all the other timeframes as well. If I...
Hi I have one question I am using the parabolic to jus close trades only does anybody know the code to close the Parabolic bar Example of what I need to do is: On open long when the parabolic opens new dot on short close trade On open short when the parabolic opens new dot on long close trade MT-3
Hi All, Well I found a handy feature in the backtester. Once you've done a backtest and you're on the graph page, you can double click on a particular trade line and it will transport you over to the Result page with the particular trade highlighted. I wonder what other hidden wonders lurk under the...
int init() {//---- double adx,ma5,maxp13,maxp21; // the graphs value ma5=iMA(NULL,PERIOD_H1,5,0,MODE_SMA,PRICE_CLOSE,0); maxp13=iMA(NULL,PERIOD_H1,13,0,MODE_EMA,PRICE_CLOSE,0); maxp21=iMA(NULL,PERIOD_H1,21,0,MODE_EMA,PRICE_CLOSE,0); adx=iADX(NULL,PERIOD_H1,14,PRICE_CLOSE,0,0);...
Hey Guys,
Any idea why a published statement is different to a saved statement?
The saved statements I seem to get include a 2nd line for every trade entry which only has the magic number and comment field.
For the sake of easy reading for long statements, I'd prefer to be able to choose the type...
I'm using MT3 (I think). MT4 crashes my computer, but that's another rant. I tried to post a SetOrder and it fails. The code is: input: cPriceEnter(0); input: Spread(0); input: Slippage(0); var: cPriceStop(0),cPriceProfit(0); cPriceStop = cPriceEnter + (StopLoss * Point); cPriceProfit = cPriceEnter
Hi,
does anybody know if it is possible to buy for example 2 lot and tell the SW to T/P 1 lot at a certain value, set S/L to the old Buy and let the other position run?
I find MetaTrader's MACD indicator value is different from that of other charting programs, please compare EUR/USD daily chart MACD with that of other charting programs, is it a bug or I missed something? GT/Manpo
When debugging experts, you obvious have a certian degree of reliance on the 'Expert' tab in the Terminal. I find the constant scrolling down (especially if you also work in other tabs) to be a little annoying and cumbersome.
Is it possible to have a right-click option 'Flush log to Disk' which,...
[Deleted]
Here is what I am trying to do on my code if on fresh open trade the narket goes the other direction i want to add a reversal so that on buy if the stoch goes below 50 it will reverse on sell if the stoch goes above 50 it will buy And when the wma amd sma cross it will close the trade on wma 5 and...
Here is what I am trying to do on my code if on fresh open trade the market goes the other direction i want to add a reversal so that on buy if the stoch goes below 50 it will reverse on sell if the stoch goes above 50 it will buy
And when the wma amd sma cross it will close the trade on wma 5 and...
We need some help from clever people...
We wrote a new expert advisor but...
1. We keep on getting a message "invalid price"
2. We get lots of Error 138 - Requote.
Thanks!
Benna
benwiid at mweb dot co dot za
There's still an error in the historic trades. I just close a profitable trade, but I don't see it in the historic trades window. My account balance in my historic trades windows reades $5105.05 and my account balance in my open positions window reades $5145.05. Even when I select "show all...
Hi MetaQuotes team,
I have a few suggestions for MT4.
I fully understand most/all of my suggestions can be accomplished by
some coding. I'm just looking for things to simplify coding.
Before I start none of the below is meant as an insult.
Just trying to help improving MT4. Which I think is in...
Does anybody have a list of the brokers that offer trading live (demo and real accounts) on the new Metatrader 4 platform? Thank you
How would you program this in your Zero Code to include a condition where there was a crossover in the past, the move continued and is now retreating and the trailing stop will close the position? I know there is a close feature but I am not sure how to program the trailing stop into the program?...
Occasionally, when I test an expert in the tester, an order will be triggered that should not be triggered at all according to the code. Or an exit will occur that should not occur. It seems to be random in its occurence, but when it occurs I get the same results test after test. I know that the
When I right click on the chart windows and then go to Trading, whats with the Buy Limit and Sell Stop orders that are there automaticaly. What are they calculated on??
Thanks
I used the ZeroCode to create this simple expert advisor - It compiles nice, but does not buy or sell?? Totally confused! //*---------------------------------------------------------------------------------------------------------*\ // This MQL is automatically generated by FXFisherman ZeroCode v1...
[Deleted]
Hi Scorpian thanks for you helpon the scripting I almost have it where I what it except I am trying add this function Hey thanks for your recent help I just have one more variable that I want to add and can't figure out how to do it I want when the wma and the sma cross to have a 5 pip waiting...
I have found this great pivot line code. It allows user to specify offset between GMT and broker server time . The only problem is that it does not recognize weekends. So, forn Monday the lines will not be correct and will be in a very narrow range. Please help me fix this proble
my OrderSend code like this: ... dealPrice = Ask - 15*Point; stopPrice = iSAR(NULL,0,sarStep,0.4,0) - 15*Point; profitPrice = dealPrice+120*Point; dealTypeColor = UPCOLOR; ticket=OrderSend(Symbol(),OP_BUYLIMIT,1,dealPrice,0,stopPrice,profitPrice,"crossReverse",16384,CurTime()+ 7200,dealTypeColor);
Greetings all, I am after some sort of code that will allow the expert to trade only for one week out of every month.. So for example I want my expert to trade the 3rd week of every month only. This is for backtesting purposes to see if any weeks of each month are better for my system than others....
Scorpion, I heard you have some sort of tick by tick backtester. I would like to backtest my MQL expert advisor on it. Interbankfx trade platform has one, but it does not even come close to what the program does in realtime trading - Very dissappointing. I would love to try yours. I contacted...
hi
the values that retuend from the functiom iADX are not equals to the values that diplayes in the graph window,
im using
double adx;
adx=iADX(NULL,PERIOD_H1,14,PRICE_HIGH,0 or 1 or 2,0); // 0 ot 1 or 2 to get the value of the 3 graphs
what's wrong with that??
[Deleted]
Check out https://www.mql5.com/go?link=http://www.gordago.com/ Gordago Stock Optimizer supposedly does ZeroCode stuff for MT4 - pity you can't gauge it's capabilities unless you pay them $USD29 first though. The interface 'looks' good
Hi all, I'm looking for a piece of code that finds out if a stoploss was hit so my EA can take action. Alternatively: How can know the price at which the order closed? The real closing price; not the prefered one.

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.