Two Consecutive Green Heikin Ashi candles


Category:
0
0

Hey Pete! I was wondering if there’s a way to Scan the stock which has last two Consecutive Green Heikin Ashi candles after a Red Heikin Ashi candle?

Thanks,

Sush D

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on August 29, 2018 10:18 am
2728 views
0
Private answer

Ok for this solution we are going to steal the original code I posted here: https://www.hahn-tech.com/ans/alert-setting-on-heikin-ashi-candles/

That code was for a chart study that included an alert that triggered on the first green Heiken-Ashi candle. So we just need to modify it slightly so the signals look for the first two consecutive green candles.

def haClose = ohlc4;
def haOpen = if haOpen[1] == 0 then haClose[1] else (haOpen[1] + haClose[1]) / 2;
def haHigh = Max(high, Max(haClose, haOpen));
def haLow = Min(low, Min(haClose, haOpen));
def haColor = haClose > haOpen;
def trendUp = haColor and haColor[1] and !haColor[2];
plot scan = trendUp;

 

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on August 29, 2018 12:11 pm
0
Hello, I am looking for a scan that scans for a downtrending stock that has a Heikin Ashi Doji followed by a HA green flat bottom candle. Can someone help me out. I have tried messing around with the code above but unable to figure it out.
( at March 4, 2021 8:13 pm)
0
Sorry I will not be able to assist you with that request. I have a client who paid for a similar solution.
( at March 4, 2021 9:14 pm)
0
Can you please post the script for the reverse of this scan. Just to have it scan for 2 consecutive red candles?
( at November 2, 2021 10:22 pm)
0
This has already been requested and the solution was provided here: https://www.hahn-tech.com/ans/ttm-trend-heikin-ashi-scan-alert/
( at November 3, 2021 8:06 am)