- Topics: 4
- Replies: 217
- Posts: 221
When building a script to be used with scanning you need to make sure the output result is a Boolean (True / False) value.
When you say you are after stocks ending the day with a DM Minus or DM Plus, do you mean where the ADX DM Plus line is higher than the DM Minis (and vice versa?)
If so you could use the following script:
V1 = ADX();
//Find where DM Plus is higher than DM Minus
V1.DMPlus > V1.DMMinus
You can then reverse the last line to find the other setup.