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

[amibroker] Code for first trigger



PureBytes Links

Trading Reference Links


I am trying to code for a ticker that makes the first trigger after it
made a cross.


Example:

Cross( close, ma(close,50) - that was 1-10 trading days ago
Close > ma(close,50)- today the stock maintains above the MA (this
eliminates stocks that flip flop too much or have early weakness)

Then code for first day it triggers a signal after it made the cross.

My trigger is called BullBar. So I want to code for the 1st trigger
BullBar is > 0

Any Suggestions?  Thanks!

Best regards,
Brian





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/