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

Re: [amibroker] Re: Help with writing formula



PureBytes Links

Trading Reference Links

to get buy/sell arrow you have to add this line to the code.

PlotShapes( Buy * shapeUpArrow + Sell * shapeDownArrow , IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ));

santanu


--- On Sat, 16/8/08, Mohammed <softnews2003@xxxxxxxxxx> wrote:
From: Mohammed <softnews2003@xxxxxxxxx>
Subject: [amibroker] Re: Help with writing formula
To: amibroker@xxxxxxxxxxxxxxx
Date: Saturday, 16 August, 2008, 5:10 PM

Hi,

BUY when 5 EMA crosses 6 EMA
SELL when 6 EMA crossed 5 EMA

buy = cross(EMA(c, 5) , EMA(c,6));
Sell = cross(EMA(c, 6) , EMA(c,5));

Regards

--- In amibroker@xxxxxxxxx ps.com, "mravie7" <mravie7@xxx > wrote:
>
> Hi,
>
> Greetings!!
>
> Can someone help me in writing a formula with buy and sell arrows,
> green and red for,
>
> BUY when 5 EMA crosses 6 EMA
> SELL when 6 EMA crossed 5 EMA
>
> This I propose to use during market hours for aggressive trading,
the
> arrows must show up on the chart, for me to make the entries and
exit.
>
> Many thanks for all your help.
>
> Cheers
> Ravie
>



Unlimited freedom, unlimited storage. Get it now __._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___