Gholamhossein Eslamizadeh
Gholamhossein Eslamizadeh
Gholamhossein Eslamizadeh
Added topic error 4756 No price
Hi i have writen an expert which auto trade. it has been working just fine until today that I got This error: GBPCAD error 4756  comment: No prices retcode=10021  deal=0  order=0 Symbol: GBPCAD   OP: 1.58795  sl: 1.4874
Gholamhossein Eslamizadeh
Added topic Handling worst case senario may EA fail
I have plan to Handle scenarios may cause Expert malfunctioning. This is Error codes may return in the run time. However, I want to handle these errors and some may not even Return errors. I made this topic to be a start point for something big and
Gholamhossein Eslamizadeh
Added topic CalendarValueHistoryByEvent Cannot get data
Hi, I want to Read History calendar but it cannot be loaded from 2017 to 2022 there is no data in this period I have tested it on several brokers same result.  event_id=840030016 is for Nonfarm payrolls   datetime date_from = D'2017.01.17';
Gholamhossein Eslamizadeh
Added topic "timer" not working in indicator when it is added to chart by an expert
I was developing an expert that should add an indicator to a fresh opened chart when some conditions  are  met     it is not a complex thing just an indicator  int OnInit ( void )   { ResetLastError ();   
Gholamhossein Eslamizadeh
Added topic change indicator buffer's color from expert
I add several instance of an indicator by using this command: ChartIndicatorAdd ( 0 , 0 ,handle); from an expert. all of the buffer's color are default and kind of ugly and wage. I should change their color. how to access  INDICATOR_COLOR_INDEX
Gholamhossein Eslamizadeh
Added topic a copy trading solution without running server
Hi, I want to write a program that copy every trade I execute, on 2000 client accounts with specific modification on lot size based on their free margin. However, Clients don't want to keep their pc running or server requirement. 1-Does broker
Gholamhossein Eslamizadeh
Added topic reference an Array object to dereference old one.
Hi, I have an array object named   "a" , after Appling a function to it, array object named "b" will be produced, for speed up proposes  I want to assign b pointer to a and free up  memory used by "a". can any body help please. void
Gholamhossein Eslamizadeh
Added topic how fix metaquotes id is null problem???
Hi , I am trying to send notifications to my android , I logged in to my account in the device but there is no MQID. why id is null and how can I fix it , I logged into mql5.com account and my Meta-trader demo account , and they are working ok, i
Gholamhossein Eslamizadeh
Added topic default value of Indicator
Hi , I am using an indicator (MQL4) which one of its input argument is mystery Enum! I could not figure out how to input its value I thinks it is something like this :  enum ENUM_NAME{ item1 = 50 , item2 = 100 , . . . } as you can see items
Gholamhossein Eslamizadeh
Added topic indicator output for custom timeframe
Hi, I have plan to feed custom timeframe like 45 minutes to indicator and get output. lets say Heiken-Ashi. Can you show me an standard method to do this. just a hint is more than enough thanks. int handle = iCustom (_symbol, PERIOD_M45
Gholamhossein Eslamizadeh
Added topic Access to Alert items Onclick event
Hello, I want to define OnClick event for items of Alert menu is it possible? To elucidates, in certain situations my indicator will alert to the user, then the user can choose recent alert from alert menu list and my indicator noticed that and do
Gholamhossein Eslamizadeh
Added topic Load Indicator in a new Chart in MQL4
Hi , can anyone kindly demonstrates how should I  load Indicator in a new Chart in MQL4. I want to open a new chart customize it and load some indicators with custom parameter. ( it is not possible with templates). I am  using indicator
Gholamhossein Eslamizadeh
Added topic Mouse scroll wheel event
Hi dear developers I am in a hot water and need help with a Mouse scroll wheel event! To illuminate, I want to catch this event like other events( like click, drag and etc.)  Can you kindly lead me to the right direction? Thanks in advance
Gholamhossein Eslamizadeh
Added topic iBars function return 0
Hi , I faced a problem I want to use iBars function and give symbol  name   parameter from an array to this function but it return 0. On the other hand ,when I use Symbol() it works without any problem . can you guys kindly tell
Gholamhossein Eslamizadeh
Added topic icustom mql5 returns wrog values
Hi, I am trying to use iCustom and I get wrong results can anybudy help me . thanks. //+------------------------------------------------------------------+
Gholamhossein Eslamizadeh
Added topic Resize Timeseries Array
Hi every one, I defined an Array , then set it as a timeseries, then resize it !  As mentioned in the document it should serve as a reverse index Array but when I resize it , new allocated memory index is at the end instead of at the beginning
Gholamhossein Eslamizadeh
Added topic how change custom indicator window
Hi, when you drop indicator, expert, script on chart there is a window pop up, How can I customize that window? Specifically, I want to omit common and color tab, and make a new tab and design its objects etc. On top of that how can I design a menu
Gholamhossein Eslamizadeh
Added topic use static variable inside class across instances
Hi,  I want to declare static field inside a class and access it across many instances. ( like java ) . but i see there are some practical limitaions! that I couldn't figure out!!! I know how it can be used in function but i want to use it as
Gholamhossein Eslamizadeh
Added topic Create objects with continuous time value
hello I have plan to write a very accurate indicator but default objects can only created on the discrete time intervals! for example  OBJ_VLINE   cannot created between two bars! but I am sure there is a way which I could not find yet
Gholamhossein Eslamizadeh
Registered at MQL5.community