| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| How to capture 2 indicators activities ? https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3493 |
Page 1 of 1 |
| Author: | effluvium [ Tue Mar 11, 2014 6:08 pm ] |
| Post subject: | How to capture 2 indicators activities ? |
Someone has already treated this question but I could not find the answer. Let's say that we have an indicator generating a cross between 2 MAs, and another one generating a symbol when Stochastics has reached a given level. What I'd like to know is at which time exactly this has happened (and put these 2 sorts of signals in a chronological log for further analysis) . I know it is something with writing in a file, but I could not find the mql code detail. Appreciate any help, or any link. Thank guys in advance. |
|
| Author: | fourier [ Wed Apr 23, 2014 10:28 pm ] |
| Post subject: | How to capture 2 indicators activities ? |
You could put the FileWrite() function into your EA which is running the two indicators through a back-test. I've not used this function but my understanding is that you'll be able to print to a .CSV file with pertinent information like the time stamp, and the value at the event whatever you might be interested in. You probably could also print to the journal and then come in and copy that information out after a back test has happened. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|