MQL4 and MetaTrader 4 - page 1150

[Deleted]
hi, i wanted to ask if anybody know why when i'm using cci indicator on higher timeframe, for example 1H with a calculation of 8 bars, when i use it for the 15M timframe with 32 bars (cci(32)) ( to get "the same amount of time" = 480minutes) i get very similar/almost equal - values for the...
  Trade from 25 pips per day on signals  (316   1 2 3 4 5 ... 31 32)
How can you trade 25 pips a day
  The concept: "Good Counsellor"  (63   1 2 3 4 5 6 7)
Hello. I am new here, but I am dealing with forex for 2 years now. I have a question for the experts: How well do you think such concepts work: 1. To make a good EA you can take a badly losing EA and mathematically, turn it inside out. It is not about the spreads and swaps that are losing money. 2)
In English Code base I found a very original Expert Advisor which increases lots by Fibonacci number. The author suggested the positions distance between orders = 20 pips. S/l=10 pips. Of course, the stop works very often in this situation. By the search method I have found a good combination of
[Deleted]
Hello guys. I have an EA tha load couple custom indicators. In test mode, boths stop at exactly the same date and time. At the end of the testing if I right click and open the indicator property window and hit OK butom without changing anything, then it redraws completelly. The problem shows also...
[Deleted]
Hello, I would like to close my positions in my EA, but it does not work.can you help me,wher is a problemm? here is a part of my code: if(Bid < shortEma && DownTrend > 0 && Bid <= DownTrend ) { ticket=OrderSend(Symbol(),OP_SELL,1,Bid,3,0,Ask-TakeProfit*Point,"moj prvy obchod",1234,0...
Does anyone know of an indicator that will sound an alert whenever price bounces off an EMA? There is an indicator called MA Bounce Indicator, but it does not sound an alert, and it is an .ex4 file so there is no way to get inside it
[Deleted]
1. Is it possible to change the colour of individual candles in the main chart window to create some some sort of indicator? 2. When a new object is overlaid partially on an existing object where the 2 objects partially overlay the colours are mixed. Is there a way to prevent this. i.e. is there a...
  Comment Modify  (3)
Is it possible to modify comments without the use of an EA? Possibly with a script or some manual means?
Reading about Genetic algorythms (articles.mql4.com/134) Genetic Algorythms: Mathematics: I found the following statement: Let us assume that the attribute values lie in the range of [0,1]. The range was split into 256 intervals for encoding. To encode their number, we will need 8 bit. The gene
[Deleted]
T.T Moderator this the code and not works....I not idea what do? Help T.T Try..... 1. RefreshRates(); 2. int count = 0; while ((result == -1) && (count < 10)) { RefreshRates(); result = OrderSend(...) count++; } 3. OpenPrice = NormalizeDouble(OpenPrice,5); OrderSend(Symbol(),...
Hi there, im looking for a way to draw a chart indicator by getting user data in a special way. Like we do with Pitchfork, i need to be able to give some points to the indicator through some mouse clicks on the chart. Is there any way to do it? I was unable to find it anywhere Thank you
yone: does MQ4 BACKTESTING give you OHLC history for all pairs, or only for the Pair selected on the Settings? I know you cannot backtest multitrading, but my question regards access to prices of other instruments. This is related to a version of xMeter that I have developed which produces a...
  help!!  (2)
extern double Lots=0.1;extern double Stoploss=20;extern double Takeprofit=40;extern double Factor=3;//----   //----  //+------------------------------------------------------------------+//| Calculate open...
Hi, I found the MTF_Stochastic_v2 (https://www.mql5.com/en/code/8033), which works really great! Thanks for that! Now I want to use it in my EA, but in this way I am allways getting a wrong value Stoch_TF3_Indi1_0 = iCustom(NULL,0,"MTF_Stochastic_v2","n1","n2","n3","n4","n5", TimeFrame,"n6",KPeriod...
I'm a newbee in MQL4 but no newbee in programming. I wrote an EA and a Script and compiled them successfully. They are visible and executable with MT4 but I don't find them with windows explorer, not source nor ex4. I'm using Windows7. Naturaly the Objects *.mq4 / *.ex4 that where delivered with...
[Deleted]
hi i want Order be changed to open conditions: 1-When indicator the color changes that open order, Candle not Problem closed.Just change the color. 2-Until the order is now open, And the previous order is not closed, Order not to open another,Even if the new signal will give. thanks....
[Deleted]
how to check same ticket ? I use follow code,but can't check same ticket... void OpenPosition() { int b= 0 ; int s= 0 ; int bb= 0 ; int ss= 0 ; int li_4 = OrdersTotal () - 1 ; for ( int l_pos_8 = li_4; l_pos_8 >= 0 ; l_pos_8--) {
When I run my EA, there was no error, but cannot trade. Please check for me. thanks so much extern double Lots= 0.1 ; extern double Stoploss= 20 ; extern double Takeprofit= 40 ; extern double Factor= 4 ; //---- //---- //+------------------------------------------------------------------+ //|
Hi everybody, I'm wanting to know if it is possible to make it so that when you click on the 'New Order' button the Volume is automatically set based upon a calculation? I would like to have it automatically set to a percentage of Free Margin relative to unit price. Volume = Free Margin / Price *...
[Deleted]
Hello all, I am new to MT4, but I have experience programming in other languages. I have a question about how to execute expert advisors. I know that I can execute an expert advisor by attaching it to a chart while inside of MT4, but I was wondering if there was a way that I could see what was...
[Deleted]
Hi, Could someone please help me. I am trying to use seconds elapsed since the start of the day using my computers time in an EA using TimeLocal() and cannot figure out how to do this. Any suggestions would be highly appreciated
  How to avoid slippage?  (71   1 2 3 4 5 ... 7 8)
Greetings! I need some tips and opinions! Help as well. The idea behind the trading system is simple, with pros and cons. Pros: we catch all small movements. Cons: in a sharp trend we lose money or huge drawdowns, loss of communication for a long time leads to unpredictable results. The system: we
I just re-wrote my old weekend function. I'm trying to make it more universal without using DLL for time issues. It's your typical Weekending and Weekend Gap function. I'm wondering if anyone have an easier way of doing this without dlls? Issues to consider. 1) Some brokers week starts on Wednesday...
[Deleted]
Beware fellow Mql4 developers. ForexCio EX4 is a scam. After having paid for the software through wire transfer, I requested the activation codes, but nobody is answering me for two months now. I even called the number of the company representative to whom I made the money transfer. And nobody is...
Hi all could someone help me with the formula for Bollinger bands? This is what I have got: int BandsPeriod = 20;BollingerMA = iMA(NULL,0,BandsPeriod,BandsShift,MODE_SMA,PRICE_CLOSE,1);Deviation=MathSqrt(Close[1] - BollingerMA);Deviation = Deviation/20;UpperBand = BollingerMA + (Deviation *...
[Deleted]
where to get EA for indicators with up/down arrows ?? entry when arrows appears exit when opposite arrows appears
[Deleted]
Ok I know this is a complete newbie question! I trade with IBFX on the MT4 platform. I have noticed that a currency pair like EUR/USD has 6 decimals 0.00000 but when people talk about PIPs gained they only use 5 decimals 0.0000. And the same is for a currency pair like USD/JPY that has 5 decimals...
[Deleted]
NEED A INDICATOR TO SOUND ALERT WHEN MACD ON A 15 MIN CHART SOUNDS WHEN PASSES ZERO AND WHEN IT HAPPENS TO CROSSOVER
I have read that the new version of MT4 Mobile will be for Android but apparently it is not available yet. Already it appears that Windows mobile is rapidly becoming obsolete. Anyone who buys a new mobile lately is likely to not be able to use MetaTrader Mobile because it is not available for...