Download MetaTrader 5

MQL4 and MetaTrader 4 - page 583

To post a new topic, please log in or register
Hello, I want to use History file to manipulate candle data, write it to a History file, and after that use in technical indicators, from script/ea. The History file writing is Ok, but the system does not want to read and synchronize data automatically from it if I call an indicator from the code....
Hi! I have been trying to make my EA change the Stop loss value if the current trade almost have reached it's target take profit level. I have not yet found a way to do this. Can you guys please help me? One of the codes I have tested is this, but this code makes the absolutely last trade on a...
Hi Guys, As I know that MT4 is not capable of back-testing of portfolio, hence I'm thinking of creating a matrix to store the data needed for other currency pair, output the data to some other files and manually do the backtest What's the correct way of doing this? use if(IsTesting()){ //store data...
This bug is from more than 2 years! I use Windows 7 64 bit. When try to copy code from mql4 code with CTRL- C in metaeditor it is crashing at 80% of time. Please fix it. Problem signature: Problem Event Name APPCRASH Application Name:...
I like to know how I can make this picture immediately in the right size This is necessarry for publishing in CodeBase If I open the inputparameters of an indicator I do not know how I can make directly a picture of the chart So I wanna know how to do this the best way for publishing of pictures...
I try to do a random choice between two values​​, as shown below. The problem is that sometimes the value is not updated timely and the new value instead of using new uses old and new open order is wrong. Interestingly, then is updated, but it is too late. Where could be a problem? I trade on...
can anyone help me to fix email alert to this indicator . i need this indicator email when signal popup . i need your expertise pls help me . i attach the indicator together. TQ
hi,all does someone know what the problem can be. one of the custom indicators doesnt show correctly in metatrader 4 at my home computer. on my vps-server it does show correctly. so it is not the indicator,something is blocking the indicator at my home computer. what can it be. it is not the...
Hi Gurus, RaptorUK has published (in this post: https://forum.mql4.com/47032/page5 ) this kind of code to close each 1 pip profit trade. This kind of code should close each trade with 1 pip profit (1pip profit = 0.08E for example). But its not. Its closing each trade with 2 profit pips. Because I`m...
hello how many maximum metatrader application can run on pc ? now currently i run about 14 metatrader on pc . If i add more the new metatrader just wont launch what should i change so i can run more metatrader maybe around 30 ? i use windows xp with 3gb ram and i3-2100 intel processor i run...
Hi all. My MT4 for Android was just automatically updated to build 434. After the update it looks like it is always offline. Traffic 0/0, no servers, point disconnected. Can you please help? Thanks!
Is that possible write a EA which can aviod every Evens in economic calendar??
Now, i'm going to write a Hedging EA, i wanna set that, After i open the 1st trade ( maybe is BUY) price at 1.2300 the second trade will be active if the price at 1.2280, means that, the 1st trade entry price -20 pips, any one know how to write this out by MQL4?
I have been trying to get a code published for over a month and a half. It keeps coming back with this comment "Unfortunately, there are some remarks on your code - - - Please revise it according to the remarks." What does this mean and what do I need to do? Code compiles fine and does what I want...
Hay, can u please help me, how to use negative shifts in EMA.... iam getting output as 0 when i used -ve shifts in EMA and also in Bollinger Bands. here is the code... EMA_20=iMA(NULL,0,20,0,MODE_EMA,PRICE_CLOSE,-2); iam getting 0 as output.... please help me on this..... Thank you.
I developed my EA using MT4 on Alpari and have come to transfer it over onto my broker and found that MarketInfo(Symbol(),MODE_TICKVALUE) and MarketInfo(Symbol(),MODE_STOPLEVEL) both return a value of 0. I tried using DoubleToStr to see how many decimal places it could be but there is nothing up...
Hi, I have this 2 indicators that I have found on the net, they are very good but they repaint, I was wondering if someone could convert them to mql4 and to improve the repainting. I have tried to use decompilers but without success. Thanks.
I drop EA onto M30 chart of window 0. EA draws Trendlines:       QueLine="queM5-"+lastQueTimeM5+" "+pTime;      ObjectCreate(QueLine,OBJ_TREND,0,lastQueTimeM5,lastQueTickM5,curTime,pTick);      ObjectSet(QueLine,OBJPROP_WIDTH,2);       ObjectSet(QueLine,OBJPROP_STYLE,1);       ObjectSet(QueLine...
I need to get the actual pip value of a digit after a decimal place. Is there a function I need to use?
Dear Friends, Im new to trade forum and i need to work on trade forum and to knw abt tat trade forum, can anyone help or suggest me to work on forum.Tel me abt trade forum how to work on it Regards, Kitty
I am trying my first Expert in Fxpro MT4. It worked fine in the Strategy Tester with trades executing. I loaded the Expert into the M15 chart, checked live trading and the smiley face appears. However, no trades are executing, nor is anything writing to the journal. Any suggestions?
Hi, I have an interbank account /ECN with activtrades. In my backtest the EA works fine, all orders open correctly and S/L und T/P works well. But in live trading, the EA did not open a trade (live trading is activ and smily also ), can you help me? Here is my EA coding part for open the order:...
forexparvenu
http://postimage.org/image/3n39c6jrj/full/ i had setup tp sl in coding, but it didnt show out on mt4 platform.. please some expert show me the direction.
Dear Community, how can I change automaticaly the text object color in the same color as the line? I have in my code the folowing lines: #property indicator_color1 Green#property indicator_color2 Red#property indicator_color3 Blue#property indicator_color4 LawnGreen      #property indicator_color5...
Hey guys first post so hello to everyone. Long time lurker. Been trying to code my EA to place buystop and sellstop either side of the pivot when the price crosses it. However it occasionally gets stuck in a loop at R2 not every-time though. Saying Ordersend Error 130. As a sample the values it...
I opened this topic because I'm searching for a list of different font types To display text with Objectsettext on Chart Who knows where I can find such a list with font types like "Verdana", "Arial",.....
  QFF-MACD Code (4)
Hi Does anyone know where I can get the code for QFF-MACD? Thanks Keith
Hi can anybody program very simple EA for me. I am ready to pay for it. There aren't indicators only simple algorithm. regards, Anna
Attached mql4 code, please convert to mql5 code, regards: -------------------------...
Would anyone like to put heads together and do some idea sharing? Happy to do a "peer review" of any code in exchange for the same. I have made some fairly good progress recently. My latest strat test can be seen at: http://www.vortexconsultingonline.com/strat-tests/StrategyTester1508.htm