Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Blocks limits Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
BDRPPLIR
Posted : Friday, June 6, 2008 5:36:25 AM
Registered User
Joined: 4/15/2007
Posts: 73
I use blocks to find stocks above a moving average and sort them by the number of consecutive bars acheived. There seems to be a blocks imposed limit of 50 bars. Once 50 is reached it seems to stop counting. Is there way of removing this limit.?
jas0501
Posted : Friday, June 6, 2008 5:56:32 AM
Registered User
Joined: 12/31/2005
Posts: 2,499
add the directive

'#Cumulative

to your code and the watchlist computation will not be optimized and all bars will be evaluated.
BDRPPLIR
Posted : Friday, June 6, 2008 6:46:59 AM
Registered User
Joined: 4/15/2007
Posts: 73
JAS sorry where do I add the code? At the moment I create the scan by just dragging the MA up to the column.
Bruce_L
Posted : Friday, June 6, 2008 6:51:49 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
BDRPPLIR,
I'm not sure if it makes a difference, but I always use it as the first line in my RealCode when I need it.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
testOP2
Posted : Friday, June 6, 2008 7:14:23 AM

Administration

Joined: 10/7/2004
Posts: 378
After you have created the column, right click on it and select QuickEdit. There is a field in there called Max bars to test. You can increase this number to what you like. Increasing it may slow performance a bit but will get you what you want.

Ole
BDRPPLIR
Posted : Friday, June 6, 2008 7:20:10 AM
Registered User
Joined: 4/15/2007
Posts: 73
Ole

Spot on! That did the trick thank you.

regards

Bernard
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.