SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: Alan_C who wrote (7129)10/11/1998 3:25:00 PM
From: Gary Lyben  Respond to of 11149
 
If someone was gunna try to learn this stuff from scratch, in your opinion, is there any kind of basic education I should get in Basic or whatever or just kick and scratch away using scans that are around as my tutor?

Probably learning some dialect of Basic is helpful. Visual Basic would be a good choice, but there's an awful lot of Windows stuff in VB that you don't need for programming scans. It does have a good debugger that we lack, so just for that reason, it can help you learn by stepping through the code.

Also I accidently put in the number of periods of a ROC as 180 once and returned the error of something like "invalid period". Are there limits to what you can use as parameters?

There are usually limits to all the parameters, I had to look in the code to find that one - 100 days is the limit - there is really no good reason for 100 days, it could be set higher.

To calculate your own 180 day ROC:

float roc180;
roc180 := ( close(0) / close(-179) ) * 100;

Gary