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

*****SPAM***** [amibroker] AFL Pop Up Help required



PureBytes Links

Trading Reference Links

SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM: 
SPAM: Content analysis details:   (5.10 hits, 5 required)
SPAM: USER_AGENT         (-0.5 points) Found a User-Agent header
SPAM: FROM_ENDS_IN_NUMS  (0.9 points)  From: ends in numbers
SPAM: COMMENT            (0.8 points)  Found a Comment header
SPAM: TO_BE_REMOVED_REPLY (0.4 points)  BODY: Says: "to be removed, reply via email" or similar
SPAM: SPAM_PHRASE_03_05  (1.1 points)  BODY: Spam phrases score is 03 to 05 (medium)
SPAM:                    [score: 4]
SPAM: FORGED_YAHOO_RCVD  (1.4 points)  'From' yahoo.com does not match 'Received' headers
SPAM: DATE_IN_PAST_24_48 (1.0 points)  Date: is 24 to 48 hours before Received: date
SPAM: 
SPAM: -------------------- End of SpamAssassin results ---------------------

Dear frends
 
im having problem with afl coding, Can you please help me
 
i want to get a pop up when buy / sell / or other predetermined 
condition triggers.

i am having problem with IF statements.
 
below mentioned is the code, kindly let me know what is the problem 
with it.
 
 
 
Regards
Umesh.
 
 //Pop UP Check /*
 
Buy = Cross( EMA( Close, 9 ), EMA( Close, 15 ) ); 
Sell = Cross( EMA( Close, 15 ), EMA( Close, 9 ) );
 
buy = ExRem( buy, sell );
sell = ExRem( sell, buy ); 
 

a=0;
 

if (buy)  // Normal Buy alert
{
    PopupWindow("Current time is: " + Now() + "\n \n" + "Buy call 
Triggered\n\n" + "TEST POP UP.....\n\n" + "Rsi is 20 ", "BuyAlert", 
10, -1, -1); 
}
 
if( sell ) // Risky Buy alert
{
    PopupWindow("Current time is: " + Now() + "\n \n" + "RISKY Buy 
call Triggered\n" + "Rsi is 20 Which is Highly Over Sold 
Level.", "BuyAlert", 20, -1, -1); 
}
 
if( rsi(9) > 70) // HIGH RISK Buy alert
{
    PopupWindow("Current time is: " + Now() + "\n \n" + "RSI is more 
than 70\n" + "Over bought levelLevel.", "General Alert", 10, -1, -1);
}
 
 


------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/