Download MetaTrader 5

MQL4 and MetaTrader 4 - page 941

To post a new topic, please log in or register
I want to create an EA. But I have no idea for a code for my Stop(Sell) Strategy. I want to stop my trade by a target of 30 pips. How to make this, that`s clear. But if the bear candle is longer as my target of 30 pips my EA enter again the market, because all the other indicators are in the same...
I found the answer to my problem, thanks for your suggestion it led me in the right direction...
Hi all, First I would like to apologize if the same topic has been opened here. I know there are many experts here who are very generous to give hands. I would like to get guidance on how could I link a broker time in an excel file. For instance IBFX broker time in my excel data files (which I open...
hi, I have a little question I hoped you could help me with. I want to insert a code piece into some of my strategies which would let me do the following; (1) Record what "Indicator/Price" value my condition was met at in a timeframe (100min) and (2) if the recorded "Indicator/Price" value >=...
I want to enter a trade (for example buy order) at a certain price level only if the candle close above it Is there an expert for that..?
Has anybody else seen this. This occurs from time to time on many indicators when they are running. It can be straightended out by switching timeframes and returning but why does it happen. This indicator can run for hours then suddenly do this. Any ideas?
i have Ea i wrote a EA and would like to add script to it so that i can input a % of the balance to use in buying lots. So $1000 could have a lot size of 0.1 and then increase it to 0.2 when the balance is $2000 and between those amounts? but i would like to be able to change the settings of the %....
Hi everybody, anyone can fix the last bar of this indicator? It does repaint... And on the fixed indicator is it possible to write an EA that go LONG on green bar and SHORT on red bar? Thank you, bye! Luke
For exdemplo have other questions that I do not know address, I will write here and if you can help me solve: I wanted to check the profit of the last order that closed positive; then multiply by Percent.Lost; = PL then verify that the value (losses) of the open order is less than PL Example: If...
Hi Does anyone can replace the MACD Indicator in this EA with ZeroLag MACD indicator. Thanks in advance .
Hi every one, Need help in coding an ea using SHI channel. basically if slope is positive buy or if slope is negative sell. Can someone advise ???
I have added an alert I think any way but I am missing something and that is how do I get it to give an alert after the buy bar goes above 25 and the sell bar below 25 so that when this happens I get a alert with a pop up. Right now the alert just keeps going offf every 30 sec or so and no pop up....
Here are the results of my strategy: http://www.onix-trade.net/?act=monitoring_stat&xid=16720 - $500 profit withdrawal http://www.onix-trade.net/?act=monitoring_stat&xid=14667 Never MartinGail, tight SL in every order, reliable account management from $300. Please apply to sevan62 [at] g m a i l dot...
Hi Guys, I have some Problems on Detecting Range trends i Using this by myself but i think it needs some modification, Let say ADX_PERIOD=14 MODE_MAIN=25 t1=15 t2=60 t3=240 bool IsRange(){ if ((iADX(0,t1,ADX_PERIOD,0,MODE_MAIN,0)<ADX_MAINLEVEL)&& (iADX(0,t2,ADX_PERIOD,0,MODE_MAIN...
Hi guys. I thought i would ask some of the experts here as i have been frustrated by this for months now. I have an EA that I wrote and am happy enough with it to trade it real time. I attach it to the appropriate chart, set it to the correct timeframe, enable expert advisors and allow live...
Hi everyone, I am having problems with the historical data. I am able to get 30 minute historical data all the way until Jan 2004, however for 5min historical data I can only get until March 2009... anyone know how to get more? Also i'm trying to make price alerts... like the following 2.. anyone...
Has anyone use any of these robots? Are these profitable? Please give me your advise
Hello, I try to write script with analyses distribution of last two digits of Highs/Lows. Analysing with Excel I noticed that daily highs/lows are save some values more often than others so I decided to make script for this job. Script uses array[100] from 0 to 99 (last 2 digits) and MathFloor to...
Sorry newbie at work and need some advice. I trying out my first EA and facing many error. Anyone can advice me on this issue first. double AverageHL = HH - LL; double p0272 = HH + (AverageHL*0.272); OrderSend(Symbol(),OP_BUYSTOP,Lots,p0272,3,0,0,"",12321,0,Green); I beening prompt that my entry...
The statements that I print off of MT4 Platform does not show what my balance was at the end of the month. It shows the current balance of the day that I print the report. So, it makes it difficult to reconcile. Is there another way to print these statements other than on the MT4 platform?...
Gud day Sir Safin! You have a excellent indicator AIS1AI to his robot AIS2. That indicator have sorry to mutch text,label,line.. and The are not posibiliti to switch that oll with one switch on/out.I ask Sir safin make that switch! And second that robot ressive excelent and wonderfull signals but...
  Which ea is this? (11   1 2)
Which ea is this? Know somebody it? Strategy Tester Report VaLaki_v3.7 SzimbólumGBPUSD (British Pound vs US Dollar)Időszak15 Perc (M15) 2008.02.01 00:00 - 2008.02.28 23:45 (2008.02.01 - 2008.02.29)ModelMinden tick (minden elérhető legkisebb időegységet alapul véve fraktális...
How to make a closure order, when the order is positive? I tried to do as in the example below, but sometimes occurs in close negative? Answer I look! for(int a=0;a<OrdersTotal();a++) { if(OrderSelect(a,SELECT_BY_POS,MODE_TRADES)==false) break; //---- check order type...
I am trying to rewrite the code for the Flattr~2 to work with the RSI and I am getting a "Wrong parameters count" on line 91/82. The original code is below, followed by my re-write code. Can anyone help, please? Thanks in advance, Gordon Here's the original:...
  Perky Ashi (2)
Hi. I'm attempting to modify one of FerruFX's indicators to use custom indicators. I've already gotten all the MAs to work correctly, but I'm not sure how to get the correct information for the other two indicators. I would ultimately like this to display the MTF data from the two indicators I've...
Hi, Is it possible to change de default propreties for charts? I need to change the "show grid" to false by default. Thanks
How do i get the following code to check if it should close a trade on a bar different than the bar the order is opened? int result,type; result = OrderSelect(ticket, SELECT_BY_TICKET, MODE_TRADES); if(result ==...
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published at MQL5.com In this article I will consider Price Histogram - a simplified model ofMarket Profile, and will describe its implementation in MQL5. Author: Dmitry
Could any-one please help me? I have coded an indicator which provides a trade entry, using a combination of moving averages and oscillators. I would like to display the base indicators (ma's and oscillators) in the appropriate windows, i.e. some indicators in the price window and two additional...
  Vb.NET (8)
Can someone tell me definitively if VB.NET can be used to write DLLs for MetaTrader? If so can someone post an example construct of a VB.NET class as MetaTrader would need it to be. Thanks