PureBytes Links
Trading Reference Links
|
--- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> wrote: > > Try something like: > > TenBars = Sum(R, 10) == 10; > > Mike
--- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> wrote: > > Try something like: > > TenBars = Sum(R, 10) == 10; > > Mike
Thanks Mike. I dropped the IIF and used this code which signals when a minimum of ten indicator bars or more were above pointer 5, before the change. Too easy. Thanks.
R = pointer > 5; G = Sum(R, 10) == 10; Q = BarsSince(G) == 1; Buy = Q;
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|