Fernando Jose Velasco Borea
Fernando Jose Velasco Borea
  • Information
6+ years
experience
3
products
41
demo versions
0
jobs
0
signals
0
subscribers
Fernando Jose Velasco Borea
Added topic Question about backspace key event for graphical objects
Hey everyone! I'm aware MT4 has the backspace shortcut to delete the last created object. Even though this might be useful in some cases, when creating input fields for graphical panels it presents the issue where deleting a character will also
Fernando Jose Velasco Borea
Left feedback to developer for job Looking for EasyAndFastGUI v2.00 library or someone that can adapt and optimize the last v1 version to work in MT4 and MT5
Fernando Jose Velasco Borea
Added topic Communicating between terminals
Hey all! I'm starting a personal project, a custom copier that supports MT4 to MT5 (and viceversa) communication. I'm aware that on MT4's case the common folder can be used to store and read info between terminals , howeve I couldn't find anything
Fernando Jose Velasco Borea
Added topic Issue while trying to print long values and ulong values
Hey all,  I'm experimenting with accessing the deal history, however, I can't seem to get the correct format specifier to properly display long values. Here's my code:    HistorySelect ( 0 , TimeCurrent ());      
Fernando Jose Velasco Borea
Added topic Retrieve profit by position, best practice?
Hey all! I have doubts about the best way to handle working with the trade history. I'm aware a single position can result in multiple deals when closing it. For example, if I'm looking for coding a martingale system based on closed trades, what
Fernando Jose Velasco Borea
Added topic Modularizing code: Same #include into various files, does it negatively affect performance?
Hey all! I'm doing a refactoring of my code base to improve my developer experience. I just had a thought and struggled to find any relevant information to get some clarity. Suppose the following: A base file exists, containing various defines and
Fernando Jose Velasco Borea
Added topic Trade arrows when EA executes a trade. Color parameter not available in MQL5?
Hey all! I've been trying to find some information about this but haven't had any luck. The OrderSend() function in MQL4 allows us to pass an argument to set the color of an arrow when a trade is executed. I find that very useful to diagnose bugs on
Fernando Jose Velasco Borea
Added topic Calculate average entry price
Hey all! I've found that the most common method used for the average price calculation is: Sum of (Volume * entry price) / Sum of (Volume) This works just fine if all the trades are long or short. I read that if you do have long and short trades (
Fernando Jose Velasco Borea
Added topic Indicators: Need help understanding lookback set-up
Hey all! I've been playing again with indicators, specially using the new events handler method with OnCalculate() instead of using IndicatorCounted(). I'm having some difficulties to fully understand why it works, here's the code: // Here, limit is
Fernando Jose Velasco Borea
Added topic Classes, Objects and Memory Management question
Hey all! I'm using some libraries from the standard library in MQL5. Yet, I have some questions about some things related to performance. I'm mainly playing with CPositionInfo at the moment, my questions are the following: 1- Is there any
Fernando Jose Velasco Borea
Added topic Graphical Interfaces and Windows scaling in high res screens.
Hello everybody, I'm sure this has been discussed before but I can't seem to find the thread where I saw this topic. Could someone point me to a Market product, article or forum thread where the Windows Scale and Layout is considered when creating a
Fernando Jose Velasco Borea
Added topic Classes, call method from parent class that has the same name from child class
Hey y'all I'm facing a rather frustrating challenge. Consider the following: CAdmin is a parent class. CNotify inherets CAdmin, therefore, is a child from CAdmin. Both classes have a function called Function(void). CAdmin declaration of
Fernando Jose Velasco Borea
Added topic Lines that move in group sample
Hey all! I've been reading a ton of really good articles on GUI examples, and I'm trying to find one that shows a sample implementation of a risk reward like tool, pretty much just drawing 3 lines, and if you move, let's say the middle one (entry)
Fernando Jose Velasco Borea
Added topic Articles regarding GUI panels applied to MT4?
Hello! I've been reading some great articles to build GUIs on MT5, such as this one: https://www.mql5.com/en/articles/7892 Can someone point me out to some similar articles building GUIs for MT4? I've been searching for several hours and haven't
Fernando Jose Velasco Borea
Added topic Issue with indicator, plotting when loaded but not when a new bar is generated.
Hello! I have an issue with my indicator and I'm almost sure it's due to the way I am performing the look back. My problem is basically that when the indicator is loaded, it plots on the chart without issues, but when new bars forms, it doesn't
Fernando Jose Velasco Borea
Added topic Array out of range error
Hello!  I have the following indicator: int OnCalculate ( const int rates_total,                  const int prev_calculated
Fernando Jose Velasco Borea
Added topic Issue with History Center
Hello! I'm trying to download data for several pairs, but quite often I got the download interrupted and I have to click again several times on the download button for it to resume and eventually finish, I tried it on other MT4 instance and it didn't
Fernando Jose Velasco Borea
Added topic How to read object width size?
Hello all!  I want to set an info panel on my EA, and I want it to have a rectangle as a background with text over it. Now, everything seems to be OK, but when a line of text gets larger, and my code tries to read the size, the ObjectGet()
Fernando Jose Velasco Borea
Added topic How to answer politely to the "I give you my strategy for free, you code it for free"?
Hey all! How to answer politely to the "I give you my strategy for free, you code it for free"? I just want to hear some opinions about coding EAs and well, I do understand why a straight no is the answer to a proposal like that from a "client". You
Fernando Jose Velasco Borea
Added topic Quick question on partial close
Hello, I'm developing an EA that needs partial order closing. In the past I've just split the initial order volume into 2 separate orders, but now I'm trying to actually close a part of the trade calculating the amount of lots to be closed. My main
123