MQL4 and MetaTrader 4 - page 1295

To post a new topic, please log in or register
Hello MQL4 coders, My question should be very basic but after reading the MQL4 docs and searchingthis forum I did not find an answer. I have my Expert Advisor which needs to launch a script that I have writen andget result of the calculation. The reason why I want to use a script is that theEA is...
If you like any of them, please use them as your avatars: If you’ve got your own variations, publish them!
Hi ppl, A need some help whit one ideia... is INVERSE GRID. I want the ea open inverse trades... when cross moves long i have the ea whit wantbreakout=true... but this time the ea don't will open long orders above price.. the ea will do the oposite... will open grid's whit sell orders for breakout...
Hello... I located this very interesting new Pivot Points DJ work by Roman Kushnarev[article at 'Pivot Points Helping to Define Market Trends']... I placed the TWO indicators into my... expertsindicators ... folder, but theydo not load onto the chart... could someone let me know what could be...
Greetings folks, Well, I have dusted off the old Data Structurs and Algorithm Analysis book from college, and I have been reading up on Genetic Algorithms. So I think I am going to take a stab at creating one that actually works. We will see there is a very good mathmatical proof that proves that...
Want just a sound alert when my pendings go in. How do I do that??
Tell me please how can I get the trading information that MetaTrader loads in myprogram. Now I write a program to make graphs with custom possibilities. NowI use loading data from text files generated by MetaTrader script but it's betterto make the program to get the trading information itself.
I´ve modified the standard momentum indicator to plot some MA of the value. { MomBuffer[i]=Close[i]*100/Close[i+MomPeriod]; i--; } for(i=0; i<limit-1; i++) EMA_buffer[i]=iMAOnArray(MomBuffer,Bars,Smooth,0,MODE_SMA,i); Now I´m looking to do the inverse work....
Hi, Are there any MM EAs / scripts that can be appended to an existing EA? Haven't been able to locate them here, although there are quite a few for trailing stops. Any help appreciated. Thanks.
I will enquire about use iCustom, for example at this case : iCustom(Symbol(),Period(),"T3 -trix",A_t3_period,num_bars,is_A_open_price,B_t3_period_ac,diferential,hot,0,shift+0); How to modificate the iCustom(Symbol(),..... to calculate from the iMA value oranother iCustom value, not calculate from...
Hello, 1. I put a fixed value PERIOD_M15 for the timeframe parameter for all indicators. So we must get the same result for any timeframe selected in the tester setting. Because, the Buy/Sell conditions are based on those 3 indicators using a fixedtimeframe value. But I got different results!...
I've converted this (http://www.developersdex.com/asp/message.asp?p=1825&ID=%3C1143886406.104730.265820%40u72g2000cwu.googlegroups.com%3E) to a dll andnow call to InputBox from within a MetaTrader. However, after I get the InputBox,fill the text field and click Ok, the program crashes. What can be...
Hello, 1. In MT4 tester, why most EA failed using model "Every Tick", even ifthey perform using the model "Control Points" ? 2. What is the minimum Stoploss value we can use in function Ordersend() ? 3. I think this minimum Stoploss value could be smaller (without getting Error130: Invalid stops)...
I refer to this post 'EA Tester is useful?' and the irusho1 reply telling: ... 3. hardcode your timeframe in tester (i.e. use iTime, iHigh, etc. use explicitPERIOD_?? instead of 0 or Period() function) and run your EA on 1 minute frame only) ... 1. Why is this point important to get a test...
Attention! Warning about virus in metalang.exe is an error of antivirus software! We've contacted with McAfee support team and received the confirmation that itsa McAfee antivirus software error and metalang.exe is clear software without anyviruses: ----- Original Message ----- From:...
  SLIPPAGE ? (1)
What is slippage settings ?
Hello in the following picture one can see what I to program wants. One sees the black lines which are Support and resistances lines. I can not program gladly it as indicator however point yet as go, can someone pleaseto help. The number in the Chart are unimportantly those I made pure.
  order count (2)
i would like to write a code for a hedge strategy in one currency and stop openwhen, for example, buy OP are more then sell OP, so i need to write something like,"if  totalorder of OP_BUY >  totalorders of OP_SELL"any idea?
Hello, Where to get a list of all (absolutely all) upper case Standard constants ? A lot are missing here: https://docs.mql4.com/constants Exemple: VAL_OPENPRICE VAL_TICKET VAL_STOPLOSS TIME_DATE TIME_MINUTES SELECT_BY_POS OP_BUY OP_SELL FILE_BIN FILE_CSV FILE_READ FILE_WRITE Thanks.
New MetaTrader 4 build 204 has been released. What’s new: Fixed error of the client terminal hangup when calculating indicators on the previousindicator data within the same window.Resumed displaying of free margin if the value is negative.Orderly closedown of the client temrinal at the operating...
I have just found I cannot test an EA which is trying to trade 2 symbols. I canrun multi symbol EA's on a Demo account, but cannot test them using the StrategyTester. Do you have any plans in supporting multi symbol Strategy testing.?
A simple video below demonstrates the video-archive function: How a reel should be prepared and uploaded: The reel itself was made using the Camtasia program (the details follow)The facing page and the sound-track were added in the same applicationA video reel in the AVI format was made using...
  font size (3)
Maybe this is easy, maybe not. For some reason unknown to me, the font size on thissite has become so large it's extremely difficult to read. On my computer at theoffice, it's fine, but at home it's HUGE. Can someone tell me how to adjust itback down to normal? Thanks for your inputs. dlindsey
Hi, anyone can tech me, here site https://docs.mql4.com/files/FileClose I just want a simple write-in and read-out of total buy and sell in data memoryhold, but i still get no ball above site. I try to write simple and test, many problem in below. int handle; int value;...
can anyone tell me how to get an indicator that will not lagg.does anyone know aboutwadathar red=sell/green=buy indicator
How I can set it back to normal again ? I've try to reinstall but the new one isthe same. (very small cant read)
Hi I just got 5EMAs alert and i have got it on the chart. when i click on a 5 EMAs alert sad face a page opens I need to turn on the Allow live trading and click and i should have happy face but when i turn on the allow live trading nothing happens and the face does not turn happy can any...
I downloaded Keltner Channel.mq4 from this board.  I copied it to my Experts\Indicatorsfolder, and I see it in the Navigator.  However, when I drag it to myscreen nothing happens (I can't attach it).  What am I doing wrong?
  error message (1)
why do i get this error? Function "ExitPositions" is not referenced and will be removed from exp-file