As part of the script, I would like to keep track of the prices every time that the indicator is triggered. For example with two moving averages, keep track of the price at the time that one MA crosses above the other MA and then also at the time that it crosses below.
How do I go about to accomplish it?
Thanks in advance for any input that you can provide.
Comment