I need to loop through the open orders and add up the pips to get a total. I have discovered 2 problems with my current code below, 1 - I failed to consider that the EA may be on a symbol that is 4 digit or 2 digit and it may be on a broker with the
This is driving me nuts, I have been looking for months now for an existing algorythem that does nothing more than calculate the Price Per Pip, regardless of the pair it is on. I have found 2 really good money management strategies that are both
I know you can set the background for a chart, still trying to find the exact code, but I am sure it is there, however, what I am really interested in is the ability to change the background on a text label so that the text does not bleed or get
The indicator Measures the distance between the Bollinger Bands ® and providing it as a singular indicator, using the MetaTrader 5 techniques to simplify Bollinger calculations.
I am taking my first jab at creating indicators on MT5. My impression is that I can reuse a lot of the functionality of other existing tools. So my thought here is that I wanted to try and recreate the Bollinger Bandwidth indicator.
In some scenarios of Automation strategies, we would like to be able to create a Master or Central management chart. It is not assigned to any one symbol, but to all charts that is designated as master by it. For example, assume a 3 ring
While you are working on improving with MT5, I would like to recommend that in the client, each indicator have a sheet in the properties devoted to designers instructions, intent of use, description, URL to a detailed use of the
Ok, I have written a couple of indicators that deal or address currency ring trading. One of them uses the iADX of each symbol in the given currency pair to show the iADX of each of the pairs in a single indicator. When the conditions are right, they
I am collecting the users input for the name of 3 symbols. They MUST match the name of the symbol as the broker displays them. Later, I do a comparrison between the text provided by the user with the name of the Symbol, like the following
I have 2 pieces of data that I need to put into an array, then sort it. First I split the orders into two arrays the first array is for buys the other is for sells. When I do so, I am collecting the OrderTicket so later I can perform an execution on
Is it possible to put 3 symbols on one chart or possibly place 3 symbol feeds on an indicator I can place on a chart? OR just be able to put 3 symbols on a single indicator
I have another interesting project. My first assumption was to run it as an EA, but due to the nature of it, I think a script may be a better way to fire off this action. Assumptions: A CSV file exists that contains rows of data, the data is in this
It really frustrates me that the MQL4, does not provide for time calculations, or even to say the least, the abilityt o pinpoint a specific time based off of GMT. Someone out there must have built a tool that calculates a targeted time based off of
I find myself in the need of understanding PSARs better. In a particular strategy I am using I have tried to code opening of trades based on use of PSARs. In one version, if I want to place a buy, I check the PSAR to see if it is above or below the
I have seen other entries about this, but none seemed to address a solution to what I am seeing. I want to stop opening new trades on Thursday night at 2300 hours. Then on Friday prior to market close, say by an hour, I want to close all open trades
In the image below, I have 3 trades that have read the signal and entered themselves. In a normal bollginger behavior while channeling, these signal would have been considered perfect, however, these are false signals as they are placing buys while
I have a tool that I am going to attempt to make that obtains the difference between two time stamps. If the difference is greater than x hours, I want to take action on the trade. A good example of this, is a trade has been open in the market for
I have some clients using my EA. I wrote it in ENU/USD. I perform the following formula to determine lot size, is it possible that this will work fine with lot sizes of around .30 or less in USD and in Russian, it could be more like .80 up to 1 lot