PureBytes Links
Trading Reference Links
|
Thanks Terry and Keith for your comments
I ll try modify code.
Regards
--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxx> wrote:
>
> Also you also don't need the EMA test inside your shape = statement
> since it's already in your Buy and Sell conditions. Keiths ExRem
should
> fix your multiple arrow problem. Try this simplified version:
>
>
>
> PlotShapes(Buy * shapeUpArrow + Sell * shapeDownArrow, IIf( Buy,
> colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );
>
> --
>
> Terry
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On
> Behalf Of Keith McCombs
> Sent: Monday, May 08, 2006 11:36
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Set Arrows
>
>
>
> // after buy and sell equations, and before you shape =
> Buy = ExRem(Buy, Sell);
> Sell = ExRem(Sell, Buy);
>
> sai20_2000 wrote:
>
> I am trying to set following buy and sell condition
>
> Buy=IIf(EMA(C,3)> EMA(C,20) ,Ref(AStochRSI,1)>Ref(ASTochRSI,-1)AND
> AstochRSI>50,IIf(AstochRSI >65,Cross( EMA(C,3), EMA(C,20)),Null));
> Sell=IIf(EMA(C,3)< EMA(C,20) ,Ref(AStochRSI,1)<Ref(ASTochRSI,-1)
AND
> AStochRSI<50,IIf(AstochRSI <40,Cross(EMA(C,20), EMA(C,3)),Null));
>
> shape=IIf((EMA(C,3)>EMA(C,20)) ,Buy * shapeUpArrow ,Sell *
> shapeDownArrow);
>
> PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy,
> Low, High ) );
>
> where Astochrsi is for period 20
> Here I want to put for eg.buy arrow on chart when EMA(C,3)> EMA
> (C,20) and very 1st occurance of greater value of AstochRSI than
the
> previous when the above condition is met,but arrows are placed on
> the every subsequent occrance of rising AstochRSI. How can I limit
> the arrow to the very 1st occurance only. Any help is appreciated
>
> Regards
>
>
>
>
>
>
>
> 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
>
>
>
>
> SPONSORED LINKS
>
>
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+management+software&w1=I
>
nvestment+management+software&w2=Real+estate+investment+software&w3=I
nve
>
stment+property+software&w4=Software+support&w5=Real+estate+investmen
t+a
>
nalysis+software&w6=Investment+software&c=6&s=200&.sig=_XXUzbE9l5lGlZ
NcM
> u4KNQ> management software
>
> Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+software&w1=
>
Investment+management+software&w2=Real+estate+investment+software&w3=
Inv
>
estment+property+software&w4=Software+support&w5=Real+estate+investme
nt+
>
analysis+software&w6=Investment+software&c=6&s=200&.sig=5_sgDczz3ArKG
MtJ
> 9tFSJA> estate investment software
>
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+property+software&w1=Inv
>
estment+management+software&w2=Real+estate+investment+software&w3=Inv
est
>
ment+property+software&w4=Software+support&w5=Real+estate+investment+
ana
>
lysis+software&w6=Investment+software&c=6&s=200&.sig=_N6zcwefgp4eg5n6
oX5
> WZw> property software
>
>
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+support&w1=Investment+mana
>
gement+software&w2=Real+estate+investment+software&w3=Investment+prop
ert
>
y+software&w4=Software+support&w5=Real+estate+investment+analysis+sof
twa
> re&w6=Investment+software&c=6&s=200&.sig=MJ2jP31F3n64RDZkDadU8w>
> support
>
> Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+analysis+sof
>
tware&w1=Investment+management+software&w2=Real+estate+investment+sof
twa
>
re&w3=Investment+property+software&w4=Software+support&w5=Real+estate
+in
>
vestment+analysis+software&w6=Investment+software&c=6&s=200&.sig=GmF8
PlA
> JASx0wrSaX5-Zlw> estate investment analysis software
>
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+software&w1=Investment+m
>
anagement+software&w2=Real+estate+investment+software&w3=Investment+p
rop
>
erty+software&w4=Software+support&w5=Real+estate+investment+analysis+
sof
> tware&w6=Investment+software&c=6&s=200&.sig=aMgGsKT4w29dMAYUzQUKzg>
> software
>
>
>
> _____
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your group "amibroker
> <http://groups.yahoo.com/group/amibroker> " on the web.
>
>
> * To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/> Terms of Service.
>
>
>
> _____
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 other support material please check also:
http://www.amibroker.com/support.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/
|