- Topics: 32
- Replies: 1,707
- Posts: 1,739
Imagine a line joining all the highs together. You can actually do this with a 1 period moving average set to the highs.
The only time your script would fire is if the high was underneath the MA50 on the prior day. That was not the case in your example.
All the best