♥ 0 |
Hi Pete, let me try again… RESOLVED
Marked as spam
|
Private answer
I am borrowing some code from a previous solution to perform the percent computation: https://www.hahn-tech.com/ans/price-within-x-of-sma/ I also added some new inputs to allow users to control the moving average parameters from the user inputs so they don't have to try and modify the code. Aside from that I only added the AddLabel() statement. The label displays whatever has been selected as the percent threshold and the length of the moving average. This allows users to add this chart study to the chart multiple times and adjust each one to a different moving average.
Marked as spam
|
Please log in to post questions.