美文网首页Dukascopy
Candlestick pattern indicators

Candlestick pattern indicators

作者: edenwzg | 来源:发表于2018-10-14 21:10 被阅读0次

This section contains examples which show how to work with Candlestick pattern indicators - how to:

  • Find a pattern by shift and by candlestick bar interval.
  • Find the latest occurrence of the pattern.
  • Plot patterns on chart - both single and multiple.
  • Use designated set of candlestick patterns in the same strategy.
  • Use all 61 candlestick patterns in the same strategy.

Use hammer pattern


CandlePatternsHammer strategy shows how to use hammer pattern within a strategy:

  • On its start (i.e. in the onStart method) it finds hammer pattern occurrences over the last 100 candlesticks and prints to console the latest occurrence by shift.
  • On every candlestick (i.e. in the onBar method) it checks if it is of hammer pattern.

Also the strategy plots the indicator on chart:

572-9c77bfcb65d24ef34c694e4e085734e2.png

相关文章

网友评论

    本文标题:Candlestick pattern indicators

    本文链接:https://www.haomeiwen.com/subject/pebtzftx.html