hello, friends, i met a problem when compiling the code below(abstracted): it always shows there are 'order send error 3',from the error codes, i can find that error 3 means 'Invalid trade parameters', i've check with the every parameter within OrderSend(symbol,OP_BUYSTOP,Lots_New,OpenPrice...
I would like to draw 4 short trendlines of about 4 candles width backwards from the current candle at 4 levels. Any ideas? I also want it to leave other lines on the chart untouched. Can I do this with a script because I only want it to draw the lines once depending on what I enter for the inputevel...
EA vs Indicator question.... I have this indicator, (.ex4) and I would like to attache it to my EA, but I dont know if it has External parameters available. All I can detect is Alerts comming out of it from time to time. Is there a way I could find out ? (about the Parameters) Right now im doing...
[Deleted]
XOdiagram1 first input: Boxsize 36, Reverseal Box 3, Candles 3000 Second Input:58,3,3000 Check the lenth of Spring green and red color if it is long bar it mean high movement/ sort slow movement check 58 for sort term trend
[Deleted]
Hello there, in order to optimize external variables' setting of an EA, I would like to write a script which sets those parameters ' value, calls and executes the EA. The EA every time writes its results into a file. Ideally, I could even set the security the EA is tested on from externally. Does
[Deleted]
Okay, this is driving me nuts! How can I get ordersend to work when bid equals a moving average!? Can anyone put the code here so I can figure this out! any help is much appreciated...... if(MarketInfo(Symbol(),MODE_BID)==MA) { OrderSend(Symbol(),OP_SELL,etc...... MA is my moving average
-
Hi fellow traders and programmers, recently I have been evolving the idea of creating a Forex team. Finally, concrete plans have formed and I managed to fit this idea into my schedule. What I am imagining is the following: We form a group of 4-5 people including both programmers and traders. In...
[Deleted]
error unable to retrieve authenication code.. what could this be caused by, using metatrader with megadroid? please help, dont know will it still trade if this error is showing in the status part of the map?
[Deleted]
Hi Where can I can find the terms an condition associated with the MT4 platform? In particular I would like to know the situation regarding commercial use by selling your own EAs to third-parties. I see there are commercial EAs available online, so I'm assuming there is a way... Regards, Helge
[Deleted]
Hi guys, wonder if someone can give some clarification....i was always under the impression that an indicator can only have 8 buffers.... but this indy has (it seems, i might be wrong) 12 buffers. My problem is that I am trying to call the values of 2 of the lines in this indy...(have done this sort...
I have been back testing an EA I have been working on. I have been getting some good results as you can see from the test below. I cannot find any losers, and there are only one maybe two trades open when I get to the end of the run. Notice the steep drop at the end of the test. It is giving me...
Symbol GBPUSD (Great Britain Pound vs US Dollar) Period 1 Minute (M1) 2009.04.13 00:01 - 2009.05.13 23:59 (2009.04.13 - 2009.05.14) Model All ticks (most accurate method based on all smallest available timeframes) Bars in history 33229 Modelled ticks 950072 Modeling quality 25.00% Chart mismatch
Hello, I seach somebody hoe wants to invest a sum beginn at 400 Euro in a good EA programm that I have found, it is not a EA like one that is sell to everybody over the internet, make good performance like 100% in 2 day till a week, no martingale is used. But at moment I dont have much money to buy...
Is there a way to list the current times for London, NY, Japan, Europe in an indicator on the right hand side of the screen?
Hi there, I am trying something simple: To draw on the 10:00 AM candle a rectangle spanning from the High of the first candle to the Low of the second (@ 11:00 AM). I am using the below code, but not working, no rectangle is appearing - cod below:...
[Deleted]
Could you provide a function like OrderInformation() that retrieves the same information as OrderPrint() puts to logfile ? thank you (in the event of..)
[Deleted]
Hi Is there a way to save an array in Global Variables? I don't think MT4 has that ability. Any alternatives to access a Global (alike) array by multiple EAs? Thanks Pankaj
Hello there, I'm coding an EA, but have the problem of the EA keep opening orders after a trade is close as long as the conditions are met. (i.e. supose 2 MA lines when cross is the condition to get in the trade. The EA opens a trade, and if it gets closed on its TP or whatever value, the EA will...
[Deleted]
Hello, I would like to know something about the function Ordersend(). When I write : ticket=OrderSend(Symbol(),OP_BUY,1,Ask,3,StopLoss,ProfitTarget,"My order #1",16384,0,Green); How many orders this function delivers ? 1 or 3 (one executed order, and two pending orders ? ) Is it the same as this ?...
I need to be able to distinguish between normal buy and sell orders and balance deposits and withdrawals in the order history. Can some please tell me what the order type numbers are for deposits and withdrawals? I checked this documentation page but it's not listed.
I am using a loop to go through every object and deleting and creating objects while in the loop, and am having some difficulties. If I delete an object, what happens to the index array? If I delete an object with an index of 5, for example, would all object previously with an index of 6 and over...
[Deleted]
hi guys, I have read about how to code indicators and can do quite a bit with them BUT I am at a loss with what i am trying to do now.... can some one please help me understand how to code and indy for a seperate window that will display values instead of lines or histgrams... For E.g :...
hey guys, i get this error: stopped because of stop out how can i calculate how many trades i can open to not get in this error? my trades have are using stoploss. best regards, mike
does anyone have a buy and sell method that can handle any issue that any broker may throw at you? I ask this because I have found that there are so many ways a broker can kill a trade by requiring that you do things like take a trade then modify it afterwards. then comes the freeze d uration....
[Deleted]
Hi, I am trying to build a script that prints some info on the instruments when run, but I have a small problem. When running bidPLN=iClose("USDPLN",PERIOD_M1,0); for the first time I get no quote. (bidPLN=0). USDPLN isn't quoted on request, it is automatic. I get the same error when using another...
As an old stock trader, I would set my stops at 5% below trade entry and TakeProfit 20% above trade entry. I am attampting to do something like this here, but my numbers are not coming out right. I want to do this for buys and sells and on any currency pair I apply it too, but still having...
[Deleted]
can anyone see why this EA wont take a trade? i cant see anything wrong but maybe I ave been staring at it too long and cant see the wood for the trees... please help. I will add the EA and the indy it uses...
[Deleted]
Foreword. Having crossed the threshold of the fourth decade, I want to share my observations about trading on Forex market. First of all, to protect those who have just fallen into the net of the Big Game from disappointing losses. I tried to present the material as simply and easily as possible
Can anybody help me? tks a lot. About error shows "zero divide" when uploading my indicator to EA
(7)
Within the strategy testor, when i run my EA, every time it show the error code in the Journal like this: "QWYSC EURUSD daily: load successfully QWYSC EURUSD daily: zero divide" QWYSC is the name of my indicator. however, if i add my EA into the EURUSD, in the journal, it shows no error: "Custom...
Hi, I would need to change the data in the .srv file configuration, I need to change the Broker IP address to a local Ip Address (ie 127.0.0.1) this because I need to tunnel the connection due firewall protection. I can't use the proxy because the firewall will block the destination IP, if I...

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.