- Topics: 5
- Replies: 616
- Posts: 621
It depends on what you class as a long term up trend. It needs to be classified in criteria / rules that can be scripted.
For example, the close has to be higher than the 50MA for 10 days in a row, etc.
If you can specify the rules you use to define a long term up trend we can provide some scripting examples to reference.