PureBytes Links
Trading Reference Links
|
> > basically buyprice = iif(cond1, 1.6000,iif(cond2,1.6020 .......
> >
> > or maybe you need buyprice = iff(cross(h,1.6000),1.6000......
>
> Yeah, this would probably work. I was thinking of something way more
> complex, for some reason.
Ok, didn't work the way I hoped. While fine for checking whether my
price targets have been met, I can't work out how to set those price
targets in the first place. Say, for example, I want to set 5 equally
incrementing buyprices. I'm fine with the first buyprice, but that's
only 1. I was thinking something along the lines of:
BuyPrice[ 0 ] = increment[0] + 0.0010;
for( i = 1; i < BarCount; i++ )
{
BuyPrice[i] = RefPrice + increment[i] + spread;
}
but even with this I need it to be adding the incrememnt onto the
already incremented price...and it gives an error at BuyPrice[i]...
Tis late...things are getting cloudy...will leave it for the clarity of
day :-)
Thanks,
Andrew.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/
|