[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] AFL library



PureBytes Links

Trading Reference Links

  Hi Chris,
               thanks for your feedback and info ,,i've started reading the tutorial but this stuff is  complex compared to what i've been using ie ezyanalyser,,,

   i have a big interest in Gartley's and would really like to get this into a scan/exploration ,,

  i have tried your advice of buy = mycondition unsure where to place it though,,,there's a few theory's on where to buy a Gartley so i thought your advice of mycondition is great ,,so i placed it at the end of the entire script buy = mycondition;

   i get error 29 ,,needs inititialzing ,,,,i've found the list of errors within help file which shows an example that makes sense but i don't see how i can apply it to this situation ,,??

  Paul



    


  Paul

  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 <paulradge@xxxxxxxxxxxxxxx> 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.

   
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006