The code in the library is plotting an indicator to be drawn in a chart.
Scan is used for
Addtocomposite ( see help file)
or for
Scanning for buy/sell/short/cover signals.
Therefore it wants a Buy or sell condition added to the code, like so
Buy =1;
or Buy = Mycondition;
Exploration can use the same code but expects to output data into columns for you to look at, hence it needs
a filter statement,
e.g. filter = close > 3 AND volume > whateveryoulike;
or filter = buy; // if you already have a buy statement in the code.
and needs you to tell it what to output into columns and how to format those columns with
Addcolumn(close, " header for column", etc,...)
Addtextcolumn();
Search Help for
Addcolumn
and do try the User's guide, Tutorial, Amibroker formula language, How to create your own exploration for more complete info.
Regards
ChrisB
paulradge <[EMAIL PROTECTED]> wrote:
Hi,i have found a code in the library on the Gartley222 that i'd like to use,i downloaded file code and copied and pasted it into the Formula editor and saved it in the custom folder named gartley222,,,if i then click apply indicator from within the editor i get a new pane very similar to the chart i'm looking at ,,,i copied and pasted everything i downloaded.what i'd like to do is scan a watch list for gartley's,, so next i used the auto-analyser ,,and picked the file name that i saved in afl format in the custom folder, gartley222 and then within "apply to" i used "use filter -define" and selected the asx300 watchlist,,and pressed scan,,,i then see and error ,,missing buy/sell variable assignments,,with the advice of check the tutorial,,,which i have looked at ,,i assumed that the gartley222 code written would have all that information,,,i was going to ask for someone to check that code in the library and are there any garley use'rs out there,,i've tried a few other filters from the library and have the same error ,,,so the common denominator is me,,,now looking to read up on the difference between scan and explore,but any advise is welcome.Paul
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less. __._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
| Software support | Small business finance | Business finance online |
| Business finance training | Business finance course |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
