Forex Candle Prediction Algorithm

Hello all!

I just wanted to share this algorithm I wrote with the community. It is a pattern recognition algorithm targeted to FOREX intraday trading.

It works this way:

1. It stores all patterns from a past period of time

2. It determines the outcome of each pattern

3. It compares the current pattern with all the previous ones and attempts to predict the outcome statistically.

Feel free to use it, and please share any ideas you have to improve its performance!

P.S. This project is still in process so please forgive me if the code is not the most clean or well documented.

Update Backtest

First i would figure out how to make your profit ratio higher than 1.25, while maintaining your excellent win rate, keep it above 40-50%. then i would consider trading multiple pairs. Your sharp ratio and drawdown are great but that's cause you aren't making that much money. Why did you start your backtest in the middle of a random year 2013??


Update Backtest


The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


This discussion is closed