Hello, I'm trying to do simple EA for the moment and i don't understand why the following one doesn't work to close all the positions : for (int iCompteur = OrdersTotal() - 1; iCompteur >= 0; iCompteur--) // Boucle pour vérifier toutes les positions ouvertes ou en attentes { iTicket =...
[Deleted]
Need help. How to draw H+L/2 price of the first five minutes every hour on M1 chart. Thank you for help.
please who can help me here. If i want to attach my EA on about 5 different currency charts, does it necessarily mean that i must change their magic numbers. i mean each chart must have different magic number from the other?
hello good day friends please can you help this kst indicator not working: when a new candle occur, my personnal indicator don't update to new value, it seems NULL so i have to click an other Interval unit to refresh the indicator :( dont see input for weight of each part ? :( T H A N K S
[Deleted]
I read an ad like this: Selling a system 2-3% a day stable! The price of $ 500! Even 1000, even 2000! WHY????? Take a loan and pay back the annual interest on the loan in a week, and then get the whole year clean! Only it will not be so, because if there was an advisor giving 3% a day (I'm not
[Deleted]
the sample EA's that came with the download don't produce any trade's on the system tester. am i doing something wrong?
I want lay complain to the admin. department of MQL5 community. please how do i do it, where and whom do i refer to?
[Deleted]
2012.10.16 03:48:55 '1526387': order buy 1.00 NZDUSD opening at 0.81887 sl: 0.81817 tp: 0.81927 failed [Off quotes] 2012.10.16 03:48:55 '1526387': request in process 2012.10.16 03:48:55 '1526387': request was accepted by server 2012.10.16 03:48:54 '1526387': instant order buy 1.00 NZDUSD at 0.81887
Hi, I'm considering replicating with MT4 my trading algorithm I have written in VBA. Since there does not seem to exist an appropriate interface from VBA to MT4, replication may be a better option. My question is how easy it would be to create this replication? If I understand correctly, MT4 has
Hi, i try to write an EA and get the values from DT-ZigZag-Lauer indicator with following code: int depth = 5;int GrossPeriod = 240; double Lauer_BUY = iCustom(NULL,0,"DT-ZigZag-Lauer",depth,GrossPeriod,0,1);double Lauer_SELL = iCustom(NULL,0,"DT-ZigZag-Lauer",depth,GrossPeriod,1,1);if...
[Deleted]
I cannot find out my mistake on the following code of my custom indicator. I can compile it. But the MT4 starts thinking forever on this part when I insert it on the chart. On the other hand it works well on C++. Please point out my mistake. void Func(int no, int arrayA[], int no_arrayA, double...
[Deleted]
Hi everybody, I was messing around the other day with MT4's default ADX indicator. It has a apply-to price choice (close, high, low, typical, etc). It works great in the charts. However when I tried to extract the code for it using the ADX source code in MQL4 codebase. The choice is not available as...
MT4 trade history will show 'profit' on the footer pane. But some brokers are charging commission rather than spread. As an improvement - MT4 ought to add a total for the commission column footer (when unhidden) that reflects 'profit-commission'.
I was looking for a function where I can get the current quote rate, but was unable to find it . I found point while searching for it, but I don't think I understand the full functionality of point as of yet, so I need some clarification. I am going to try my best with coding examples of what I am...
I just started using a Hull MA. I've looked for a crossover alert that can use "names" to identify which moving averages to keep track of...but cannot find such an indicator. Does anyone know of such an indicator? It seems pretty simple. I just need a name field to "see" which moving
Any ideas on how to fill an array in a "clockwise spiral" fashion?. If I create a form whose seed number is 1. With an upper max of X*Y. The array dimensions will be the square root of X*Y or Array(X,Y). If I had another one dimensional array with the numbers 1 thru X*Y, how can I fill the main...
Hi all, again and sorry for misunderstanding: take a look to this indicator and you definitely figure what i meant with ("problem is that i have to wait to next day to draw if i put it on chart today") if you put it on live chart you will not see any thing (and that is the problem) so test it on...
[Deleted]
datetime current_bar_time;int file; int i; int pair_condition [2]; double lots [1]; int count;double high, low, close, volume;double assets;string pairs [21] = {"EURUSD","AUDUSD","EURCHF","EURJPY","GBPUSD","GBPJPY","NZDUSD","USDCAD","USDCHF","USDJPY","AUDCAD","AUDCHF","AUDJPY","EURNZD","CADJPY"...
//+------------------------------------------------------------------+//| RSI-3TF_ALERT_25.mq4 //+------------------------------------------------------------------+#property copyright "AHGduP"#property link "RSI-3TF_ALERT_25"#property indicator_separate_window#property indicator_buffers 8#property...
Hi all, My broker uses MODE_SWAPTYPE=0, accordingly I am obtaining my swap in points. Asinstance, the swaps for the pair AUD/JPY is: Swap Long = +1.4234 Swap Short = -1.7759 Sincerely, I don't know what those number means. Where those number came from? In my strategy, Swap is the ruler. And I work...
[Deleted]
how to detect Stoch Cross Over? is this correct? stochMain = iStochastic(Symbol(),0,stochKperiod,stochDperiod,stochSlowing,stochMethod,0,0,0); stochSignal=iStochastic(Symbol(),0,stochKperiod,stochDperiod,stochSlowing,stochMethod,0,1,0); if(stochMain==stochSignal)//stoch cross each other...
looking for code that will enter all pairs listed in MT4 that are postive swap values and enter them based on that Thats it Anyone could help thanks
Hi, I would like to perform a function call after having done some calculations with date and/or time. If i.e. the time is 14:00, I would like to perform a function call at 14:00+5, meaning 19:00. I've googled and searched through the documentation/book but I didn't come up with any examples....
[Deleted]
Please can someone help me with a traditional trendline that automatically draws trendline(not Demark). Someone said it is called lineman. I have however searched here but i am yet to get it.
hello friends looking for indicator ZIG ZAG applied to obv data ? tryed to google it; just cannot find it ! please kindly help regards
[Deleted]
// test_file_funcs.mq4 : indicator#property indicator_chart_windowint init() {//---- //---- return(0); }int deinit() {//---- //---- return(0); }//+------------------------------------------------------------------+//| Custom indicator iteration...
[Deleted]
I would love to find a candle time (for m1,m5,m15) that actually shows every second passing. The timer I use now pauses, and I never know exactly when the next candle is about to open. Thanks.
I am reminded of the anecdote when the city boys caught a villager in the street, and he cries and begs them not to beat him so pitifully: "Don't beat me, guys, I am a city boy, I have already ridden on a trolleybus, but I do not understand how gasoline flows through the wires? So. Sorry for such a
Hi guys, I'm trying to plot arrows where the TDI crosses the RSI line but I get extra arrows, anyone got any ideas - it's been driving me crazy. It plots OK if I compile when MT4 is running, but changing time frames or restarting messes things up. Cheers. int start(){if(Bars <= 10)...
I am extracting all trades from account history as well from trades and storing in a MySQL database I would like to get the funding info too like deposits and withdrawals. Is it possible? Did not find any information in the MQL4 documentation.
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.