Download MetaTrader 5

MQL4 and MetaTrader 4 - page 678

To post a new topic, please log in or register
Guys, Could someone tell me how i can cut down first 15 minutes of data in the daily candles. Help someone. Regards
Hello, I'm trying to set my MACD/OsMA this way : But with MT4 I only get this: I want to set the MACD and the signal as a line and the OsMA as needles. Is this possible with MT4? (I used another software before and so I'm a newbie in MT4) Thanks. bimbes
hi,sorry for my english I have put this russian robot on mt4 youtradefx(I have a real account) with demo account it work well with microlot:0.01lot,with the same"setting than demo" it doesn't work no trade,please how to change than it will work well? my setting is on eur/usd ;0.01lot exponentlot:1...
i cant understand about that indicator can you explain about that indicator sir.....?
Is possible to open and read existing file (txt or csv) saved on my ftp server using MQL4 syntax ? If YES please for any example, how to do it.
My questions are: 1/. Where can I find when each markets are opened/closed? 2/. How to recognize the break-even on every trade using MQL4?
Hi, I have a few questions about the ZigZag indicator: How many bar it is repainting in maximum? What does the variables ExtDepth ExtDeviation ExtBackstep exactly mean? Thank you very much!
just a small error to fix and then I can keep working on this project. error is wrong parameter count I feel kinda rusty on this programming //+------------------------------------------------------------------+//|                                              Ordering Trades.mq4...
Dear all, Please advise us on the following questions. 1) I have this connection status in MT4 5243/2 kb. What does 5243 mean? What does 2 mean? 2) What is the optimal connection speed for news trading? Thanks.
Hi, Can anybody try to describe HOW TO write DLL using SharpDevelop 4.0.x.x for Meta Trader 4 ? I would like to code the SIMPLE function like the following and CALL it under expert advisor using MQL4 syntax. double costam(double a, int b, int c) { double d = a + (b * c); return (d); } Waiting for...
How define my own size position in the window "New Order"?
Given: int start() { bool bRc = false; { bool bRc = false; .... } So local variables are not local to their block? Unlike C.
I have read the book, the documentation and now reading some of the code base to learn more. I am coding lightly, but feel I'm just not getting it all fast enough. I understand I'm a new programmer, and know little with little experience, however I seem to have trouble designing code. Mainly because...
Hi, I have a trading system. Which is doing extremely well. It requires atleast 500K USD investment. I am looking for hedge funds to incorporate it. It trades across 28 currnecy pairs simultaneously. Typical equity curve is given in the below link. Please let me know if any hedge fund interested in...
If I want to modify a trade stoploss on a buy trade with a simple Ask - 0.0012 for example I am obviously leaving myself exposed for the trade to fail. Ok, if I want to ensure I do not get an error then I must consider the Spread, the Stoplevel and the freezelevel. (is there anything else I need to...
Hello. Is there some function to change lots quantities without having to select one by one? I mean, a function to say: open with 5 lots. If price falls to 1.2000, change number of lots to 2. Thanks in advance trader201 Escribe texto o la dirección de un sitio web, o bien, traduce un documento....
Hello MQL4 coders, Unfortunately the FileWrite() function lacks the flexibility to define the line number of the given file. Is there a way to write to / overwrite only specific lines in a file without overwriting all other lines or time consuming loops? Thanks for any suggestions or sample code!...
Any Idea why #56336942, the first pending order returns a 133 trade is disbled? Market order is placed just before the first pending order and works fine. The second pending fails with Invalid SL so trading is not disbled anymore? The SL/TP is 0, just like the first market order that worked? Maybe...
I was wondering what might be the best way to identify the open time of the bar the last order from the order history pool closed on. I need to do this so to identify which of the other orders in the history pool were closed on the same bar as the last order. I already coded to identify the last...
  MT4 Problems (1)
Hi I'm using MT4 on Windows XP SP3 running under Parallels Desktop 6 on a MacBook Pro. Although I can launch MT4 and connect to my trader server and account, I'm facing these problems: 1) I'm unable to change the period. By default it's on H4, and I'm unable to change to any of the other periods....
If I am interested in finding the price of a moving average -5 bars back instead of the current bar would I change the shift number to do it like below? MA1 = iMA(NULL,0,MA_Period,0,MODE_SMA,PRICE_CLOSE,-5); Ultimately I'm trying to find the price space between two points on a moving average so I...
Hallo, since i have installed the 402 version, my EA works lika a charm, now it don't open orders 'cause MT4 don't reach the event 'Minute()' try this: int start() { bool time_signal; string trade_min; if(Minute()<20) { time_signal = true; trade_min = "trade_min = true"; } else {...
Test run from 13 May 2011 to 7 Sept 2011. Know it is short period but planning to calibrate every week to latest data to deal with new market dynamics Bars in test106905Ticks modelled14358974Modelling quality25.00%Mismatched charts errors0Initial deposit10000.00Total net profit30255.79Gross...
I would like to display the pip of symbol. i want to know how i look at the screen to apply. However, Without specifying symbol in code Is there any way to judge what is symbol pip(0.0001) automatically?
i've been doing an EA until now when i realised something simple that seems to be importanthow does an expert advisor work?it only run the code we programmed every tick / price move? or just does it run every new bar come out? or every seconds?
Hi guy, I have a problem and I dont see the solution. I have realized some EAs on a MT4 platform and they run very well together. Then, I realized new EAs on a second MT4 platform and also they run very well together. Then, I decided to put all the EAs in a single MT4 platform, one platform for all...
hi i am looking for the following specific scripts buy at market must have the following input options. 1. lot-size : 0.01 ...... this is not to be a permanant setting. this is a setting that must be numerical. 2. lot-increase ... 0 this setting will be used to increase the lot size if...
Hello someone can help me? I would like to make a simple script that opens a buy when the price breaks up the day before and opening a sell when the price breaks the low of the previous candle. I just want to set the stop loss and take profit, do not want any other control. Thanks
I want my ea work with wpr.And I want it work when previous high is -1 for examle then when it goes -99 buy,or last down is -99 when it goes -1 sell..
1...671672673674675676677678679680681682683684685...1245