MQL4 and MetaTrader 4 - page 858

To post a new topic, please log in or register
Need someone with knowledge in programming indicators am willing to pay for service.
I tried to modify some EA. I want to add some Buy_Stop But it failed Could someone help me?? if(BuyQty < Walls) { cmd = OP_BUY; price = Ask; colour = Green; takeprofit = Ask +GridPip*Point; if(UseStopLoss == true) StopLoss = Ask - StopLoss*Point;...
Hello Every One... I like to use a custom Moving Average Indicator. x=0.00000 5 decimal places and adjustable IF (Current MA Price - Previous MA Price) > x = (Lime) line IF -x < (Current MA Price - Previous MA Price) < x = (White) line IF (Current MA Price - Previous MA Price) < -x...
Hi guys. Did you know some programmers can do EA or modifay it with low price. thanks
Hi everybody! I'm triyng to code an indicator based on MA's in a separate window but the problem appears with the last one i want to add...in the following pic you can see that the red MA (which is a "Drag & Drop" MA from the left panel) is in a different scale over the others.I found the behavior...
Hi there, I have a question. I am running MT4 and I have several profiles set up, one in which is for my ea's. In expert advisors tab located in options, in the tools drop down menu, I have un-ticked the box called disable experts when the profile is changed. However I notice when I change...
Hello, on my old account is my EA running. When I print my Report, I can see the Bilanz chart until this EA is running. Is there any possibility to start me EA on a new PC and to get the Bilanz chart from that time, my EA started running on my old PC? I saw, that I can fetch the old orders from...
Hi Folk, I need help on one question. I need to know what can i specify the "take profit in Value and not in Rate" Example: I'd like to fix in my order the "Take Profit" and " Stop Loss" in Euro. TP=30€ SL=75€ What can i do? (This function there is not in MEtatrader platform) Thank you very much for...
I will be glad if someone could help me add an alert to these indicators, please there should be a means of setting levels that the indicator will give a sound as son as the level is reached. thanks in advance and GOD BLESS.
Dear all I've created an indicator and attached it to a chart. Afterwards, when I took a look on data window to check the value of that indicator, data window only shows a 4 digit value. However, it is a 5 digit value from the indicator, so I only saw the roundup value only. Is there any way to...
hi people ! i am currently researching indicators for entry and exit for my EA, would anyone like to submit which ones they like and why ? i read the accelerator oscillator is good for exits and the awesome one is fairly useless, however am keen to learn more titbits ! or perhaps is there a...
Hi Guys,  I'm trying to make an EA with an indicator that draws text on particular bars of interest from the chart window.  I'm having issues with finding the appropriate X and Y coordinates for visible bars.   I have discovered the number of bars on chart and the first visible bar using...
Hallo Everybody, actual i have a problem with the position of Arrow's on the Chart. As you can see it on the Screenshot i placed a arrow on pricelevel 115.00. But now the Arrow is placed on Price Level 114.68 (i drawed the 2 blue lines to show the problem). It seems as if the price level of a arrow...
The script is from this forum, https://www.mql5.com/en/code/8435, Anybody can help? Thanks
Hi, I have programmatically drawn a Gann Grid object using fractals. Now I want to detect if the price has crossed any of the grid lines. Can I do this in mql? If not, does anyone have a formula for Gann Grid I can use to derive this?
  previous bid (4)
hi guys, I'm currently trying my first steps on MT4 and a strange problem occured. I know how to get the actual Bid-Price - its simply the command "Bid", but how do I get the Bid-Price one Tick before the actual one?? thanks for your help! jürgen
Hi I have some interesting results (if they are treated) the simplest is to set an example: NO Current Profit Profit After selection 1 9,89 2 10,00 3 10,00 0,00 4 10,00 0,00 5 -200,04 0,00 6 9,03 9,03 <-------- 7 10,00 0,00 8 9,96...
The following code is fully working. it closes 50% of a open trade. It then moves stoploss to breakeven point. It stores the fact that stop has noved to breakeven. "s2=true". What i need is some changes so that the code will move stoploss to breakeven only and remember this if the platform is...
Hi all, Can anyone provide an in-depth view on the way slippage is handled by MT? I'll explain: I was under the impression that when an EA submits an order with a certain slippage, this order is then dispatched to the broker's server as is and the slippage is managed on the server side (successful...
Hi I really have some cool stuff which has a success rate of more than 80%.(Not joking at all).It works on some custom made indicators of volume and some money management stuff and volatility. But the problem is that its too tedious to look into the charts and spot it,because the entry points are...
Helloo!!!!!!!! I have my own ea based in the distance between two ema´s. ( I attach a picture in EURUSD M15 ) But I have a problem, I don´t know how to close the trade if there are a signal with the oposite sign, and open this new signal. If there aren´t new signals my objective is TP : 600 and SL:...
I want some help to code EA which opens a long trade when the angle of the EMA slope is between +10 and +90 at close of the bar (eg 5 min or 15 min), and closes the long trade and opens a short trade when the angle of slope of EMA is between -10 and -90 at close of the bar. Need help. I am willing...
Dear all, I have kind of weird issue. I'm trying to display arrows on MACD indicator to display buy or sell signal. Basically, I've updated an MACD indicator code, and in the result, my arrows are displayed in the top of the separate window. So the lines and histogram are so small, as in the...
  Expert on offline chart (20   1 2)
Hi, I'm trying to use an EA on offline chart (for example such as created by period_converter). They don't receive ticks which needs to use while() loop inside. However, after few minutes the offline charts shows "Waiting for update" and is not updated anymore. I suspect it is a kind of deadlock,...
how can i trand in microtime frames 1 second, 5 second, 10 seconds charts in mt4? not just the tick chart.
Hi, I'm developing my first EA. I would like to use an indicator main() function as a custom function in the EA. In the indicator "int counted_bars=IndicatorCounted();" returns "the amount of bars not changed after the indicator had been launched last" (as writen in this function documentation)....
Hi, I am looking for different EAs and scrips that change an postion from long to short and vice versa. Is there an english word for it what I can use to search or do you have any other suggestions? I just feel kind of unfriendly when I publish my questions without properly searching this forum in...
Dear all, I found this indicator and it works very well, but I miss two features. 1. After the order is closed by stoploss, I need an additional sound if the order was closed by stoploss but in profit. 2. if the price crosses the breakeven, I want to hear another sound. I tryed to code this a lot of...
Have you came across any free EA on mql.com codebase that can ran perpetually without failing? Please recommend Thanks!