Hello, I need someone who can progam an EA To roughly describe it: eur/usd, 1h candlestick chart, automatic Lot calculation pending on the account balance only buy or sell stop orders just to imagine how it should work a little insight: a buy order is executed when after an rising candle the bodys...
Why doesn't works? I need to close the position BUY when new bar is close below close earlier bar the same on SELL close then BAR close under the earlier close bar: if(OrdersTotal()>0){for(i=1; i<=OrdersTotal(); i++){ // Cycle searching in ordersif (OrderSelect(i-1...
Hi, when I draw a line into my chart, I want to calculate the actual price of my line, the price is only correct, when the left and/or the right point is in the near of the actual price, int x1 = ObjectGet(ObjectArray[i], OBJPROP_TIME1); double y1 = ObjectGet(ObjectArray[i], OBJPROP_PRICE1);int...
My EA has started causing the platform to crash. I don't think I've made any susbstantial changes to it, but suddenly it does it every time. I also get message under the Experts tab of the platform that the EA file is corrupted. However it compiles without any problems. Any ideas as to what this...
Hi all, is there the possibility to run 2 experts on the same graph? Can I write an expert in which I recall 2 experts? Thank you!
[Deleted]
Hi, I have coded an indicator (macount) to count the number consecutive high of another indicator(mafilter). but it behave very strangely. it look into the future bar for counting.. Now I'm confused about int limit, counted_bars=IndicatorCounted();if(counted_bars<0) return(-1);...
[Deleted]
Hello I'm looking formula similar to this for amibroker. Does anybody maybe have similar ? It can be a little different of course...i will be try to reprogramming. http://www.wisestocktrader.com/indicators/2464-bollinger-band-squeeze-highlighter-and-exploration Thx for help lukibest
[Deleted]
Can I get strategy tester results or save StrategyTester.htm file programmatically?
Currently my mql4 script serializes OHLC data to delimited string and passes it to a DLL which performs further analysis. The performance is not very good, so I am thinking about alternatives. Would writing historical data from OHLC buffers to a binary file in a format just like .hst files be any
Please can someone explain how to import indicators from Code Base and insert them into MetaEditor? This OUGHT to be a simple intuitive process but one cannot account for software writers... thank you
hi everybody, I develop little ea. I need to identify at the movement trade run or not? so what is the code for identify it? I grate appreciate who can help me to this Thanks.
Hello traders, I am using a simple EA with RSI and MA crossover as two indicators. But i want the EA to check for RSI condition only during certain hours of the day, no the whole day. Only MA crossover should be checked the whole day. If anyone could help me with it, it would be really helpful to
Order request sometimes not being dispatched to server, causing trade timeout error. Could be a bug.
(7)
Each order operation request (OrderSend, OrderModify, OrderClose) goes through a number of stages, with the first steps being display of the details in the Journal log and the transmission of the request to the server. However, it often seems that the request is never dispatched, and the order...
Hi all I need too communicate between two or more terminals. I decide to use registry for this issue. #define ERROR_SUCCESS 0 #define ERROR_INVALID_PARAMETER 87 #define HKEY_CURRENT_USER 0x80000001 #define HKEY_LOCAL_MACHINE 0x80000002 #define REG_SZ 1 #define REG_BINARY 3...
[Deleted]
Dear Sir, I find articles such as below: -------------------------------------------------- ----------------------------------- A trader has $ 1000 USD account, he places a buy order of 4000 units on EUR / USD, the which will give him on average $ 0.40 cents per 1 pip. Since 2% risk he is...
Pls check my description attached/
Strategy Tester doesnt seem to be giving correct results in the report, the numbers dont add up for instance this report states there was 100 consecutive wins totaling 107,000 but in the graph you can see it never went anywhere near that level. SymbolEURUSD (Euro vs US Dollar)Period15 Minutes (M15)...
[Deleted]
I have carefully put in the information of this Order Delay for entry. It is supposed to Delay the entry and then look for the Stochastics and RSI to be in an OverSold or OverBought zone. This HAS to be seperate from the main signal code.The reason is the Main code is more of a momentum and...
Hello all. I hope I am not going to ask something too silly but I am trying my best to learn the backtesting environment in MT4. I am trying to develop an EA and I am backtesting using a signal from an higher time frame that I trade on the 5 minute chart. The problem I have at the moment is that I...
I am looking for a TLB chart what is an offline chart. Does anyone know where I could get one - or would anyone be willing to code the TLB available in the Code Base to make it offline? Thanks
... yeah, i have this strange thing happening - whether i have the "Genetic Algorithms" box during optimization checked or not it still trots all mud meticulously one by one iterating all inputs. anyone has any idea why?.. ever seen anything like that? . I think that i had it once, and
[Deleted]
Hi, I have a script that scans through the last completed bar of the charts and indicates the price action bars like pin bar, outside bar, inside bar etc. the only problem i am facing is that when i run it and it access all charts one after the other for price action formation, sometimes it does...
(MQL4) How to find average daily move in PIPS only between 10:00 and 18:00 in the past year only?
(5)
Have you any IDEA ?
Want to delete pending orders of the particular symbol() alone(Where the EA is running) But the code given down deletes all other pending orders. Please give some idea to delete particular symbol's pending order alone. int start() { bool k; double...
[Deleted]
Hi, how do I declare variable x in this code: switch(x) { case 'A': Print("CASE A"); break; case 'B': case 'C': Print("CASE B or C"); break; default: Print("NOT A, B or C"); break; } int or string is wrong. Compiler return error. Variable x will be value one...
here you can see what I mean, this indicator should show the same price, because it is reading from a different timeframe, but it seems to have different prices. Indicator Link: http://www.35pip.com/metatrader-indicators/mtf-movingaverage-mq4/ Wanna see my code? /********************** 5026...
[Deleted]
Hi all, this is normally something simple but this time, after banging my head at several walls I still could not find a way to get the value output of this custom indicator attached to this post with the following settings: iCustom(NULL,0,"MTF_Moving_Average",1440,3,3,2,1,1); If you guys have any
Hi, I have a question. Is it possible to run an EA or something else that is only following a specific order or a group of orders so that it can for example change the stops? I've heard that it is easier using MT5 (true?) but unfortunately my broker doesn't support it yet. My idea is the following:...
Hello Ive upgraded my Mt4 as per request by my broker, but i got a msg from my bot maker that the bot is not compatible with the new version. How do I undo the upgrade?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.