MQL4 and MetaTrader 4 - page 320

How-to? If one buffer's value is from 0 to 100, it will fill the entire window, if another buffer's value is from 0 to 10, it will be 1/10th of the window. I need the both buffers scale independent from each other
I rented an indicator that looked promising . It required that an URL be added to the list under expert advisors in options. Every time I add the URL when I press OK it disappears . I talked to the maker and they couldn't figure it out . I talked to my broker they said uninstall and reinstall . I
hi every one I use below codes to show candle time in 3 time frame It shows time like M 0:25 M5 1:25 M15 12:25 but I want it shows time like M 00:25 M5
Hi, I am trying to figure out a way to write a MQL4 a kind of Hedging to compensate for an order that wen bad. I will detail. Order 1 - Buy EURUSD at 1.09310 with TP at 1.09331 (21 pips) with LotSize = 0.1. This order backfires and the Virtual Stop Loss, that is not a Stop Loss in my case but a
  ticket  (3)
Hi all, is it correct this way to proceed? I don't understand why sometimes the global varibale is properly stored, and other times no. Thank you! if (Long_Market) { ticket_long = OrderSend(Symbol(),OP_BUY,Lots_Long,Entry_Price,NULL,Stop_Long,Take_Profit_3_,"Market",1,0,Green) ;
I would like to know how to show MA cross-over at MA cross level (at the lines) NOT at the price level (at the candles).. I was looking for some sort of function like " SetIndexPosition(Absolute) " i.e. would display the drawing (e.g. arrow or circle) exactly where the cross happened. Is there a way
Usually when you create a panel it cannot be dragged outside the MT4 window, which is not always the best because it takes up room over the chart, and if its a large panel it covers a lot of the chart. My broker GoMarkets supplied me .ex4 files that go in the MQL4\experts folder with all the other
Hi, I would like to display the value of an indicator instead of its index value. Here is the code that I have created. Somehow, it only display the index number. I would like to display the value of the index. For this code, I am using the Bulls Power indicator. //highestValueForBulls double
Creating array: string currency[]={"EURUSD","GBPUSD","USDCAD","USDCHF","USDJPY","AUDUSD"}; Assigning another values to existing variable: // currency[]={"EURUSD","GBPUSD","USDCAD","USDCHF","USDJPY","AUDUSD"}; ? // error How to
  Writing to file  (10)
Hi friends, int filehandle0l=FileOpen(File_Name1,FILE_TXT|FILE_WRITE|FILE_READ|FILE_SHARE_READ); if(filehandle0l!=INVALID_HANDLE) { FileSeek(filehandle0l,0,SEEK_END); FileWrite(filehandle0l,"a");
Hi guys, can some one can help me to insert Alert Email on this indicator? I have try the simple way SendMail (ecc) with Alert popup, but like this send always mail in loop.. I need to send 1 Email with Pair, Subject that's, i think is easy for all of you.. :) Thanks all! EDIT: i done it myself :)
Hello Guys, i am getting crazy with Renko charts. I have correctly generated a Renko charts, but every ea that i code doesn't wor there. OnTick seems not working, also Start, i have tried this init(){ EventSetTimer(1);}deinit(){ EventKillTimer();}void OnTimer(){ ChartRedraw();
void SellStop(double price,int MagN,double LotSize,datetime expiration=0,double sl=0,double tp=0,string comment=NULL) { double stoplevel=MarketInfo(_Symbol,MODE_STOPLEVEL)*Point(); price=NormalizePrice(MathMin(price,Bid-stoplevel));//===============================|| SELL
I've created an indicator that put automatically orizontal lines on the mt4 platform in oder to indentify targets. But, if later i draw a separated trendline and then I change timeframe,the trendline and everythings else I have on the platforms (like comments) goes away... Is there someone that
Hi I am using ADX cross EA. At the moment it buys and sells only when +DI and -DI crosses. Could someone please help as below If No trades exist then place trade based on LAST +Di and -DI cross. I have tried to store the last cross signal value in "static double" under void OnTick(void), BUT ITS
Bonjour à tous, First, let me thank you all for the fantastic job done there. I use the MT4 ADMI indicator in Multiple time frame analysis on the forex market but it consumes to much time/energy to do this manually. So, is it possible to build an ADMI EA which alert me when these conditions are
  Smtp gmx mt4  (3)
I have enabled smtp access in settings of gmx. However I get test message failed. Is this the correct configuration for gmx mt4 smtp settings? Also, On the gmx setting page where can I find "Send and receive emails via external program"?
Hello, Could you help me? Possible to send hotkey from an EA or from an indicator? For example F11 for switch fullscreen, or CTRL+F5 for next profile. Thank you. Steve
I will write an advisor (not an indicator) of any complexity. The main thing that the idea was good. How you will use it I do not care: will sell - do not mind (I will not ask for money)
hello guys please help i got EA candle open ..i try to add button long and short but button not working ..if i press button long or button Sell not working..please help.. what should i do
I am looking for an order entry management tool for MT4 that allows me to split 1 lot into ten 0.1 lots (limit orders) with various TP and same SL. Ideally, there is an option to stagger the limit orders as well (e.g with 0.3 pip interval) If you are a price action trader, I am basically looking to...
[Deleted]
Hello to all traders, I am looking for a too/ea/pluginl that allows me to place multiple orders simultaneously with individual settings. example of what i am looking for: this tool allows me to trade maybe aud/usd - eur/usd - nzd/usd - usd/chf at the same time by simply entering individual settings...
I'm writing an EA based on a strategy that uses several predetermined levels to open orders, so the EA needs to manage several orders at once and make sure only one order is opened per price bar, per level so if there are 4 levels a maximum of 4 orders can be opened per price bar, more orders can be...
[Deleted]
Is it possible to create some tracker expert, that will monitor open orders andwill select appropriate order and close it when certain conditions are met ?
Hi, let's assume i know how to create pending orders, i am sending two pending orders, above and below a price level plus a distance, once the pending orders ar set, could you help me with the flow? i mean, no code needed, just the steps to manage this orders correctly, and coding by myself. When...
I am trying to test ea on open prices only from 2015.1.1 to 2020.4.7 but MT4 is skipping years and tests only 2015.1.1 to 2017.8.7 chart H1 H4 when I use M1 open prices only then it works fine how to fix this? Every tick test works fine for any period GBPUSD60 - 7 MB GBPUSD1 - 380 MB with or without
Hi All, So I have this simple code that Alerts the Value of DEMA . However when you look at the chart the trendline doesn't seem to hit the correct value of DEMA. Here's the simple code: #property copyright "Copyright 2020, Arcee P. Palabrica" #property link "https://www.mql5.com" #property
Hi everyone, I have a question which has come from recently not being able to place market orders with my broker to the insane volatility. I was unable to place market executions to open or to close trades, however if I placed a pending open order it would work as well as having SL and TP orders in
  Help me with a code  (14   1 2)
I am finally trying to take the first steps with programming and I am inserting a lot calculator system on one of my EAs that does not have one. The code is this. extern double LotSize = 0.01 ; extern bool UseMM = false ; extern int Risk = 1 ;
hi every one I use below Indicator to show candles time in all frame time now I want when 10 seconds left until the end it changes font color to Red can anyone help me ? Best regards Neda