MQL4 and MetaTrader 4 - page 89

any programmers add arrow ema cross up or down cross show arrow on chart indicator is attach below
  Slippage 0 MT4  (1)
Hi, I checked a few links that touch on slippage such as https://www.mql5.com/en/forum/12423/page637#comment_11263460 but I would appreciate some clarification on what it means slippage = 0 in terms of execution.(MT4) Assume Ask = 10 rigth now. When we enter a market order OP_BUY we include Ask in
hi im trying to make ea to trade based on custom indicator arrows , but is not working , what i do wrong ? INDICATOR ARROWS VALUES trend[i] = 0 ; if (T3RSIBuffer[i]>LowBuffer[i] && T3RSIBuffer[i+ 1 ] <= LowBuffer[i+ 1 ]) trend[i] = 1 ; if (T3RSIBuffer[i]<HighBuffer[i] && T3RSIBuffer[i+
Hi, I have been using fractals and finding them in the chart by counting i-- or i++ and also if(fractal != 0) depending on which fractals I'm looking for. Although this method works, it creates a lot littered and requires duplication in other code sometimes. I am rethinking my code and I'm curious
Hi guys, I need your help for an indicator I try to develop. It is based on the TDI indicator and I try to extract the values of the Upper Band and the Down Band. THe problem is that it only find one band. If I set the two, it won't work, also for the first Band. It complies without errors but there
I am looking for a dashboard that is the same or similar to MT4 One click trading. What bothers me is the changing colors from red to blue all the time. I just need BUY/SELL with predetermined lot sizes, and that I can change the lot size on screen. I don't even need price changing, if it had only
  NewBar  (10)
Hello Guys! I have also a question which is also time related. So I have the following newbar function: void OnTick() { newbar(_Symbol,PERIOD_D1); } bool newbar( string Ssymbol, int _timeframe) { bool bar = false ; bool first = false ; datetime prev = iTime (Ssymbol,_timeframe, 0 );
I was just curious how responsive the reports are compared to other online calendars. Are they delayed or are they pretty quick to propagate the data ? Thanks
Hi everyone, I'd be glad for a little help here as I'm pulling my hair out! I have an EA that works for the developer (it's sold here and apparently works for everyone), but for me the trailing stop and trailing stop trigger point isn't working - in my MT4 backtests it doesn't work, and in visual
I wanted to draw a box into the space that is farther into the future than the current candle with a script but it doesn't appear to be possible. I have a script to enter into a position and it calculates my entry, stop, target, and position size. I'm a visual guy and would love if it would also
  What is the value of one pixel?  (34   1 2 3 4)
What is the value of one pixel on the Y axis of the current chart? I need this value so that I can calculate the value of 600 pixels. This is because I want 600 pixel take profit level , and not 600 Points or 600 pips. I want a uniform take profit levels on all charts, regardless of their Point
Hi everybody I created an object on the chart with ObjectCreate(). So when i pressed backspace key on my keyboard, my created object deleted(like other objects on the chart that delete with pressing backspace key) I dont want to delete my created objects with pressing backspace key. Is any solution
Hi, is it possible to turn on & off the auto trading function on Mt4 when an Economic event is about to occur? ie an EA is disabled XX mins before an event triggered by an Economic cal indicator and turned on again YY mins after? Say using the attached indicator? Thanks <ex4 file removed>
In germany we have summer and winter time, the mql broker has also an extra time and the expert advisor uses the time of my computer for automatic trading . I think an indicator that shows when an stock exchange opens and closes is an important tool that Metratrader should still include. This
my skills are nit enough to do that
Hi, I downloaded a custom indicator (link below) to be used as a supply and demand in my EA, unfortunately I cant call out the values for the supply and demand levels, I tried using the iCustom code but gives me the high and lows of the previous candles. Any suggestion would be great. For the code
  OnDeinit()  (3)
Hello! I want store some variables in my EA as GlobalVariable in case EA stops, so it can recover. My question is if EA stops for no reason ( power failure or terminal failure or internet loss) is the OnDeinit() function in the EA will run? I am asking this because I want to delete all globals when
  EA upgrade  (1)
I have this supply and demand EA. I need help editing the entries. I want the EA to only take trades when the zone is retouched and not when it is newly formed. Then there should be a bullish candle that should close above the box to trigger the buy entry and a bearish candle to close bellow the box
Greetings, With the recent Windows updates I have experienced "crashing" of MT4 when I try to Access the Terminal/Market tab and have been unable to access the indicators that I have purchased. What should I do to resolve this issue, or do I have to wait for third parties to address? Your feedback
Hello there, I'm trying to find out if history of a symbol-timeframe is fully loaded or not within my mql4 expert. there is this function ... bool SeriesInfoInteger ( string symbol_name, // symbol name ENUM_TIMEFRAMES timeframe, // period
How can I view this crypto pair USDT/NGN chart in mt4 through any means even with API
I know there is the function "ObjectGetValueByShift" where you can get the price of the trendline, but i need to know how you can get the price of the trendline when you only know the values on which points the trendline is draw and then with the calculation you can get also the price, i am looking
Hi all, assume that i'm trading in one pair and doing backtest with an ea.. Ea calculating current basket like the code below; CurrentBasket=AccountEquity()-AccountBalance(); also ea calculating pair profit with codes below; double ProfitCheck() { double profit= 0 ; int total = OrdersTotal ();
Hello, I actually run 3 instances of MT4 from 3 different broker on an external VPS. I would like to rent the MQL5 VPS and I wonder if I can do the same thing as I don't really understand how it works. Thanks
Hi everybody Anybody know why: When i have to test my EA in strategy tester with "Open prices only" Model everything is good(order send, order modify and etc.) but its a problem on "Every tick" Model. for example i get a buy signal and EA try to open that position for several times not once. And for
I already found how to save the account history of 1 selected day to CSV format. But I want my whole account history in excel (and I prefer not do the 1 day download hundreds of times). Is there a way to download the whole account history (or at least a complete month)
bool DoesTradeExist() { TicketNo = - 1 ; if ( OrdersTotal () == 0 ) return ( false ); for ( int cc = OrdersTotal () - 1 ; cc >= 0 ; cc--) { if (! OrderSelect (cc,SELECT_BY_POS)) continue ; if (OrderMagicNumber()==MagicNumber && OrderSymbol() == Symbol () )
I want to create a button from button.mqh with text in 2 lines but the \n is ignored in myButton.Text("Line \nNew Line");
The Mt4 platform cannot be registered any more. When will the Mt4 platform be completely removed to trade on Mt5
void OnTick() { double ADX = iADX(NULL, 120,14,PRICE_CLOSE,MODE_MAIN,0); Print("ADX : ", ADX); } I just want to get the ADX of 2 hours timeframe but it always return zero. I think this is a bug from MQL4 because I researched the web and many people have the same problem with no one solving the