Scan for Aroon Indicator


Category:
0
0
Hello Pete, my name is Juan. I would like to have a scan based on the crosses of the aroon indicator lines,
for a timeframe Daily and Week.
thanks for your help
 
Marked as spam
Posted by (Questions: 8, Answers: 0)
Asked on November 28, 2017 8:42 am
563 views
0
Private answer

Ok, that is pretty simple. Especially since this type of scan can be easily constructed using the condition wizard and requires no knowledge of writing code. Since you did not already consider this method, I recommend you watch the following video to get a thorough understanding of how to build scans and strategies using the condition wizard: https://www.hahn-tech.com/thinkorswim-autotrade-almost/

This is definitely worth your time to learn how to use. Because once you do, you won’t need me for anything but the most advanced solutions. I have provided a couple screenshots below that show how the solution can be constructed using the condition wizard.

For those interested in seeing how this is done using only thinkscript code. Here you go:

input length = 25;
Assert(length > 0, "'length' must be positive: " + length);
def Up = (length - 1 - GetMaxValueOffset(high, length)) * 100.0 / (length - 1);
def Down = (length - 1 - GetMinValueOffset(low, length)) * 100.0 / (length - 1);
# scan for up line crossing above down line
plot scan = Up[1] < Down[1] and Up > Down;
# scan for down line crossing above up line
#plot scan = Down[1] < Up[1] and Down > Up;

Attachments:
Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on November 28, 2017 9:35 am