BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > Tips and Tricks
  New Posts New Posts RSS Feed: Learning BullScript from BullScan
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Learning BullScript from BullScan

 Post Reply Post Reply
Author
Message / View First Unread Post
Peter View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 09 Sep 2004
Location: Australia
Posts: 241
Post Options Post Options   Quote Peter Quote  Post ReplyReply Direct Link To This Post Topic: Learning BullScript from BullScan
    Posted: 03 Jun 2005 at 5:08pm
If you have begun to dabble in BullScript, you may find that BullScan can be a useful tool in learning how to extend your BullScript skills. The general process is to create a BullScan using the item you want to study, then use the Generate Script button on the Advanced tab.

This method can be used to learn how to use BullScript to:
  • Access various price and fundamentals
  • Call indicators and markers with various parameters
  • Learn how to write script for comparisons suchs as crossovers
  • Increase a number by a certain percentage
  • anything else you can achieve with the BullScan criteria editor
Example

If you wanted to know how to access the Market Cap data from within BullScript, you could observe how BullScan does it by following these steps:
  1. Create a new BullScan
  2. Add a new criteria for:
    • Is a fundamental : Market Cap
    • Is greater than
    • 0
  3. Click on the advanced tab
  4. Click "Generate BullScript"
You will see that the generated BullScript for the filter includes: Security.MarketCap > 0;
From this you could infer that Security.MarketCap is the way to access market cap information.
(Of course, this can also be found in the BullScript help.. but this technique can be used to learn about many other things as well).
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz