MQL4 and MetaTrader 4 - page 246

Hello All! I am trying to add an indicator from my laptop to the mql5/mql4 web terminal. What steps show I take so that I can use my indicators on the mql4 web terminal. Thank you, Marshon
Hi, I can not test the advisor for a year, when I enter the date 2019.01.01 - 2021.01.01, then for some reason the visualization has been going on since December 9, 2020. The metatrader is naked, didn’t set up anything, just downloaded MT4, downloaded the Expert Advisor, and went to test
Hi, I'd like to use a RPi or something similar (cheap and low power) to run Metatrader 4 trading software. The device and software will be running 24/7 - 365, hence why I'm looking for something low power. So far so good.....However, Metatrader 4 apparently only runs on x86 systems so a work around
Hello I have make mt4 panel with button.. I use control (button).. 1st round I click button for make 3 layer grid pending order (Buy Limit)..with gap 150 point each..Its works fine.. Then i click delete button for delete 3 layer pending order (Buy Limit) Then I want click button again for make 3
  notification  (1)
it's a couple of week that i can't receive notifitations on mt4 app on iphone
Good Day All Please assist on the following, how do i write a code that will alert that " The Ask > 1.25654 and it has spent 30minutes trading at the level or not ". I want to receive an alert if the market (ASK / BID) is above a certain price level and has spent so much time at the level. Thank you
[Deleted]
  Ordersend errors  (3)
Good day Actually I'm working on EA based on several Indicators signal , I'm facing the following issues with this project When I try to add multiple currency string my input ENUM_TIMEFRAMES time_frame =PERIOD_H1 will start to indicate error Also ordersend implementation not working also please
Hi! I want to test EURNZD on H1 from 2018.01.01 to 2021.01.31. After I setup the EA and start, first transaction is with Time 2020.10.26. How should I test my EA for year 2018, 2019, 2020
Is there any way to delete the Account History [ie the complete Trade History] in a Demo account. I can always open a new account, but I'm hoping there is a more efficient method, for example, deleting one file.
Hi write a simple indicator with a buffer inside: #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 clrBlue #property indicator_type1 DRAW_ARROW #property indicator_style1 STYLE_SOLID #property indicator_width1 3 double Morning[]; int newbars; int OnInit
Hey guys, i tried to make an EA out of an Indicator which show arrows on the chart or work with it. I want to buy ONCE at arrow up and sell when arrow down appears and sell at the same time again just ONCE. My EA buys like 50 times when an arrow appears an sells like a few seconds after it... my
Client Terminal Build and Version (32 or 64 bit) 32 build 701 Problem description CopyRates simple 2nd variation (by datetime,count) does not work Sequence of action Just a simple CopyRates string sym="GBPUSD"; datetime checkt=D'2014.09.22 04:00:00'; MqlRates rates[2]; int cpy=CopyRates(sym...
Hi guys, When I run my EA I have this error (OrderModify Error 1). Also there are some trades that get closed before they could be modified. So that you have an idea, TP and ST are at 30 pips (5 decimals broker) wich means 3 dolars of profit or loss. (0.01 Lots). When the price just reach 2.90,...
  WHY?  (3)
Why do the values on indicators differ between the chart and the Journal - or in other words why is there a difference between the values displayed in the indicator window and/or in the Data Window different than that reported in the Journal on which my transactions are based
Hi This should be simple, my code just draws an X under the OpenPrice of the last 100 candles. My code does this but it keeps clearing the previous X's I would like it to keep them on screen, as in I would like all 100 X's to stay on the screen. Thanks int x; string name = "text_object" ; void
for ( int x= 1 ;x< 50 ;x++) // GET CLOSES THAT ARE LOWER THAN PREVIOUS CANDLE'S CLOSE if ( iClose ( _Symbol , 0 ,x)< iClose ( _Symbol , 0 ,x+ 1 )) ClosesBelowPreviousArray[x]=x; // NOW WE ATTEMPT TO REMOVE ZEROS: for ( int x= 1 ;x< 50 ;x++) if (ClosesBelowPreviousArray[x]> 0
*****Problem Solved : Answer in #7 comment).***** --------------------------------------------------------------------------- Hey. I want to use iCustom to take ZigZag data for my variables. But after applying it to metatrader, it hangs up (not responding mode) and I have to close it. Mentioned part
Dear All, it happens that executing the EA in backtest inside MT4 build 1320 on Mex MB brocker the following order, with a ask=1.18401 is execute without error: OrderSend ( Symbol (),OP_BUYSTOP, 0.01 , 1.17983 ,Slippage, 0 , 1.18183 ,YourOrderComment,MagicNumber, 0 ,Green) The same above order with
Dear All, it happens that executing the EA in backtest inside MT4 build 1320 on Mex MB brocker the Print statement doesn't work inside OnInit(). By the way I tried to modify a global variabile inside the OnInit() and I can see the modification inside the OnTick() event, so I suppose the the OnInit()
It's executing the usemovetobreakeven() despite the code. Here are the photos
Hi With this code, I can close all the positions when, for example, (buy) when the profit is positive Now, when the close position is provided, I want the positions (buy) to be closed. If the profit is positive, it will be closed, plus the last position that is at a loss. I asked the professors for
[Deleted]
Hello How to change leverage in demo account ? Leverage was set at 1:100 and I want to change it at 1:5 Thank you.
  .chm file in MT4  (1)
hi, I'm using MetaEditor and MT4 via Wine and whenever I try to use the offline help, it crashes everything. Where would I locate the .chm file within the MT4 folders? I would like to access this with a CHM viewer. Thank you
all pending orders should be deleted if an active order is available ... what I'm doing wrong? for(pos = OrdersTotal()-1; pos >= 0 ; pos--) if (OrderSelect(pos, SELECT_BY_POS)&&  OrderMagicNumber()  == Magic&&  OrderSymbol()       == Symbol()){nOrders++;}if (OrdersTotal() > 0 &&...
Hello all please help me how to set text (trendline description) to my trendline?? this is my code: ObjectCreate("myObject", OBJ_TREND, 0, StartDate, price, EndDate, price); ObjectSet("myObject", OBJPROP_WIDTH, 1); ObjectSet("myObject", OBJPROP_COLOR, Red); ObjectSet("myObject",...
  API
Hi All, What API/Code is used have mt4 live trading resuts relfect onto myfxbook or anyvother trading matrix How do the two communicate? Thanks in advance
I am trading on VPS in EUR/USD with a fixed lot 0.01 and 60 c.u. on the "Always in the Market" principle on TF M1 without breaking forum rules and to avoid a ban or a "pre-ban". The maximum number of simultaneously opened orders is 200. The outcome of this experiment is also unknown to me. I implore
i am using EA, and i added Moving Average Indicator, now the applied price shows only PRICE_CLOSE to PRICE_WEIGHTED, but "Previous Indicator's data" is not available in the "stdlib". but it is available in metatrader. How to bring this to EA??...can anyone help me sort this out??....thanks in
Hi, This is the original mt4 Volumes Indicator. I would like somebody to help me change the color of neutral volume bars (open=close) to yellow. Or, if it’s an easy fix and you’re in mood to do it, I would appreciate it. Thank you, Attila
Hello, guys. How are you? I was finding an indicator that select the gaps -or in my trading methodology: Fair Value Gaps- but now I need to select the right bar of that gap. This is the code I am using for accomplish the gap: #property copyright "Akif TOKUZ and EarnForex.com" #property link
This website uses cookies. Learn more about our Cookies Policy.