Can anyone correct this bit of code... I NEED to get the Time that the high and low happened on each day. - page 2
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
will this give me what i need. The hourly time of the daily low and daily high??
No, this won't even compile.
Check the doc what iHighest/Lowest does and needs, you need to specify a startbar and a period in which one you want find the high/low
Note that on friday and sunday the day has not 24 hours... at least on my broker..
this is what i have AND IT DOES COMPILE
Look at your code and write after each line what it does exactly.
especially here:
Look at your code and write after each line what it does exactly.
especially here:
Well i am no expert and have tried to do it myself with no sucess. Dont worry about it.
No problem, all i want to do is to give you some hints...
Find out where a day starts and ends, and the use
Time[iHighest(Symbol(),Period(),MODE_HIGH,start-end,end)];