Re: [amibroker] Detecting last symbol of scan

 



On Sat, May 7, 2016 at 5:57 PM, Aron Pipa aron@myafl.com [amibroker] <amibroker@yahoogroups.com> wrote:
 

stcknum = Status ( "stocknum" )  ;
if ( stcknum == 0 )
StaticVarRemove ( "count" ) ;

StaticVarAdd( "count",1 ) ;

Filter = Status ("lastbarinrange" );
AddColumn ( stcknum , "stckn" );
AddColumn ( StaticVarGet ("count" ) , "count" );


I'm not trying to detect the last bar, but the last symbol.  The static variable stcknum contains the number of explorable symbols *after* the exploration completes.  I want to know the number of explorable symbols *before* the exploration completes.

--
Robbie Geary

__._,_.___

Posted by: Robbie Geary <rgearyiii@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (45)

Check out the automatic photo album with 1 photo(s) from this topic.
mannbhlgdepdakhp.png

**** 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/


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv