SaifRehman / algorithmic-market-prediction

Implementation of Algorthmic Prediction of Candle Patterns
25 stars 11 forks source link
cryptocurrency doji fibonacci-retracement golang gold macd machine-learning market prediction python rsi stock technical-analysis

Algorithmic-market-prediction



Algorthmic Prediction

Implementation of Algorthmic Prediction of Candle Patterns

Travis Build


Implemantions

Heikin Ashi

What is Heikin Ashi?

Heikin-Ashi Candlesticks are an offshoot from Japanese candlesticks. Heikin-Ashi Candlesticks use the open-close data from the prior period and the open-high-low-close data from the current period to create a combo candlestick. The resulting candlestick filters out some noise in an effort to better capture the trend. In Japanese, Heikin means “average” and ashi means “pace” (EUDict.com).

Difference between normal candles and Heikin Ashi candles

1

Heiken Ashi candlestick filters out some noise in an effort to better capture the trend. For those that use trailing stops and are trend traders, flipping back between the two candlestick charts is quintessential for traders. In the chart I showed how a trader could use trailing stops to profit from the biggest trends. He or she would set stops with long or short positions and use the previous Heiken Ashi candlestick (green or red - lower or higher) as a gauge to stay in a trade or to get out of a trade. Overal Heiken Ashi is a chart I will look at often to know if I'm on the right side of the trade.

Implementation of Heikin Ashi Prediction to Alert you with SMS to bid for buy or sell

This is a Twilio SMS app with background cron jobs for every day 2 hours, inorder to alert for buy or sell

2

  1. Create a Account in Twilio
  2. Create a Account in IBM Cloud
  3. Create a Account in xignite
  4. Get account_sid and auth_token
  5. Regitser you sms number in twilio
  6. Give a unique name in manifest.yml
  7. Navigate to Heikin-Ashi/python
  8. Place in number you want to send the sms to, and from will be default number from Twilio
    
    message = client.messages.create(
                                        body="Buy/Sell",
                                        from_="****",
                                        to="****"
                                    )
8. Push the app to IBM Cloud

$ cf push



## Work in progress :)

PR Welcome ^^