MQL4 and MetaTrader 4 - page 463

To post a new topic, please log in or register
I'm wondering is there away to add custom indicators to MT4 android version ! If we could do that, is there away to covert mq4 indicators or make them work on MT4 android.. the idea I have few indicators on my MT4, just wanna add them to my smart phone  ... Thanks in advance....   
Sorry this may be considered off-topic since it is not about MQL4 but I need some help on the workings of this forum itself. I sometimes forget to subscribe to the Topic on which I my have posted a comment and then do not remember if I have anything pending issues. How do I find all topics on which...
I made a function ArrayPrepend() that insert a value in the first element [0] of an array shifting the values already present down by 1. (the last element is lost) Currently I need 2 different functions to do this, because ArrayPrepend() only accept arrays of the declared type: void...
Hello everybody. I am trying to code a EA: x = close current - close at 5 minute ago. x>30pips ->buy x stoploss=30pips, takeprofit=80pips, trailing stop = 30pips. Time frame 4 hour. The problem: how to describe close price at 5 minutes ago in mt4 ? The close price at 5 minutes ago will change value...
i look the documantation and i find this dy=MathAbs(dx); z=MathPow(x,y); then i don't understand what means these ? MathPow(x,y); ??? MathAbs(x-y) ; ???? someone help me ? i don't know what these are means ?
I want the EA to place two opposite pending orders in order to what I put below but it makes just the one(first) pending order in both YELLOW or WHITE case. For example in the YELLOW case the EA would place just SELLSTOP(1.2). Please help if know my mistake.         if (type == OP_BUY && level <...
Hi, every time I test my code, the results look like this (see picture). The prices used by the OrderSend / OrderClose function are wrong. As you can see the expert does not Open or Close many Orders at the current market price but uses a price far above it. Does any of you know how to solve...
hi friends and metatrader admin,,,how we can find out thta in this many metatrader broker,,witch is online and witch is not connect to market,this is realy hard problem to us that cant find out witch broker is realy connect to market! is there any way?
USD/IDR MT4 Not Supported???
Hello everybody, This is my new post, I'm really new at this community. I'm still learning but well, this is my problem: I recently discovered the Comment() function that was and is really helpful for me. I've been using it since I discovered it without any problems. On the one hand, I'm a fan of...
https://www.mql5.com/en/articles/219
hi, maybe some one can help me to set icustom correctly fot this indicator? so it could do for example --> if(iCustom..........)<ask Print ("price is above")..... thank You indi: #property indicator_chart_window#property indicator_buffers 4#property indicator_color1 Black#property indicator_color2...
Hi Forum, I use the MetaTrader on two Monitors with many small charts. When I maximize one chart, it is stretched over two monitors and I hate that. So my idea was to create a script (which could be executed with a hot key) to stretch the active chart only to one monitor. Unfortunately I didn't find...
  about balance (4)
How to get the highest value of "balance" in the past?please,help me.
Hi. I'm looking for a programmer who can make me this price ladder tool. https://www.youtube.com/watch?v=t805EwD-IiQ Please send me a private message if interested.
Dear Guys, I am using a EA that use to download news calendar. this EA work on my friends computer but it is not work on my computer. I try several time but i didn't get solution. I any one know good solution for this.
I know there lot of question out there. But can't fine good answer. So now i am asking again how to improve modelling quality data 99%. I am using MT4 Beta version. I test my EA but not to show 99% modelling quality data.
Please help with one question. From 1st of January, in my mobile phone doesnt work MetaTrader4 platform. Firstly, it doesnt loaded, the I have deleted MetaTrader4. then sent newly. Now I see the information that there are only 1 server available. How I can solve this situation? Thank you in advance...
Hi.. I have tried used Sleep() function on my expert to suspend my EA for some period. But, its look the Sleep function not working ?... Could somebody help me ?.... or is there any alternative solution to replace the Sleep function ? Thank you
Hi, This is a rookie question - I'm just looking at some indicators and what I would need to convert them into EAs to automate trading - my first attempt. What is the basic technical difference between an EA and an indicator? I understand the difference in their use, and also the different folders...
Hello community, I programmed an Expert Advisor that sets the SL to 2 Points for only ONE order at a time. When the order goes into profit it takes the SL to +2 Points and trails every +1 Point to 2.8 Points, 3.6 Points and so on. That's the logic behind this program. But it only works for one order...
  modelling quality n/a ?? (17   1 2)
is this mean that my ea results are all of wrong ? how can i fix this problem ? how can i search it ?
Happy holidays. What kind of coding might be termed as violating metaquotes copyright?
Hi I'm coding up some trailing stop loss functionality for my EA. I was wondering what people's thoughts/opinions are with regards to using Moving averages as basis for stop loss, or something like ATR? But my main question is, assuming I use a moving average, would it be better to recalculate and...
Hi there, What is the different between Expert Advisor in MQL5 and Expert Advisor in MQL4? Thanks.
Hello I am thinking on making compare current price with greater or less than fixed points to enter transaction one time. Example: int Difference= (( OrderOpenPrice()-OrderClosePrice())/(Point));if(Difference== 20) {  OrderSend(Symbol(),OP_SELL,LotSize,Bid,3,(Bid+SL*Point),Bid-TP*Point,"MyEA",0,0...
<CODE REMOVED> pleasw help thanks
hello, i would like to have a EA that makes a screenshot of the pair once i open a trade / or close the trade (manual, SL,TP) i was trying out this one here but didnt work for me: https://www.mql5.com/en/code/10232 the email function works fine, but the screenshot does not work, i also changed the...
Hello i want to make EA that depends on magic number for closing a group of orders but, i want the first order to take its ticket as magic number and that order will be the master of 3 orders and the 3 orders will take the first magic number of the first order. Example: int TicTic=OrderSend(Symbol()...
Hi. Im Apex, and I want to learn how to program my methods.. Sorry if my questions sound noobish, but Id appreciate some help. I have a few questions.. 1) Any tips on becomming a good programmer? I learnt C++ in my own time a few years back, but I havent mastered it, I also learnt VB.NET in school....