OK I think I have solved the problem. I have moved the part where I look for the highest and lowest bar to the ontick function and have replaced the copyHigh with iHighest and iLowest and use iHigh and iLow
Niel05otto #:
OK I think I have solved the problem. I have moved the part where I look for the highest and lowest bar to the ontick function and have replaced the copyHigh with iHighest and iLowest and use iHigh and iLow
OK I think I have solved the problem. I have moved the part where I look for the highest and lowest bar to the ontick function and have replaced the copyHigh with iHighest and iLowest and use iHigh and iLow
You need to validate the CopyXXX functions AND all iXXX functions, OR you will get wrong numbers often.
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
Good day. i need some help please. I am trying to get the highest and lowest price of 30 candles starting 2 candles back. if i use 2 at the start point it doesn't give me the value and time of the highest and lowest bar. if i use 0 at the start point then it work fine but i don't want bar[0] and bar[1] to be part of the search for the highest and lowest price