Indicator calculates in Chart Window but not in Scanner
Indicator calculates in Chart Window but not in Scanner
Hi guys. Today I made some changes to the way in which some of my indicators calculate. To my surprise these indicators no longer work in the Scanner yet they continue to work fine in the Chart Windows. Any ideas where I should look to solve this problem?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Indicator calculates in Chart Window but not in Scanner
Hello Greg.
Were these indicators functioning in the scanner before?
Please provide the piece of the script before and after the changes.
Were these indicators functioning in the scanner before?
Please provide the piece of the script before and after the changes.
Re: Indicator calculates in Chart Window but not in Scanner
Hi Henry,
I have solved the problem. It appears the Market Scanner was not calculating the data range (ie: bars back) correctly. So if I use a Custom Data Range the calculation works fine.
Regards,
gregcccc
I have solved the problem. It appears the Market Scanner was not calculating the data range (ie: bars back) correctly. So if I use a Custom Data Range the calculation works fine.
Regards,
gregcccc