MQL4 and MetaTrader 4 - page 1358

[Deleted]
Hi everybody I need a little help about this simple EA. Wander if anyone can just add a stop loss function in. Nothing else. Ivan-E mail: ivn56stn@yahoo .com
Hello there, Sorry for asking about help but I'm still trying to learn how to creat my own "Robot" What I'm trying to creat is like that Pair GBP/JPY Chart 5Min ((Buy)) When "BOTH" RSI Period 14 touch line 20 Stochastic Slow - period 14 -24 touch line 20 ((Sell)) When "BOTH" RSI Period 14 touch...
[Deleted]
Hi brothers How can I get or which function get the time of high price ? How can I get the time of the current bar (like if period = 60, how many minutes elapsed right now ) ? Thank you and God bless you
I'm successfully publishing my accounts to a web site, however, is there a way to include the balance/equity graph with the statement?
I have been doing some experimentation to see how this function works. I have noticed that SendFTP() halts code until sending is finished and true/false is returned (please correct me if this is not so), hence it's not very good for large files and generally I don't like the idea of it halting code...
Is there a way to code failrure swinsgs? I mean I want to identify failure swings on the chart thru coding.
[Deleted]
I need someone to create an alert for me please. This is the first step towards creating a possible EA with my system. But I would rather get the alert first, then manually forward-test my system, create all the guidelines about MM, SL etc..., fine tune it and eventually go for an EA. Since I am not...
Hi Programmers! I would like to get the last write time of a file. I tried this code: #import "kernel32.dll"   int _lopen  (string path, int of);   int _lclose (int handle);   int GetFileTime (int hFile, int lpCreationTime, int lpLastAccessTime,  int lpLastWriteTime );int handle = _lopen("C...
[Deleted]
How can I execute the Ordersend command without a tick? I want to open the new order without no tick signal Compulsorily
[Deleted]
  EA auto trades  (2)
My EA is running very successfully. Only pronlem I find is that having limited the EA to 2 orders it tends to open both within 3 pips every time. (EUR/USD). Can anyone tell me why this happens and how I can rectify the problem?
  automated trade  (2)
I have been testing various automated trade systems and no matter how i set them to trade i seem to take more loses then win can any assist me in how to set them up so they profit more then they lose. robot 1. pips leader all i can get is the signals it provides no auto trade robot 2. martin...
Hi Guys: I would like to see who will be willing to help building this strategy on an EA for MetaTrader. The whole description is in Spanish, let me know if you need help with the translation. Is an amazing strategy, almost never loses getting huge profits.....but unfortunately very very difficult...
[Deleted]
  HELP NEEDED~!  (1)
Hi pro coders, Mov(RSI(22),22,S) Simple Moving Average (22 periods) of RSI(22 periods) Can someone help me code this ?? thanxxxxx
I am using SendMail() normally and get this error. I have verified by printing the strings I have passed to the the function that they are initialized properly. Funny thing is the mail is sent just fine (including the subject and the text), but when I retrieve last error via GetLastError() it...
[Deleted]
I need help creating an ea, or if someone that knows how to do it could do it that would be better. It shouldn't be very difficult for a seasoned metatrader programmer. Simply put it should allow the user to enter a long or short position, and when the position is in a profit set a takeprofit at...
Check this out. When I use iOpen/iClose/iLow/iHigh I get 2 or 4 digitis returned depending on currency - eurusd 1.4320 usdjpy 90.21 BUT In reality the price on the chart is 5 digits! That is, they include pipettes! So how come that iClose and the rest cant pick up the pipette!!!? Regards
[Deleted]
Hi all. I need to do a very simple task, to draw a line that connects 2 object i drew on the screen. These 2 objects represent the open and close of a trade. I tried almost all possible object, but i could not achieve this task. ( the resulty shoukd be similar to the line that the terminal draws...
[Deleted]
Hi I just downloaded metatrader and I'm a total newbie at it. However I was hoping someone might be able to help me with the following: I am trying to analyze amongst my data (over 10k+ bars of 30 min data) how often a currency will shoot straight up 300 pips or more without retracing at least 50...
[Deleted]
Hello all, My first time post to the forum, would really like someone to explain what I'm doing wrong here. I have an custom written EA using M30. Currently when I try and get the value of Open[0] for the current candle lets say it returns 1.4578. Then I go for the value of Close[0] and its the same...
Hi. Recently I encounter the News Ternimal Tab giving unknown / weird language. May I know have anyone encounter this or have a solution? I have attached a screenshot. Tks a lot for any advise or solution! :)
Here is the thing. I have 2 systems running at the same time. One of them is LIVE DEMO Account (right picture) with fake money and the other LIVE REAL Account (left picture) with real money. Take a look at today morning. It is a chart of Polish stock exchange index WIG20. Both had order open with a...
  Looking for some ideas/help  (17   1 2)
Hello All, I built a trailing stop strategy that utilizes ever increasing timeframes to determine the placement of the stop. For example, a buy tradeis opened on the 5 min chart and once the low of the last bar is abovethe order open price, it (and subsequent bars) is/are used as the stoploss (never...
Hi, I'm a newbie in here so i need some help. I have an EA that trades when the market opens at sundays. The problem with the EA is that it also take trades during the week and i don't want that. I want it to work like this: extern int StartDay="sunday" extern int StartTime="23:00" extern int
[Deleted]
Hi There, I want to use the Bollinger Bands indicator for MetaTrador4 that is just called 'BANDS' as this indicator allows me to input numbers that Bollinger Bands wont. 1. I want to know know the code that will enable me to remove the centre band as when I add 'BANDS' to my charts, three bands...
Hello. I just wanted to share about a solution I have found. When you want to trade several account with one master account, and use it with EA, there are not very good solutuions for that (and I don't talking about the amount of solutions). What I have found, is a great solution for that. The...
Does an EAuse the information from the Data Set or from the graphical representation ofit on the chart for calculations?
Hi Programmers! There is an example article here: File Operations via WinAPI I would like to use the WriteFile() function based on kernel32.dll for exchange the whole content of the editing file. So, I don't want to append some text or replace some text, but I want to delete all characters of the...
[Deleted]
Hi, in a batch script I am starting the terminal.exe via command line in the strategy tester mode. After the report is stored the terminal window closes. Currently, the terminal window opens and starts the strategy tester starts in visual mode. I am only interested in the report, so a quicker...
[Deleted]
Just new to MetaTrader any help would be greatly appreciated.. Im trying to use an EA but nothing is happening because my demo money is not appearing in the balance so I am assuming that this is why it has not been trading for several days?????????????
[Deleted]
//+------------------------------------------------------------------+ //| warrenmac.mq4 | //| Copyright © 2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net |...