Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Help with RealCode Custom Index Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
stargeezer
Posted : Friday, April 4, 2014 8:29:23 AM
Registered User
Joined: 3/7/2005
Posts: 221

I was hoping I could get some help writing a StockFinder custom index that would plot the number of stocks in a watchlist that have declined by more than a percent threshold each day. 

100 * ((price.Close - price.Close(1)) / price.Close(1))

I will want to play around with the threshold and direction but if this is written in either Blocks or RealCode I will be able to make the changes in the code myself.  Having the code for this custom indicator will help me toward developing more RealCode examples.

I know Blocks has been discontinued but is it possible to see the RealCode used to generate “RealCodeIndicator” blocks and other prebuilt blocks or to still generate new Blocks from RealCode?  Is there documentation for this?  Having this would help in using the Blocks for the existing Custom Indicator.  I've not found this is the RealCode documentation I have found.

Thanks.

stargeezer
Posted : Friday, April 4, 2014 5:11:36 PM
Registered User
Joined: 3/7/2005
Posts: 221

I think I have figured out my questions but I might have more later.

No reply is necessary.

Bruce_L
Posted : Friday, April 11, 2014 1:10:31 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I am happy to read you were able to figure it out on your own. I would have used the Custom Market Indicator feature for this.

Market Indicators from Conditions
Custom Market Indicators



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.