MQL4 and MetaTrader 4 - page 36

  I want  (3)
I want to use auto lot sizing like this : balance 1000 - 1999 lot 0.01 balance 2000 - 2999 lot 0.02 balance 3000 - 3999 lot 0.03 I am already used " % of balance => lot 100% " and it gives me lot 0.01 on balance 1000 .. but when the balance exceed 1500 the lot becomes 0.02 and when balance becomes
Is there an economic calendar out there for an expert advisor to refer to or is there a way to create one on Meta Trader 4
//---------------------------------------------- Input parameters ---! input double StartLotSize = 0.01 ; // The starting lot size input double StartBalance = 100.0 ; // The starting balance //---------------------------------------------- Money management ---! double
Here is a profitable professional system using free indicators from this site.I would like to give something back to the people , who made these free indicators, and the people who help a lot.This is some professional knowledge input into this system Enter/ OPEN TRADE   when all indicators, moving...
  Dpo Ea  (4)
Hi Scorpion and everybody. I wrote this EA based on DPO indicator,but my programming is bad. Anyone can Rewrote this EA w/this settings: DPO period=120 Buy Level= 0.0030 Sell Level= -0.0030 TP=250 EURUSD/GBPUSD 300 or more SL=100 TS=? May be Required,but in my backtest is running ok without SL. Best...
I log into my accounts and it shows the right info, but as soon as I try to open a trade it malfunctions: it doesn't even show me the currency of the trade I'm about to open, nor does it let me change it. I've been using this app for over a year and it's never given me any trouble, so I don't know
Does any one know a news indicator that has previous, forecast and actual values of events and these values can be extracted or used through an expert advisor
My intention is to make an EA Mql 4, which in my example at least closes half of the position at 4 pips and let the rest of the initial lot run, this is what I did, it works well but sometimes not... For example, sometimes the half of position is closed , a second after the position is opened! . I
Hello what does it mean this expression?...I'm confused with ? : etc. double price = (type == OP_SELL) ? Ask : Bid;
I would like to shade the area between two emas. I know there has been some discussion on this, but I can't find the right solution... I just bought a dell alienware, and it has a 4k screen. So I thought I would mention that I am dealing with high resolution. However, there are two ichimoku...
i will be thankful if anyone can solve an issue with the indicator. i downloaded an indicator "GridBuilder" (attached). it is very nice indicator for grid trading. it  automatically draw linen at given distance in pips/points. but the problem is, it draw lines sometimes above the current price only...
Hello, I bought an EA from the market but when i try to install it on my MT4 platform it says "installation is failed". Can someone help me? Is there any specific settings that must be done on the MT4 platform so i can install the EA? Thank you
I need to run a script during the last run of an ea in the strategy tester. The program should loop through start and during the last run of the start program the script should be executed. If I could predetermine the number of times the start program will run I could create a counter and execute
Hi, I'm trying to read values with OrderSelect active orders only, but when I have pending orders, the code read thei values also. Can somebody help with OrderSelect function to ignore pending order values when I have some, but I don't need their values
Dear Friends, The indicator code is buy Arrow and sell Arrow main signal. Need to modification for after buy arrow signal then next all candles show the buy Arrow (Up Arrow). if main signal sell Arrow created by the indicator next all candles show the sell Arrow (Down Arrow). With Alert for all
Hi! MT4 asks me for conformation when I want to manually close a position, how to change that to NO conformation and direct close the trade? Thanks in advance
[Deleted]
Hi guys,  I have indicator sending notifications.  I want to limit sending notifications to one or "n" per Period set on chart.  Do you have any idea how to limit it? Thanks for help in advance. 
hi, i want set buylimit or selllimit but the price is not run. And sleep it's not run. How can i do ? Thanks //+------------------------------------------------------------------+ //| MACD Sample.mq4 | //| Copyright 2005-2014
Hello friends, Let's say I have an EA, the code is already optimized for back test speed and I do not want to change the code, 1. Which hardware specifications are important for back test speed? 2. My EA is coded in mql4, it is trading all 28 major and cross currency pairs at the same time. Of
Hi As you may know there is option called Configuration at Startup file in this link https://www.metatrader4.com/en/trading-platform/help/service/start_conf_file which you can login you traindg account automatically or run an EA ; common settings Profile=test 3 MarketWatch=set2.set Login= ${
Bar open times are changing retroactively 2023.07.20 22:00 is now 2023.07.20 22:01 2023.07.20 22:15 is now 2023.07.20 22:16 and so on until 2023.07.20 23:46
Hi, I wanted to use my EA for EURUSD and also buy an position in this EA from GBPUSD. But I am getting the OrderSend error 4106. Can't I open a position from another symbol??
  Elite indicators :)  (15187   1 2 3 4 5 ... 1518 1519)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert
How do I set the following indicator parameters via MQL4 code in a custom indicator? The only property that I have been able to find that seemed appropriate was only for the main chart and not the custom indicator window ChartSetInteger ( 1 , CHART_SCALEFIX , 0 , true ); ChartSetDouble ( 1
Curious if these the same ? I assume the compound operators need to be in brackets, but I've seen code written this way and wondered why ? Please confirm thanks if (A_high()) ObjectSet( "B6" , OBJPROP_BGCOLOR , clrRed ); else { ObjectSet( "B6" , OBJPROP_BGCOLOR , clrBlack );
I'm asking generically for concept ideas because I don't really understand where to start. I'm trying to figure out how to toggle multiple indicators for EA backtesting so that I don't have to change each comparison line in the the code everytime. I was thinking perhaps bool properties for
Dear Guys I write a code on OnTimer() . EA open trade on time. so i write this code on there. but when i try to backtest this EA all code within OnTimer() not work. How can i do some thing that OnTimer() code work on backtest. Thanks.
Hi when i run a library of Bernd Kreuss base64 //+------------------------------------------------------------------+ //| Encoding data in base64 | //+------------------------------------------------------------------+ void _Base64Encode( string in , string &
  EA Won't Stop  (2)
I have an EA running but today I wanted to stop the EA so I pressed the AutoTrading button on MT4 but I just looked and it still traded today. It is running on a VPS should I disable the VPS to turn it off. And it should also not run on USD/CHF but it still does that some times. It feels like the EA