MQL4 and MetaTrader 4 - page 1358

[Deleted]
I have been coding an indicator to calculate the PIP difference between two lines. When the indicator is initialized, two lines are drawn on the screen, and a label is set on the lower right corner of the screen, showing the PIP difference between the two lines. Later when I drag any of the lines,...
[Deleted]
i got tired of always typing out all the values for creating a label, so i created a function for it, then you can just add in your own code into it here is the code //===========================Label Function================================ void fLabel(string lblname,int x,int y,string window,...
[Deleted]
Hi I have three questions: 1) The server I use for MetaTrader is the Alpari US Demo, is this live data? 2) Can I connect it to TWS instead of ALpari? 3) The time zone is using UK time or something weird... anyway I can change it to my specific time zone? Any help is appreciated! Thanks in advance
[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 (for which I am willing to pay): 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...
[Deleted]
Anyone know any GMT +8 time zone servers that are free? Thanks in advance! If not any servers in Eastern time zone that are free would be greatly appreciated
[Deleted]
I am looking for some help with the code for the Keltner Channels. I figured out how to base it off of an Exp Moving Avg. However, how do I define a specific offset of the upper and lower keltner channel bands from the middle keltner band (Exp Moving Avg)? Any ideas would be helpful.. thank you
I'm new at programming so any help would be appreciated. I'm trying to build a EA using the IINMARROWS indicator with the MACD Sample EA.I called it rk-IINMA-sample. Not so simple. I got it to compile but it won't trade. Any ideas where I went wrong?? I'm attaching the Broken EA, if need be I'll
MQLmagazine.com's january edition is online! This edition's leading article addresses more profound matters about forex, how it came to be the way it is, why it developed so and what does MT5 has to do with the future of retail trading. Other articles continue the presentation of orders and...
[Deleted]
Hi all I've had meta trader running today already but it has ceased trading. Currently in the top left of the chart it says Inactive trading Server time=09:32 GMT= 16:32. ( 16.32 is the time where I am in Australia ). My inputs are Trading Session1 09:00-22:00 Trading Session2 24:00-24:00 Can...
[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...