parham.trader
parham.trader
parham.trader
Added topic MT4 installation need Proxy setting
Hi friends, I'm trying to install MT4 platform of different brokers and I faced a problem during installation.  I just installed metatrader 4 of some brokers without any problem but for some others at the final stage of the installation a window
parham.trader
Added topic Data folder and use of portable mode
Hi friends, I'm going to backtest my EA and converted one of my symbol's tickdata into .hst and .fxt and did a test to see how well it is working and I found out that my .hst and .fxt files are saved on the Data folder where is located in a different
parham.trader
Added topic Order Partial Closing
Hi friends, I coded to close my order partially - for example close only 2 lots of a 10 lots order- and then I found out that after the partial closing (closing some of the order lots) the order number has been changed into a new number. I also
parham.trader
Added topic double numbers
hi I'm working with double numbers and after I normalize them with the following formula, it still remains non-normalized and has some digits that I don't need them. I want to know is there anyway to assure that if the double has been normalized
parham.trader
Added topic MarketInfo(_Symbol,MODE_TICKVALUE) equal to zero ?!
Hi friends I wonder how could it be possible for "MarketInfo(_Symbol,MODE_TICKVALUE) " to be equal to zero? I've written the code below to calculate the broker's commission in point but sometime it takes the zero divide error !    double
parham.trader
Added topic Not showing trade-related arrows in EA
Hi friends, I would appreciate if anyone could help me how to stop my EA from drawing "Arrows" when sending order or modifying an order in EA. Thanking in advance
parham.trader
Added topic limitation on the total number of orders on real accounts
dear friends, hope you're all doing great I want to ask is there any limitation on the number of orders (opened and pending) that is set by the mt4 platform ? I heard from one of the broker's relationship manager that the max number of orders that
parham.trader
Added topic new candles after reconnecting to server
hi friends, I want to count the number of the new candles that have been formed after the server has been disconnected and reconnected again. I'm using the following code but in "M1" timeframe when I manually disconnect and reconnect after some
parham.trader
Added topic .ex4 protection on VPS
hi friends, Suppose I'm using my .ex4 file on VPS , and someone could steal my .ex4 file. what would be the best way to protect .ex4 file from these kind of issues? using the ACCOUNTNUMBER authentication in the code is the best and only way to
parham.trader
Added topic Draw Vline using buffers
hi friends Is it possible to draw Vertical Lines using buffers in a custom indicator ? thanking in advance for your guidance
parham.trader
Added topic getting the time of the candles that will be formed later
Hi friends, Is there any way you could suggest to get the datetime of the upcoming candle that are going to be formed later? for example on the daily timeframe (D1) I want to find the datetime of the candle that is going to be formed 20 candles since
parham.trader
Added topic #include and declaring global variables
Hi friends, I'm working on an EA and I'm going to lighten my EA code lines, so I decided to use the #include preprocessor and put some of my functions into the .mqh files and use them by putting the #include directive in my EA's code. I actually have
parham.trader
Added topic OrderSelect and OrderDelete
Hi friends, I've coded an EA that opens and deletes orders based on some situation. I'm saving the ticket number of the placed orders and by new ticks come in, I repeatedly check them for further calculations by using OrderSelect function with their
parham.trader
Added topic OrderModify effect on Order precedence hierarchy
Dear friends, I want to know how does modifying an order by OrderModify function affect the Order precedence hierarchy?  suppose that I put an order at 19:15 and afterward someone else put another order with the same price of mine at 19:25
parham.trader
Added topic enhance a source intensive algorithm
Hi friends, I'm using iCustom function to get the needed data and I want to put the received data in arrays, Here is the main problem : As I mentioned I want to get the data from my indicator and store them in Arrays. The data would differ from one
parham.trader
Added topic get the total number of indicator buffers used
Hi friends, I'd like to know how can I get the total number of indicator buffers I've used in my indicator. thanking in advance
parham.trader
Added topic using arrays names in a loop
Hi friends, I'm going to create a function to put some values in 6 different arrays simultaneously. I want to know whether it is possible to use a loop to get the name of the array and put the name of the mentioned array as the function parameter and
parham.trader
Added topic Array indexing and resizing an AS_SERIES array
hi friend, I've set an array to AS_SERIES indexing by using the ArraySetAsSeries(... ,True) and now I want to resize the mentioned array and add a new element to the very first index - at the extreme right side- of my array . would it be possible to
parham.trader
Added topic temporary Array out of range
hi friends, I found a problem regarding the array size in my Custom indicator . When I change my timeframe -for example change to M30- sometimes my indicator does not work properly it takes the error of " array out of range ", but when I manually
parham.trader
Added topic Naming a variable
Dear firends, I want to assign a name on a variable and I want the name to include the Timeframe or the symbol name of the current chart. As an example suppose that I'm running my indicator on "W1" timeframe so I want my variable name to be XYZ_W1
123