InvestorsHub Logo
Followers 8
Posts 811
Boards Moderated 0
Alias Born 01/10/2012

Re: desertcynlite post# 3305

Wednesday, 04/06/2016 7:45:58 PM

Wednesday, April 06, 2016 7:45:58 PM

Post# of 3631
First of all thank you very much
I did not even know about the patterns
i looked at all of them and none of them match
this code
Bar #1 is an up bar.
Bar #2 is a down bar, and the high of Bar #2 is higher than the close of Bar #1.
Bar #3 is a down bar, and the close of Bar #3 is lower than the open of Bar #1.




This code looked like the closest but did not have all 3 components
Guess i need to start studying how to write code


#wizard text: Inputs: length:
#wizard input: length
#wizard text: trend setup:
#wizard input: trendSetup

input length = 20;
input trendSetup = 3;

plot Bearish = Engulfing(length, trendSetup).Bearish[1] and
open > close and
close < close[1];

Bearish.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
Bearish.SetDefaultColor(GetColor(9));
Bearish.SetLineWeight(2)

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.