Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 422

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
You just need to be more attentive, or don't be lazy to specify the type of variable on each line, or put a comma instead of a semicolon. And in indicator calls, variables should be defined, not just from a torch.
Here is an example, and then - on your own...
Although the second file seems to be ok, except for a dot in a variable name. No dots in variable names.
Thanks evillive for the example!!! It's easier to learn from examples like this. Made different variations, everything works!!!!
How do I get the time of the found minimum withiLowest?
How to get the time of low found with iLowest?
iLowest() will return the bar number, let's assume TF 30M
iTime() from this number will give the bar open time, but not the time when the minimum was found.
using iBarShift and the time of opening and closing the bar minimum in TF 30m you can find the numbers of two bars in TF 1M between which the minimum is located
using iLowest() between these bars we find the number of the bar minimum in the TF 1M
iTime() from this number will give the bar open time in the TF1M.
there may be another option - search for it.
iLowest() will return the bar number, let's assume TF 30M
iTime() from this number will give the bar open time, but not the time when the minimum was.
using iBarShift and the time of opening and closing the bar minimum in TF 30m we can find the numbers of two bars in TF 1M between which the minimum is located
using iLowest() between these bars we find the number of the bar minimum in the TF 1M
iTime() from this number will give the bar open time in the TF1M.
maybe there is another variant - search for it.
Greetings, dear friends!
How do I know the full name of the file (with path) where my Expert Advisor/Script writes to using FileOpen/FileWrite?
TerminalPath() + "\\\experts\\files\\" on Win7 x64 with UAC enabled points to "C:\Program Files (x86)\Alpari Limited MT4\experts\files\", whereas I would like to get "C:\Users\<CurrentUser>AppData\Local\VirtualStore\Program Files (x86)\Alpari Limited MT4\experts\files\"
such requests are asked here and for a fee they are implemented
in the same thread to help people trying to write on their own