MQL4 and MetaTrader 4 - page 1219

[Deleted]
Hello and wish a very happy new year in advance. I'm trying to draw a line joining the highest points and lowest points among the last fifty bars, so as to create a channel or a triangle, whatever it may form. Can anyone simplify the use of ObjectCreate(), ObjectSet(), etc... which will be required...
[Deleted]
Hello, Is it possible to change the size of fonts that display price? It's very painful to watch (I am aware of magnified price indicator, but it shows current price only). Can this be added to the next mt4 update?
  Help with Script  (4)
I am new at this and tried the following from the book and don't know how to fix it. Can someone help please. EURUSD //-------------------------------------------------------------------- // simpleopen.mq4 // The code should be used for educational purpose only....
[Deleted]
求花画圆的手动指标,有那位师傅有呀给一个,谢谢.
[Deleted]
Hello friends in coding: I am new to the game of coding, and have been experimenting with monitoring trailing stops internal to the EA, and then closing whatever open order there is when the internal Trailing Stop calculation triggers and OrderClose. The attached code begins first by opening a...
After starting Terminal.exe, MT4 has chewed up 1 hour CPU (almost same as elapsed) and not actually started up (no window visible, no task in task bar). It's chewing 50% on twin core (so one core pretty much solid usage) Terminal.exe version = 4.0.0.229 PF Delta usually 0 & peaking at 3 (i.e. not...
I've been trying to get this EA to close (losing) trades at anytime (that the StopLoss is reached) and not just at the end/beginning of a new bar as it currently does. This often results in losing trades taking heavy losses that I could avoid IF I can get the EA to close out these (losing) trades...
[Deleted]
sorry my english I want to create a earobot based on a technical system. the earobot should open a position and each -28 pips should open another position with the lot doubled compared to before. all this until you get to TP the last open position. The TP should be 31 pips. 5000 € from a starting...
  ea pips4idiots  (1)
I have purchased pips4idiots and had it installed by forexvps using metatrader4 platform. I have a 'smiley face' and forexvps confirm that the ea is insralled and working correctly but I have not had any buy/sell instructios and it has been nearly three weeks. Can you please help? Many thanks Don
[Deleted]
Hi. I'm from the forex-tsd forum and I am trying to make a scalping EA work, but i need some help. I cant make it trading, could someone help me please? See Scalper_Code.txt.
[Deleted]
Hello: Experienced coder here in HTML and CSS yet I'm new to MQL4 and studying / learning as I go. Have been testing the script below with success, however when trying to use S/Ls and T/Ps, I receive the Error 130 - Invalid Stops message and orders will not go through. If any coders with more...
Is Automated Currency Trading beneficial for earn money online or not,if yes than how.......... ACT
[Deleted]
Hi Pros, I downloaded some history data for Futures from Alpari UK, like copper, corn.................. although the data could go back to year 2000, it is obviously much smaller, and less accurate than the forex data. Does anybody know how to test the history data in futures ? Thanks a lot!
When I save a template, dates parameters are saved not under classical yy.mm.dd but under a number. I did a search on Internet and can't find how to convert from date string format to this date number format. Can someone tell me how or points to an article, thanks and Happy Year
Hello, ive been studying the MQL4 tutorial and now at a level that i can start to experiement with changing code to learn on a active simple EA. Ive tried running the EA tradingexpert.mq4 on the book tutorial, on my demo with various currency pairs but i can not get the EA to execute orders. It...
I was breaking my head trying to do a very simple thing: Change an arrow style for a line style. I usually change only the SetIndexStyle, but this time it didn’t work, and the indicator disappear. Do you know where my mistake is? #property indicator_separate_window#property indicator_buffers...
[Deleted]
Sorry to ruin the party.. all these EAs are pure crap. HiRider who is supposedly the best one is highly optimized with its optimized parameters hidden inside the DLL. Do you guys remember Forex Shocker which when released it had optimization for every month going back to 2006? The same is true...
[Deleted]
I am a complete newbie at The Forex Market and it seems overwhelming of where to begin. Is there such a thing as someone teaching you or mentoring you to do this for a percentage of the profits? Similar to a franchise is what I am thinking, is this not a doable thing? So much hype and fluff on this...
[Deleted]
I am looking at EURUSD chart. There are big gaps of uncharted data. For example: There is data for 10th of Dec 2010. Next block is for 17th of Dec. This is just one example.. I have already found a few cases of missing history data. How can construction and optimization of models be done with...
[Deleted]
I have some Confuse: there are two tickets: buy EU/USD open price :13120,2 lots buy EU/USD open price :1.3140, 4 lots and the price is 1.3150 now, so : AccountProfit () =?? (if) (1.3150-1.3120)*2x1000+(1.3150-1.3140)*4*1000=10000? (if need to Xlots) OrderProfit( )=?? ( if) (1.3150-1.3120)*2x1000...
[Deleted]
I am testing a program and cannot get either Print or Alert to show anything anywhere. Does anyone else experience this?
I'm having trouble how to make the code for EA so always open and close order every 2 minutes. Open posisition just only one order. Thanks before
Need help using the following codes. sxTed: Jon this function issues unique numbers //+------------------------------------------------------------------+//| Function..: SequenceNumber                                       |//| Purpose...: Generate a sequential number.                        |//|...
Currently we have default time frame of M1, M5, M15, M30, H1, H4, D1, W1, and MN. Does anyone know how to set additional time frame for H2 (Two hour graph) and H8 (Eight hour graph) ?? Thank you
[Deleted]
  Newbie Question  (3)
I have just started using MT4. I have spent a while experimenting with the program. I have used quite a few different trading platforms in the past but I cant find a section which shows you open trades,historical trades or account balance, any feedback appreciated.
  Forex strategies  (112   1 2 3 4 5 ... 11 12)
Forex strategies. If 90% of traders using the most sophisticated strategies lose, then what is the point? It turns out that the best strategy is to trade in the opposite direction from the signals of any strategy? Regards - Sergey Sartakov. It was noticed here that it is as difficult to build a bad
New article Create your own Market Watch using the Standard Library Classes is published: The new MetaTrader 5 client terminal and the MQL5 Language provides new opportunities for presenting visual information to the trader. In this article, we propose a universal and extensible set of classes,...
[Deleted]
int last_closed_order_ticket;   int last_closed_time = 0;   for(int k=9;k>=0;k--) {      if(OrderSelect(k,SELECT_BY_POS,MODE_HISTORY)) {         if(OrderCloseTime()>last_closed_time)         {         last_closed_time=OrderCloseTime();         last_closed_order_ticket=OrderTicket();...
  A real question  (98   1 2 3 4 5 ... 9 10)
Good evening gentlemen, I want to say at once, I am new to mql4. Metatrader 4 has " Data window " (<Ctrl>+<D>), could you please tell me if there is a way to get indicator values from there? I really hope for a quick and comprehensive reply
Hi, I wrote indicator which works many with bar number. Example of code is below: for (Bar = limit; Bar >= 0; Bar--) //all bar cycle { //some code here for (int i=4; i>=2; i--) //shifting Highs and Bar Numbers in Array { HighBar[i] = HighBar[i-1];...