I found this indicator and have been doing my best to adapt it to (1) display alerts, and (2) list open positions. The idea is to analyse a large number of price charts simultaneously without having to shuffle through manually. When an alert is triggered you simply click the button and the relevant price chart opens.
I don't think the alerts are working correctly, however, and I think the problem lies with the for loop that calculates MA and Stochastic indicators, i.e. shift, etc...more likely I just don't really know what I'm doing when it comes to coding!!! Perhaps someone here could take a look and tidy this up, as it might be helpful to others. Screenshot and code attached. Cheers!
I don't think the alerts are working correctly, however, and I think the problem lies with the for loop that calculates MA and Stochastic indicators, i.e. shift, etc...more likely I just don't really know what I'm doing when it comes to coding!!! Perhaps someone here could take a look and tidy this up, as it might be helpful to others. Screenshot and code attached. Cheers!