Hello,

The code is for indicator, if you want to use it in AA,
you need to replace GetChartID() with actual ID that you 
read from Parameters -> Axes & Grid dialog,
because in AA there is no 'chart id'.

Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message ----- 
  From: Mohammed 
  To: [email protected] 
  Sent: Wednesday, September 03, 2008 12:21 AM
  Subject: [amibroker] Re: StudyID Formula Error.


  Hi Tomasz,

  Thank you very much for your replay. 

  I use the Code as it is showing in the attached screenshot, but I didn't get 
any result.

  http://www.picoodle.com/view.php?img=/3/9/2/f_ttm_82a384e.jpg&srv=img28

  Please Help.

  All the best.

  --- In [email protected], "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote:
  >
  > Should be a parameter of Study(), not Cross() call
  > 
  > Buy = Cross( C , Study( "SU", GetChartID() ) );
  > 
  > 
  > Best regards,
  > Tomasz Janeczko
  > amibroker.com
  > ----- Original Message ----- 
  > From: "Mohammed" [EMAIL PROTECTED]
  > To: [email protected]
  > Sent: Tuesday, September 02, 2008 8:27 PM
  > Subject: [amibroker] StudyID Formula Error.
  > 
  > 
  > > Hi All,
  > > 
  > > I Copy following formula from help file in AmiBroker, But it give me an 
  > > error. "To many arguments"
  > > 
  > > Sell = Cross( Study( "SU" ), Close, GetChartID());
  > > 
  > > I would like to use it for BUY. I change it to
  > > 
  > > Buy = Cross( C , Study( "SU" ), GetChartID());
  > > 
  > > But it still given my Error.
  > > 
  > > Please help.
  > > 
  > > 
  > > 
  > > 
  > > ------------------------------------
  > > 
  > > 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
  > > http://www.amibroker.com/devlog/
  > > 
  > > For other support material please check also:
  > > http://www.amibroker.com/support.html
  > > Yahoo! Groups Links
  > > 
  > > 
  > >
  >


   

Reply via email to