Fernando Morales
Fernando Morales
4.5 (16)
  • Information
5+ years
experience
4
products
107
demo versions
0
jobs
0
signals
0
subscribers
Fernando Morales
Added topic In Linux, force Metaeditor using MQL4
I got Metaeditor build 2375 in my MT4 install under Linux. When creating a MQH file Metaeditor uses MQL5 but I want to use MQL4. How can I force Metaeditor to using MQL4 in an MQH file
Fernando Morales
Added topic Unable to update an already published EA in The Market
Hello. I want to update my EA which is already published in the Market. The validation check passed correctly. However I'm unable to complete the update becase there is an error "Invalid price" What does it mean? Is it related to the tag price in the
Fernando Morales
Added topic Incomplete color settings in MT5 Metaeditor 2650
Hello I am unable to find how to change the colors affecting the popup in metaeditor 2650 Which of the following settings allow me to customise the popup colors
Fernando Morales
Added topic OrderModify gives error 1 even checking the TP values before
I have created this function to update the TP/SL of market orders. In tester it sometimes shows error 1 whereas the TP and new price are the same values. if TakeProfit() and _precio are the same, I expect the function to skip OrderModify(). Most
Fernando Morales
Left feedback to developer for job Create MQH for MT4/5 to allow sending text and photo to Twitter and Facebook
Fernando Morales
Published code Change SL/TP on chart drop off
This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.
· 3 12721 2855
Fernando Morales
Added topic Version error uploading an updated EX4 into Market
I am getting the following error when trying to upload version 3.91 of my EA. Is this a bug or am I not setting the version correctly in my EA? Thanks
Fernando Morales
Added topic How can I get the margin requirement of the symbol?
This function does return zero only SymbolInfoDouble ( _Symbol , SYMBOL_MARGIN_INITIAL ) Using the class CSymbolInfo does not work either #include <Trade\SymbolInfo.mqh> CSymbolInfo simbolo; void OnStart () {    simbolo.Name(
Fernando Morales Published product
Reviews: 4
FREE

Do not use Windows 7 with this EA MT5toTLGRM EA only sends text messages to a Telegram group or channel of your choice. The messages are customizable to show information about any trading activity in the account. Also it shows a daily PnL report. Several instances of this EA can be used simultaneously in the same MT5 terminal for sending messages to different Telegram group/channel but ensure that each one has a different number in [B13] setting. Following are the features of MT5toTLGRM EA

Fernando Morales Published product

This demo EA only sends text messages to a predefined Telegram channel ( there is no need to configure telegram ). The messages can be customized to show information about the trading activity. Also it shows the daily account PnL. Several instances of this EA can be used simultaneously from the same MT5 terminal but ensure that each one has different EA ID number (setting B16). I have tested this EA with forex symbols but it should work fine with any MT5 symbol (e.g. indexes, commodities

Fernando Morales
Added topic Bug? MT5 error calculating total commission paid
I just observed that MT5 is not calculating correctly the total commission paid
Fernando Morales
Published code Export trade history to CSV v2
This is the version 2 of my script to export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. More columns were added and fixed minor errors. The code for processing and exporting data was rewritten.
· 1 10685 1970
Fernando Morales
Added topic MT5 not reporting the correct account leverage
I tried to get the leverage of my account using this code Print ( AccountInfoInteger ( ACCOUNT_LEVERAGE )); Also saved a report of the history  In all cases the leverage shown is 1:200 My broker confirmed that my account is set to 1:30 following
Fernando Morales
Fernando Morales
PDC Pip Daily Collector Is a trading project with great potential for jumping into a live account. I can't wait to see the results for the next few months

https://www.mql5.com/en/signals/541105
Fernando Morales
Published code Export trade history to CSV
This script will export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. Current version 1.0 does not add the takeprofit and stoploss. Any advice to improve this is welcomed.
· 1 5304 641
Tom Burrows
Tom Burrows 2019.02.14
Hi, I am taking a look at this. Where does the CSV save to?
Tom Burrows
Tom Burrows 2019.02.14
nevermind, found it thanks.... MQL5\Files\history_positions.csv
Fernando Morales
Added topic Help improving performance of Hull MA function
Wanting to include the Hull MA in an EA, I tried using the iCustom() call using the attached HMA indicator. This way it slows down the backtesting process very noticeably. Then I decided to adapt the indicator to create a function but the performance
Fernando Morales
Added topic CHanging Object properties from a different chart
Hello. I am trying to change the text property of an object in a another chart but I don't know why it does not work. The following script is unable to set a new string: if ( ObjectSetString ( 131552086461923216 , "testLabel" , OBJPROP_TEXT
Fernando Morales
Fernando Morales
Would you like to closely follow your trades from Telegram? You can get timely messages about opened, closed and modified trades. Broadcast all trades or filter by magic. Easy to set up without DLL. Very customizable

Try the Lite demo free: https://www.mql5.com/en/market/product/30006
Go with the full version: https://www.mql5.com/en/market/product/29518
Fernando Morales
Added topic How to get comission and swap easy
Hello. I made a simple script that prints information about positions and deals. I noticed that PositionGetDouble(POSITION_COMMISSION) does not return comission data, and HistoryDealGetDouble(_ticket,DEAL_SWAP) does not return swap data. Is
Fernando Morales
Added topic What is the purpose of PositionSelect() in hedge mode?
As per https://www.mql5.com/en/docs/trading/positionselect PositionSelect Chooses an open position for further working with it. Returns true if the function is successfully completed. Returns false in case of failure. To obtain information about
12