Bullish and Bearish Heiken Ashi screener

Category: Screeners By: Nicolas Created: November 13, 2015, 11:46 AM
November 13, 2015, 11:46 AM
Screeners
7 Comments

Coded it by request, here is a simple Heiken Ashi screener that detect candle HA turn from red to green and from green to red, for turning points detection purposes.

xClose = (Open+High+Low+Close)/4

if(barindex>2) then
  xOpen = (xOpen[1] + xClose[1])/2
endif

c1 = xClose>xOpen AND xClose[1]<xOpen[1]
c2 = xClose<xOpen AND xClose[1]>xOpen[1]

SCREENER [c1 OR c2]

 

Download
Filename: Heiken-Ashi-detection.itf
Downloads: 575
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...