Page 1 of 1

N Bars in a row

PostPosted: Tue Nov 22, 2011 5:54 pm
by vstrelnikov
The strategy triggers an alert, when N positive or negative bars forms a row.

NBarsInARow.png

NBarsInARow.lua
(3.5 KiB) Downloaded 2162 times

Re: N Bars in a row

PostPosted: Mon Apr 16, 2012 7:12 pm
by jdutchak67
Does this strategy work? I have installed and have seen 3 bars of same color in a row and do not have any signal alert , box, alert of anykind. running this on m5

Re: N Bars in a row

PostPosted: Mon Apr 16, 2012 8:32 pm
by jdutchak67
how do i get the boxes and circle symbol to show? it does alert but does not do those?

Re: N Bars in a row

PostPosted: Tue Apr 17, 2012 2:26 am
by Apprentice
This was added for easier pattern recognition.
Signals and strategies, can not provide this type of overlay.

Re: N Bars in a row

PostPosted: Fri Aug 11, 2017 6:40 pm
by Reymondpolanco
can you make a indicator to enumerate the candels, something like these:

Re: N Bars in a row

PostPosted: Sun Aug 13, 2017 4:59 am
by Apprentice
Can you tell me more about the algorithm used?
Provide Description, formula or indicator code.