MQL4 and MetaTrader 4 - page 43

hi i look this tutorial https://www.forex.in.rs/jump-to-date-time-on-mt4 i try to go at 2019.09.03 08:00; but not move , exist some free indicator for do this ? or anyone can explain me why not move and remaning at today ?? what wrong ? thanks
Hello, i have a feeling that its not possible but anyway here i ask: can i pass dervied class by base class pointer: Thanks for help example: class BaseClass { bla bla bla; }; class DerivedClass : private BaseClass { bla bla bla; }; void myFunction(BaseClass* blabla) } bla
Then signal providing doesn't work, while there is no problem with my broker or MT4😬
Hi i try to use in my EA the combo shift + mouse left click i build a EA in this mode (i write only a part because is so long a script but if someone want all i can past ) if (id == CHARTEVENT_CLICK ) { //--- Prepare variables int x = ( int )lparam; int
hi , i have a script with one button i want when i push it want execute a function , how is possible do that ? //+------------------------------------------------------------------+ //| BUTTONCLICK.mq4 | //| Copyright
When i use two code below, i get zero (0) return. I using it in OnTimer: double bid = SymbolInfoDouble (symbol_1, SYMBOL_BID ); double ask = SymbolInfoDouble (symbol_1, SYMBOL_ASK ); This is my full code: void Make_Type_4( string symbol_1, double vol, string type_comment, int type_buy_sell, double
Hi, I get undeclared indentifier for A when printing from void type. void down_count() { for ( int i= 0 ; i < 50 ; i++) { double histo = iCustom ( NULL , 0 , "MACD True" , 2 ,i); double val1 = iFractals ( NULL , 0 , MODE_UPPER, i); if (histo < 0 && val1 != 0 )
hi i want doing a differential variation percentage, i build a part of script in this mode int shift = iBarShift (Cross_Correlato, 0 , dt); Print ("index of the bar for the time ", TimeToStr(dt), " is ", shift); Print ("NZD ", iOpen (Cross_Correlato
  Make a Fibo line disappear  (17   1 2)
Hello, I'm working on an indicator and using the fibo tool to plot lines. Everything works as I want except one minor thing. I would like to get rid of the fibo slanted line shown below in first screen shot.. In MT4, I can edit the object and pick Color = NONE and it disappears (see bottom screen...
I'm running an EA and MT4 Tester is calculating profit wrong. My account is in MXN pesos. I have a SL of 3,000 ticks and a TP of 10,000 ticks (USD/MXN), tick value is $1 MXN peso. In tester i'm using a spread of 2 (not real, just to vaidate profit results). See examples here and file attached....
Hi all I wonder if its possible to have OrdersTotal() on 2 different charts. I want to use OrdersTotal()==0 (if there's any alternative) for opening trades on different charts(Open 2 trades (buy & sell) on EUR/USD & 2 trades (buy & sell) GBP/USD). I tried several ways to for it to work but I'm not
I am unable to download any indicators from the market for MT4. When I select download, it will ask if I have MT4 installed then I select the "Yes I have MetaTrader 4 installed" button but then nothing happens afterwards. Please advise on how to resolve this
Hello! So, I have Expert Advisor that doesn't work and gives me those two errors: "Unexpected end of program" and "Unbalanced Parentheses". The Problem seems to be where the OnDeinit starts, but somehow whatever thing I try to do, I get more errors that I can't manage to fix... int OnInit()  {...
Hello! Faced with a problem... I wrote the calculation of the lot relative to the stop loss: double lot= NormalizeDouble ((risk_money/(dist/ _Point ))/tick_value, 2 ); where risk_money=$200; dist=0.00053; tick_value=1.0; Everything worked, but when the stop loss was triggered, it turned out to be
Hi All, I am creating a a simple manual trader with buy and sell buttons but cannot get the buttons to work in the tester.  I'm sure there is a secret to this.  Anyone that can help?
I'm using this EA News that I found here in the forum and I would like to know if someone could help in some way to improve it. Put in a filter that allows you to choose exactly which currency pairs and high impact news you want to put in each currency pair by the name of the news. I'm asking for
I have this indicator code but it does not display any data on chart (in form of histograms). please some one should check it out for me #property indicator_separate_window #property indicator_levelcolor DimGray #property indicator_buffers 2 #property indicator_color1 Green #property
// delete pending order if (OrderDelete(ticket)) return ( 1 ); }
Dear all, I am creating my system to open two pending orders - BuyStop and SellStop Next, I want it to Close or Delete one of the Stop order when Buy or Sell is executed. Example: Case 1: BuyStop and SellStop are Placed BuyStop is executed - Buy. Then, SellStop should be closed. Case 2: BuyStop and
I tried this but it doesn't work. ChartSetInteger ( 0 , CHART_WINDOW_IS_VISIBLE , ChartWindowFind (), 0 );
Good day dear colleagues. Please help me with the following problem: I collect data into 2 arrays ( iClose[i]-iClose[i+1] ) and, depending on > or < 0, distribute them. Next, I need to find the average value, I sum them over a certain period. And then I divide by this period. But when dividing by a
This old indicator works fine the moment it is attached to chart (works fine for historical data). but it needs continuous chart refresh to work correctly ( works incorrectly for new data). help appreciated
Hi All... Is there can help to create EA as below request. 1) MT4 will automatic place 5 BUY pending order & 5 SELL pending order when server time reach 08:00 2) All order come with TP 100-150 pips.   3) All pending order not execute will delete at server time 00:00 4) Gap every order are 50 pips...
  News Trader EA  (1269   1 2 3 4 5 ... 126 127)
This is News Trader EA created by Igorad. Besides, we may use this EA to draw the lines with text on the chart when the news coming. Explanation of the settings and how to use this EA you may find in the next posts. ---------------------------------------------- Version 2. - Please find attached the
So every time I try to change my Investor Password in MT4 (by hitting control + O, then server, then change password) I get the ominous MT4 "error sound". I called my Broker (Forex.com) and they said I can't change the MT4 password because they do not provide/support those :( I want to provide trade
Hello, I am trying to use the .SRV file from my broker to set up an account using MetaApi Cloud, but for some reason it is missing from its expected location. You can see from this link that this is where it should be: https://fx-list.com/find-metatrader-srv-file I have been able to find it here in
Why can’t debugging in history data be used in MT4’s metaeditor, and the historical data analysis button is also grayed out and cannot be used
Hi All, I have been hearing different opinions on this. Can someone advise me: Is it better to run multiple EAs per MT4 account (opened at separate charts), or one EA per MT4 account? I am using VPS btw. Thanks
[Deleted]
  Range not behaving as expected  (22   1 2 3)
Goodmorning all.  I'm trying to create a "dynamic" range using ArrayMax/Min - aseach new bar comes in (and assuming some other criteria are met) the range extends in length - to achieve this I have elected to create a variable, the value of which changes upon each new candle (and some other...
AppData\Roaming\MetaQuotes\Terminal\46A834A4BD020127C05B0DA2582F8F5C\history\TradersWay-Live 2\EURUSD60.hst I delete this file then run the strategy tester, and the new history successfully download and run. Therefore, after ea test for couple days, it stop the testing and close all the position