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

Re: [amibroker] Sell signal ema gradient =0



PureBytes Links

Trading Reference Links

Just some Syntax and missing arguments

Sell = LinRegSlope(EMA( Close, 3 ),10) == 0;

One thing I will point out if the slope is not exactly zero on a bar
you will get no signals. Better to use

Sell = Cross( 0, LinRegSlope(EMA( Close, 3 ),10)  );



On Thu, 10 Feb 2005 21:44:55 +1100, John Simovic <jsimovic@xxxxxxxxxx> wrote:
> 
> 
> I want to generate a sell signal when the gradient of the 3 day EMA is less
> than or equal to 0. I have tried but Sell = LinRegSlope((EMA( Close, 3 )) =
> 0; but get an error. What is wrong with this? 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> 
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> 
> ________________________________
> 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 the Yahoo! Terms of Service. 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/