[Deleted]
hi... A question regarding histograms......first what I did was to use a standard indicator that pretty much only counts bars,,like example the momentum indicator , and I just changed the calculation at the end to display what I needed....all I was doing was showing a histogram of the Close -
[Deleted]
Could someone please help me with some language to make my Expert Advisor tradea percentage of my balance? For example, I would like each trade, instead of beingx number of lots, to be 10% of my current balance. Does anyone know how to do this?The more explicit the details the more helpful it would...
Is there any way to code the acceptance of a broker requote in MQL4? I see themin the journal but see no function that uses requotes as an argument and brokersonly allow a couple of seconds to accept/reject them manually. This would be avery useful feature in an expert I'm writing. Thanks.
[Deleted]
int start(){ int counted_bars = IndicatorCounted(), limit, k, kperiods=100; if(Bars < kperiods) return(0); if(counted_bars<0) return(-1); if(counted_bars>0) counted_bars--; limit = Bars - counted_bars - 1; for(int i=0; i<limit; i++) { k=1; if(iCustom(NULL, 0, "ZigZag", 12...
On the website of the Automated Trading Championship 2007, the article Winners of Automated Trading Championship 2007 has been published. The Winners got their prizes and awards and shared their thoughtsand impressions of the Championship with us. The full text of the article was published on the...
[Deleted]
I need my SL derived from High/Low of Bar [2] but cant seem to use High / Low toset SL. For example: double stopLoss, takeProfit; stopLoss = (High[2]-Low[2])*2; if(BuyPrimCheck1() && BuyPrimCheck2() && BuyWickCheck() && BuyDisplace() == true){ ticket=OrderSend(Symbol(),OP_BUY,10,Ask,3...
Hello I am looking for information on API interfaces, there are some examples?
[Deleted]
Was wondering if anybody could help me, when I try and run the strategy tester thescreen just says "Waiting for update" and never works? This works onmy pc but not on my laptop, any ideas anyone? Thanks
[Deleted]
hi all my name is paul. I have been trading a mini account with FXCM for about 6months and came across mql4. I really like power of the system modeling and backtestingcapabilties. My understanding is FXCM is scheduled to have mgl4 soon. I am particularlyinterested in 4h and 1d trading. I have many...
My Matlab function has a matrix output. If I call it from my EA, how do I deal withit ? If MQL4 can not handle it, how shall I get around it? Pls help me. Thanks
[Deleted]
Hi all i am new to meta trader. I was wondering if someone could help me with aproblem i have. In the charts i have two ema's but when a candle appears the ema'sare hidden behind them. Is there a way to show the ema line in front of the candlesall the time? Thank you in advance and good luck success...
[Deleted]
I'm a beginner, tried many sample expert advisor scripts but all my scripts arestuck in init() not calling start() at all. So I tried a easy stuff to troubleshoot:int init() {//---- Comment("inside the init");//---- return(0); }int deinit() {//---- Comment("inside the deinit");//----...
[Deleted]
Hi Other than writing to a text file format, does MQL4 support INI file writing format.If not, does anyone knows how to do it, may be calling dll file function from theEA, how to import a dll? any known good dll file can support INI file read /writefunctions. Many thanks Tom
[Deleted]
Hi guys, The problem looks something like this: You have two simple indicators, for ex. two moving averages, and one EA attachedto the same chart. It's a very simple EMA cross EA, with some experimental codeimported from external DLL that makes it change it's EMA indicator parameter...
My matlab function is like this: Y = Myfunc(v1,v2) The ouput Y is a cell array {y1 y2}, y1 is a 1x1 matrix, y2 is a mxn matrix, IfI call this function in MT4 via DLL, how can I get the output to MT4 environment? thanks a lot.
Hi, I'm new in using MQL4. I'm just wondering why can i only see the pop-up of Print()and MessageBox() command one time only when i first drag the script or expert inthe terminal. It don't work the second time. Why is this happen? Is there any rulesabout these TWO commands that i'm no aware of?...
Hi everyone! Need some help to code a double smoothed EMA. The derfinition is: Double Exponential Smoothing (DES) applies Single Exponential Smoothing twice. My code has still a mistake, hope somebody can find it: //+------------------------------------------------------------------+ //| double...
Hello, This code's purpose is to check if there's any active order opened by this EA.If none, it will open 2 orders, buy and sell. I haven't test it on real marketbecause it's sunday now, but from backtester, there's no trade appear. What's wrongwith these codes? int ordtotal=0; for(int...
Hello I have a lot of open buy and sell 0.1 unit positions. I need to know exactly how many of them are opened. Instead of counting them manually,is there a script which counts the number of open positions i.e. "you have57 open buy positions" ?
[Deleted]
Hi, can U tell me how to make an EA open only one position per one bar? Cause now it looks something like this: I also don't want to use "if(OrdersTotal<1)" used in many codes becauseI want to have more than one order opend at a time (but not in the same bar) Thank for any help, Jan
[Deleted]
Hi, DDE or whatever. There's a suitable protocol? I expected to being able to export indicator's historical values in as easy way as for historical quotes. Thank you so much, SA
[Deleted]
I have a problem with my metatrader. My computer hanged When metatrader4-V202 runningfor about 10 minutes. Please help me .This problem confused me.
[Deleted]
How to find the value of High and Low of the 2 last bars of the previous week inH4 ? Thanks
As seen below is incorrect when Ctrl+Space+Shift used to display function formals OR when pops up automatically when opening ( keyed in. IE, double MathMod (double value, double value2)The function returns the floating-point remainder of division of two numbers.
[Deleted]
All other charts are working fine in other timeframes on NZD/USD...just 15m chartis stuck. No other issues with any pairs or any timeframes, just this one. Have rebooted programseveral times and have opened and closed chart several times. Thanks for your help! M. Blanck
Could someone please help me with the code for the EA i have attached? I have tried and tried to edit this code to change this without any success. BasicallyI want to have the EA open only one order at a time in the same direction. However,I also would like it the EA to open another order in the...
Support email below, being sent to me every 2 hours - have over 15 so far!!! support was emailed but did not reply - perhaps others are getting this repeatednotification ?????????????/ The following new articles were published at https://www.mql5.com/en/articles/mt4: "MQL4 Lanaguage for Newbies....
Recently I have acquired a Client that has been running Cash Grabber, Trend Trader and Power Trader and they havebeen impressed with the “Demo” results running the Bellevue Strategy however they are unhappy with the supplierand the brokerage firm it is attached too. More information at http://www...
Betting Modeling as Means of Developing "Market Intuition" The article dwells on the notion of "market intuition" and ways of developingit. The method described in the article is based on the modeling of financial bettingin the form of a simple game. Author: Eryomin Sergey...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.