new to coding so this may be very simple, but I'm trying to create a reversal scan that tells me when price hits the 34EMA (touches or crosses) and then crosses back up to cross the 8EMA. Not the EMAs crossing but the price bars (on the 15, but obviously the code will work on any time frame). It would also be nice, if possible if I could have it alert if the price comes NEAR the 34EMA - though I don't know how you'd do that. Once I create that scan I'd like to put it in my watchlist with a color indicator to alert me when this activity has occurred.
As for PUTs, I think the inverse would be when price touches the 8EMA then falls below the 34.
If I'm asking something that's already been done, and you don't mind sending me a link, I'd appreciate it and if this isn't clear, I'm happy to qualify. I know in TOS you can set a scan for these activities individually I'm just not sure how to do it for a sequence of activities.
As for PUTs, I think the inverse would be when price touches the 8EMA then falls below the 34.
If I'm asking something that's already been done, and you don't mind sending me a link, I'd appreciate it and if this isn't clear, I'm happy to qualify. I know in TOS you can set a scan for these activities individually I'm just not sure how to do it for a sequence of activities.