PureBytes Links
Trading Reference Links
|
Reni, try this:
Plot(C,"C",colorBlack,styleCandle);
Plot(EMA(O,8),"Open-EMA8",2,1);
Plot(EMA(C,8),"Close-EMA8",9,1);
Buy=Cross(EMA(C,8),EMA(O,8));
Sell=Cross(EMA(O,8),EMA(C,8));
PlotShapes(IIf
(Buy,shapeUpArrow,shapeNone) ,colorBrightGreen,0,Graph0,-15);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,Graph1,-15);
Gernot
--- In amibroker@xxxxxxxxxxxxxxx, "renilange" <reni.lange@xxxx>
wrote:
> Hi, I hope somebody can help a newbee...
> I saw on this forum an interesting formula: one EMA (of close) and
> another EMA (of
>
open ) :
>
> Plot
>
(C,"C",colorBlack,styleCandle);
>
> Plot(EMA(Open,8),"Open-EMA5",2,1);
> Plot(EMA(C,8),"Close-EMA5",9,1);
>
> How can I plot arrows when : EMA of Close crosses above EMA of
Open
> (GREEN) and EMA of Close crosses below ...a red one. .
> Thxs a lot for your help.
>
> Reni
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/
|