Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
HEIKIN-ASHI Strategy with gradual buy and sell.

Hello Everyone,
I'm yet to discovered this beautiful Quantopian community and trying to learn some coding.

I have an idea of that you might be interested. I hope you can help me to build up my code.

The idea is the use HEIKIN-ASHI to buy and sell gradual to catch the trend and avoid down trends.

Idea is simple but coding might be even more simple who knows the system.

Capital should be dividend to 20. So each buy is %5 of portfolio and each sell is %5.

When Heikin-Ashi says buy (or green) buy %5 and keep buying on all green bars until 100.

Sell when Heikin-AShi turns to red sell should be also %5 until we reach to zero.

There will be only one stock, no screening other stock or balancing.

I'm hoping a nice return from this technique I also hope that we can all get benefit.
Thanks.

1 response

interesting strategy, i'm also new to the platform.
hopefully some coder can built the backbone that we can later tweek.