MQL4 and MetaTrader 4 - page 1420

[Deleted]
  Really confused  (6)
Thank you for anyone who can help me. I've been working on this so long I believe My brain is just fried and I can't think straight. Please Notice the bolded red beginning of an if loop before saying if the ma3 doesn't equal the current stop loss that we should order modify. In the attached...
[Deleted]
I know nothing about writing code, but I piece mealed my way through writing my EA. I have one problem, my broker allows hedging, My system needs to open 1 stop order Buy above and one sell stop below the market but only seems to place one side. I think the error is here: -----> if(Ticket > 0) {...
I am experiencing a lot of Error 180s which I have not be able to prevent even when using Trade Context flagging and . I have been told to use Maximum Deviation but I can only find this on the form for placing a manual trade. Can anyone tell me how Metratrader assigns a value to Maximum Deviation so...
Pls what kind of error is this this days that dis-function or dis-able ordersend in EAs!
[Deleted]
Do you would know someone to say me if a stop loss negative it is equivalent to a positive profit? example .... extern int SL_Down_SELL=-3; //negative value extern int TP_Down_SELL=40; ..... OrderModify(OrderTicket(),OrderOpenPrice(),(SL_Down_SELL*Point),(TP_Down_SELL*Point),0,Red); ...... Thanx...
Actually I wanted to put this provocative question in a separate thread - as a result of discussion in the next thread . Beginner's intuition (often lame, but still not always) says that 20 is easier - and much easier. Especially if those 20 pips are achievable in a single trade. The intuition of
[Deleted]
I HAVE BEEN TESTING 3 DIFFERENT EXPERTS IN 7 DIFFERENT CURRIENCIES IN MY DEMO ACCOUNT. I IMPLEMENTED MAGIC NUMBERS TO DIFFERIENTIATE THE EXPERTS (3) AND THE INSTRUMENTS (7), OBTAINING A TOTAL OF 21 DIFFERENT MAGIC NUMBERS. THE EXPERTS WORK WELL INDEPENDENTLY. BUT, WHEN WORKING IN A MULTI EXPERT,...
[Deleted]
i have little experience with mql4 coding, but i had an idea... i want to program a code that will open 2 pending orders, one buy and one sell... the buy will open 15 points above where the pending order trade was placed, and the sell will open 15 points below. i would also like to add a solid stop...
[Deleted]
We are Europian Brouker firm, we are also Managaed accounts. If you are good EA´s, what make profits long time. We are indrest. But first we must test EA´s minimum 1 month. If that work well, we pay good % our wins you. Send me all detail here. paul.nylander@clipart.fi
Can anybody direct me to a PDF file or an article about how to Import reliable data, into mt4 platform, so I can achieve 99% modeling quality ?? This would be data that I would purchase from a company like CQG or Comstock, it might be 1 year or 3-5 yrs worth. I find this to be one very big weakness...
[Deleted]
Hi, I was hoping that someone could assist me with tweaking the following code. I've manipulated code originally posted by GGekko - for which I'm very grateful. I've included a chart for your information. The BLUE ARROWS are marking candles that are CLOSING HIGHER THAN THE PREVIOUS HIGH. The...
here is code to get Bar's begin time working on MTF GetTime =(iTime(Symbol(),60,i)); its OK how we get Bar's end time ? Thanks
Is it possible to access price data from metatrader from another program? Does MT4 interact with other software? I believe eSignal has this feature, where people can write their own software, tools and indicators, integrating with eSignal as the data provider.
[Deleted]
Coders & Traders: In my quest to build the best system I possibly can, I soundly believe the very best testing and analysis should be utilized. To diversify the data I use as well as the conditions for varying brokers, I have downloaded dozens of MT4 platforms from all different brokerages all...
[Deleted]
Hi, i have 1M EURUSD historical data from 1999. However when i run iBars("EURUSD",PERIOD_1M) i get always 1001 bars. Why is that? I want to retrieve the exact number of 1M bars i have in history data, what is the function to use or how it is done? Thanks in advance
I've been running into problems on some 5 digit (fractional pip) brokers. MarketInfo() variables such as Point and TickSize are not being reported correctly, and I've noticed this across different brokers. We all know that Point is hosed -- I had to write a special routine to find the actual point...
[Deleted]
Hi every body I have a question. How can I choose a specific order in EA? For example there is 3 open order such as EURUSD, GBPUSD and USDJPY and I want to close only EURUSD order in a specific time by EA. How can I select and how can I close it?
[Deleted]
Dear friends at Forum MQL4 Community. I am Tony, a very new member and I just joined this community. I have a very bad experience in Index trading before. Now, I need to stand up and fix the mess. I see some tehnical indicators, such as Fractal and Alligator. Here is the comment about Fractal. The...
hello How do you code an ma cross as and entry and exit and also have a Pivot based entry and exit or somthing similar. The idea is to have short medium and long period entry and exits systems in a single EA. How do you allocate the various entry and exits to the open and close order functions....
[Deleted]
  last price digit  (2)
I have tried search for this but it appears to be not working. I have learned alot using it and has helped with many questions in the past. Is it possible to change the color of just the last price digit. Ex.. 1.2345.. I would like to make the 5 a different color than the 1.234. I have done this...
[Deleted]
Not sure if allowed to post this so sorry moderators and you can pull the post if i'm in any breach. The sytem is The ultimate forex predictor If you are interested you can PM with any question,please do not rubbish me but feel free to post any coments on the system if you wish EDIT I have sent a...
Dear Co-clients/Co-traders, Pls kindly let me know if I am the only one experiencing ORDERSEND problems since monday this week? Likewise, the MT4 crashes while experts are running?
Hello, Here is a bit of code Print("High :",High[1]," Low :",Low[1],"Digits :",Digits); Print("Normalized High :",NormalizeDouble(High[1],Digits)," Nomalized Low :",NormalizeDouble(Low[1],Digits)); And here are the results I'm getting : 2009.08.01 00:02:05 TradingExpertv16 GBPUSD...
I'd really like to test a few pairs at the same time... I cannot do it myself... If you can help me to make a multicurrency EA) I will understand the essence of working with several pairs... I wrote it myself, for five digits... ...and took something from the forum...) description here)
Hello freinds, How I can use the WTI prices within my expert and an Indicator, So I can see signals for trades? Thankes for your responses.
[Deleted]
  Brokers and Data  (3)
Hello all: I have a wonderful EA I wrote but I'm having some problems: I’m doing some thorough testing and I’ve found that running my same EA on the same type of platform (PFG MT4) demo account, I get conflicting trades. One platform will execute an order (when it should) and with all the same...
I want to make an expert that writes price data at specific time intervals, but so far, it only loops when a new tick of data comes in. Is there any way that it will loop constantly keeping track of the time, and then write data, like every five mintues, for a five mintue chart, etc.?
[Deleted]
Hi All, 4 months ago i started to trade with forex using mt4 platform, one thing i don't get how to executu script on chart. I spent quite some time working as developer in C# and C++, so i am quite good with coding. thing is when I drag even the simpliest script on chart, nothing happens, no new...
[Deleted]
am a nigerian and just new in hearing of forex though am trying to demotrade but i dont still understand the whole thing and i have heard of robots,so please someone help me,which robot can i use?which brooker can i use?and if i get a brooker and rot how do i install,activate,open a position,and...
Hi guys, Does my EA work only if my MT4 platform is OPEN and connected to the internet? What if I lose connection or my laptop battery runs out? is there any way to put my EA on a chart and let it run without consumming electricity? I want to go automated while staying green :)