Skip to main content

Say Text AFL for Amibroker (AFL)

indrajit_16 about 16 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 3)
  • Tags:
    trading system, amibroker, say

This AFL will automatically say the BUY or SELL in human voice. Many alteration can be done in it. For example I have attached a simple EMA crossover setup. U can use this SAY TEXT setup with your own system.

Indicator / Formula

Copy & Paste Friendly
LongMA    = EMA( C, Param("Long Period", 50, 30, 100, 5 )); 
ShortMA   = EMA( C, Param("Short Period", 5, 3, 50, 1 )); 
Buy       = Cross( ShortMA, LongMA ); 
Sell      = Cross( LongMA, ShortMA ); 
if (EndValue(Buy)==1) Say("Buy"); 
if (EndValue(Sell)==1) Say("Sell");

1 comments

Leave Comment

Please login here to leave a comment.