faustf:
hi guys i have a little script for open trade 2 or more with one button , i want write a numbertrade in temporary file i write this code
but write me only last number of trade , exist a function filewriteline ??? or how is possible write all number of trade?? thankz
How about putting "FileOpen" before the start of the loop?
faustf: how is possible write all number of trade??
- You have begin loop, open, (position is at beginning,) write, close, end loop, so you overwrite each time and only get the last item written.
- If you want your file to have all from your loop move the open and close outside the loop.
- If you want your file to have all now and previously, move the open and close outside the loop and seek to the end after opening, so you append to the file, not overwrite it.
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
hi guys i have a little script for open trade 2 or more with one button , i want write a numbertrade in temporary file i write this code
but write me only last number of trade , exist a function filewriteline ??? or how is possible write all number of trade?? thankz