You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Morning all,
Quick question on the FileWrite() function; I currently have a FileWrite() function in my EA to a CSV-formatted spreadsheet, which works perfectly, however, is there a way in which you can write data to a spreadsheet template and to a certain cell reference within that spreadsheet?
For example, I want to calculate the standard deviation (I know MQL4 has a standard deviation indicator but quite frankly, I don't like it) of a number of prices which I have allocated to cell B5 through to cell to B15, could I alter my FileWrite() function so that MQL4 can write those prices to those particular cells in a templated spreadsheet?
The below code is used in conjunction with the OrderSelect function (Don't worry about the //Append File functions themselves, these will be altered.).
Just to be clear, not asking anyone to implement this into my code, as this is what the Freelancer section is for.