MQL4 and MetaTrader 4 - page 84

Placing an order on mt4 If I try to place an order for lets say Aud/Cad it will not let me do that If I put more the 9 cents if I put 50 cents it kicks it out and says Not Enough Money I put a 20 pip stop lose and 30 pip take profit and I have $400.00 in the account so can some one tell me what to
Hi everyone Is it possible to send/receive some string data's between python and mql4/5 program? If yes how can i get it? Any idea? So Tnx
HI, Im new to using meta trader 4 and I have account set up and logged in yet when I try to open trade when I click on the forex pair the new order tab is ghosted, or is there an online chat I can contact as it seems impossible to find their customer services
Hi all, Need a help with this. When the EA closes the first Buy trade, it goes crazy. Am i missing something? Thx a lot! int TicketBuy10; double Lots10 = 1.0 ; double Buy10Profit = 200; // 200.00 = 20.00 pips int OnInit () { return ( INIT_SUCCEEDED ); } void OnTick () {
Hello, I am beginner of EA. I would like to write simple EA to open new buy/sell market order right after the trailing stop loss is closed. I already have free trailing stop EA. I appreciate if someone can help me. Regards, VNCIS
Hi fellows, how do I make a indicator to mark a rectangle like this for H1 candle on 8.00 AM MYT time (my local time)? Thanks
I have 4 charts setup with my EA on an MT4 terminal. A portion of the code needs to generate a random number, which will then be used as the interval for a timer. This is done to prevent the 4 charts from writing to a particular terminal global variable at the same time. This is my code to
When I run this EA, it keeps repeating orders and payments. And only for sell orders. It works fine for buy orders. The logic of this EA is simple. Enter when the price reaches the Bollinger Bands. Close when price reaches SMA. Please tell me what to do. extern int BB_period = 25 ; extern double
Hi forum, I'm eager to build my first bot so decided to start with something simple. I'd like to create a RSI EA but have it run on a one-second timeframe. I've watched a YouTube video and I think I can manage building a standard RSI EA to get myself started but in the 'On Tick' section, it's taking
Hello everyone! Is it possible to get a VWAP indicator on MT4
EntrySignal = 0 ; if (isNewTechnicalAnalysisBar) { for ( int i = 0 ; i < MAX_ENTRY_LOGICS; ++i) { EntrySignal += EntryLogic[i](); } EntrySignal = (EntrySignal >= MinEntrySignals) ? 1 : (EntrySignal <= -MinEntrySignals) ? - 1 : 0 ; } I get the
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