Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
No.4 task [work on indicator]

When ADX>25 and -DI>+DI, invest 0 of the stock;
When ADX>20 and -DI<+DI, invest 200% of the stock