MQL4 and MetaTrader 4 - page 1222

To post a new topic, please log in or register
if somebody with programming experience could make an ea that closes 50% of all open position when the sum of all open positions reaches a certain profit that would be great! please email me if you can or have questions kobe0ne@hotmail.com
Hello, I have a problem about writing my Money Management. This must work like this : If I have a BUY signal, I open with 1 lot. The first time I have a profit (variable Profit), I want modify the order with a StopLoss equal to open price, and put a new TakeProfit (current price + Decrement_TP) and...
Dear All, I want to make a new window without any bar chart or line chart and without any indicator in it, because I want to put text base object makrket information in that blank window. how to define the blank window ? thank for the helping to solve the problem. rgds bob
I would like to create an indicator that is placed behind everything else in the chart.  The reason why is that it will basically take up the whole chart, so if it was in front, nothing else would be visable!  It is a type of support and resistance indicator.  It is a gradiant, meaning it changes...
Recently I found out that Doug Schaff, the developer of the Schaff Trend Cycle, has disclosed its original code. The logic was not the same as the one intorduced in the indicator of the MQL4 library. I tried to modify the MT4 code but it was rather difficult for me. Could anyone kindly modify the...
  RU translete (1)
if(prevMainLine<prevSignalLine && mainLine>signalLine) Alert("Ñèãíàë íà ïîêóïêó. Âğåìÿ: ",TimeToStr(Time[a])); if(prevMainLine>prevSignalLine && mainLine<signalLine) Alert("Ñèãíàë íà ïğîäàæó. Âğåìÿ: ",TimeToStr(Time[a])); Please translate english ?
SimonTrader
Hi. Can I ask if there is a way to visualize in my chart windows (m1, m5, m15, m30, h1) an amount of bars filling 3 or 4 years without slow down the pc more than the necessary? I usually set the number of visible bars in the Options menu. I change Maximum bars and Number of bars to 500000. It...
Hi senior fellows, from my experience with manual trading,i discovered that there is always a constant disconnection on brokers servers during trading sessions and i always have to re-login, now i want to use an EA that has take profit,stop loss,and trailing stop, what happens when there is a...
I have been struggling to try to write EA's that do not seem to work. Is there any one who lives in the Olympia, Tacoma, Seattle area that would be willing to meet with me and go over a simple 2 indicator EA that I am trying to make work? I would be willing to take any day of the week off and meet...
Hello, As a new trader (beginner) i analysed ALL the technical indicators, available on your site. For me, 2 of them looks very nice to trade sharply both long/short. But i hope these indicators are not "selfcorrecting" and that they keep there plots when the quotes are continuing... These...
Iliya
Traders Forum. So that is not much to go into the motivation of such changes (and, in my view, it is very obvious), cite only the figures of the forum: 1 for the past month, a forum has received more than 250 new subjects. And their numbers compared to last month rose! Given the fact that the...
How much space is required to run Mt4 I have been running it now for 2 weeks and I havce found that it now take up massive disck space?? 6.32GB! Thanks chewing into my disk space a hell of a lot is that corrrect or are there settings that need to be adjusted? Can I run MT4 off an external hard...
The following USD/GBP order has been rejected for having an incorrect s/l or t/p. What is wrong with it? Pending buy: 1.9772; s/l: 1.9772; t/p: 1.9852
Sorry for asking such basic questions but I'm new to this market and I need all the info I can get. So what are the differences in terms of data and how they are served? Don't both servers serve the same ticks? Thanks
I attach a Heiken Ashi EA, but it is not quite doing what I want it to do. Exactly on the bar where the color changes to white - bullish, it should enter a long trade with no stop loss. It must keep the trade open until the exact bar that the color changes to red. At exactly this color change it...
Hello, where can I find the Donchian Indikator for the MT4 Software and how has to installation to be done? thank you for your help nala
Hello, how can I transfer all my chartsettings in MT4 from one PC to another PC? because I bought a new PC and now it would be great to find a easy practicable scheme thanks in advance for your support
Iliya
Forex signals. Trading signals - is a set of rules written in a special language Trading Language (eg Mql4), which formed the team and a warrant for opening and closing of positions. The signals are an important part of trading strategies.
SimonTrader
Hi, I made an EA whose decisional structure can succeed managing several symbols (pairs). But it seems no allowed to open position with pairs different from that of the current chart (Symbol()). If my line is, e.g.: OrderSend("EURUSD", OP_BUY, 0.1, ask, 3, bid-15*point, bid+15*point, NULL, 9999, 0,...
Could someone please tell me why the below listed code will not change the stoploss to = my Entry price when breakeven pips are reached? if(Bid-OrderOpenPrice()==Point*BreakEven) { OrderSelect(BuyTicket,SELECT_BY_TICKET); OrderModify(BuyTicket,OrderOpenPrice()...
Its been a few weeks now since I´ve been testing my EA, and the result are very promising (they have to be, I´ve been using this trading techinque successfully for some time now.) but, as any experienced trader knows, no EA can be run 24/5, and every EA has its own personality,...
Hi everyone, I am running into some issues using the iStochastic function as well as the iCustom function and am hoping you can help me. With either function, the values that I get do not match those that I see on the chart for either the stochastic indicator or my own indicator that I am calling...
Hi, Does anyone know the code for the copyright ... ex. copyright 2008. EA. owner ??? Any help is appreciated
Hi, Is it possible to use an off-line symbol on tester? When I open the symbol combo box the off-line symbol isn´t there: Only these? Thanks
i wrote a function void bb(char* test[3]) { test[0] = "name1"; test[1]= "name2"; test[2]="name3"; } use win console function to call bb, int main() { char* abc[3]; bb(abc); cout<<abc[0]<<"\n"; cout<<abc[1]<<"\n"; cout<<abc[2]<<"\n"; } that works fine. i export the function bb from dll and i call...
Hi, I´m trying to write a simple EA that put a buy order at the beginning of the bar and sell at the end of the bar. I´m trying to develop these with a daily chart but I intent that it work’s on every timeframe. The first part of the problem is easy because we can use the expression:...
Which are the most inportant indicators for short therm trading? If I use M1, M5, M15, M30. And which are the most important indicators at all?
New article Expert Advisors Based on Popular Trading Systems and Alchemy of Trading Robot Optimization is published: This article dwells on implementationalgorithm of simplest trading systems. The article will be useful forbeginning traders and EA writers....
Hello MQL Gurus and Investors, I need some pointers in filtering out false signals. Are there preferred indicators or methods that would do the job? Thanks
Have any of you experienced unexplained immediate closures of positions just opened? There's sufficient equity and there's nothing in the code I can discern which should cause an immediate closure. My EA has been running fine up until last night when it opened a position at the specified time as it...