I am relatively new to scripting. I recently discovered it and wanted to create a basic custom script. I wanted a custom script to determine the Dollar Volume. The dollar volume would be the volume times the price. I wanted to take an average of the prices. I was able to create the script, but it’s asking for a positive integer. I thought that I found a related forum topic but it didn’t provide a suitable solution for this script: https://www.prorealcode.com/topic/screener-result-can-only-be-a-positive-integer/
Please let me know what I would need to modify in order to add this indicator to my chart. Your assistance would be greatly appreciated. Thank you so much!
I am not sure of how to modify a post. The rules indicate that I should Always use the ‘Insert PRT Code’ button when putting code in your posts. Please let me know if I have done that. If not, please advise as to where I should find the ‘Insert PRT Code’ button. Thank you again.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue