the equality symbol is a double ==.

if (short == True)
{
...


----- Original Message ----- 
From: "walter_gordon2002" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 06, 2008 12:55 AM
Subject: [amibroker] Calling a function


> Hi,
> 
> I need to call a function when a buy or sell signal is triggered on the 
> last bar. I've tried a simple "if( Short = True)" but it apparently 
> doesn't work.
> 
> Thanks for your time and help
> Walter 
> 
> 
> 
> 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