Introducing my flag and pennant technical pattern for automated crypto currency trading

(Last Updated On: May 26, 2018)

There are a number of corrections I believe in this script but I am unsure of the importance of these pattern (s) since they are quite rare anyhow. So why continue? Why even bother trying to develop for wedges as well?


In summary; Should I abandon both flag/pennants and wedges patterns. They are tough to program and plot among other reasons listed.

Here are the links from the video:


In the last 3 minutes of this video is a new segment which shows the improvement of how I define a bull or bear flag. Also, you need to measure the trend before the pattern so I used 10 candle/bars before the pattern forms as a test. Just remember I allocated 20 candles/bars to allow the completion of  the flag or pennant  pattern. It should  at least show there is consolidation in the price of at least 20 bars. These programming conditions hopefully are correct to reflect the right pattern with expected price direction.

There seems to be a strange anomaly in the code where patterns form sometime in early April. I am unsure if it this is weird bug on the Binance data servers or in my programming script.

As the way it goes, I am not even sure if these patterns really matter since they are quite rare to capture.

Properly defined bull and bear flags


NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
This entry was posted in Bitcoin Crypto Currency, Forex, Quant Analytics, Quant Development and tagged , , , , , , , on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at