[amibroker] how to open formula editor as tabs.

2010-04-20 Thread Prabu
Hi, Is there any possibility to open the formula editor and backtesting windows as Tabs or Seperate Task window instead of dialogs? Thanks Prabu

[amibroker] How does amibroker takes the OPEN price of a bar

2010-04-23 Thread Prabu
Hi, I have some data like this.. Date, Time, Price 06/01/2009,095501,4509 06/01/2009,095504,4511 06/01/2009,095513,4507 AmiBroker takes 4511 as the Open price instead of 4509 Any one have any idea why it is so..? or any configuration should be changed..? Thanks.

[amibroker] EMA is not the same in Amibroker and ta-lib

2010-04-26 Thread Prabu
why EMA value is not the same in AB and ta-lib?how does / in what method does ab calculates EMA?

[amibroker] EMA is not the same in Amibroker and ta-lib

2010-04-26 Thread Prabu
How is ema calculated in AmiBroker? Why the result is different from ta-lib's ema result?

Re: [amibroker] Re: EMA is not the same in Amibroker and ta-lib

2010-04-26 Thread Prabu
y use AFL's AMA with feedback factor > 2/(period+1) > AMA( array, 2 / (period+1) ) > > Best regards, > Tomasz Janeczko > amibroker.com > > > On 2010-04-26 20:44, droskill wrote: > > do you have the same starting point for the data? That, I believe, will > highly

[amibroker] How to sell at +5 or -5

2010-06-10 Thread Prabu
dition. I'm confused whether I can write it as Sell condition or should i write it with ApplyStop's .. please help me. e1 = EMA(C, 14); e2 = EMA(C, 5); Buy = Cross(e2, e1); Sell = (.. confused here .. ) Thanks Prabu

Re: [amibroker] How to sell at +5 or -5

2010-06-11 Thread Prabu
hi, I tried this.. e1 = EMA(C, 14); e2 = EMA(C, 5); Buy = Cross(e2, e1); Sell = (Buy+5) OR (Buy-5); But it is buying and selling on the same bar.. Prabu On Fri, Jun 11, 2010 at 12:36 PM, Inquisitive Voyager < hedonist2...@gmail.com> wrote: > > > Sell=( > *Buy*+5) *OR* (

Re: [amibroker] How to sell at +5 or -5

2010-06-11 Thread Prabu
Sell = (Buy*1.1) OR (Buy*.9); > > > this sells when price is 10 % above or 10% bellow the buy. > > btw: are u trying it on eod data? > > > On Fri, Jun 11, 2010 at 12:55 PM, Prabu wrote: > >> >> >> hi, >> >> I tried this.. >> >>

Re: [amibroker] How to sell at +5 or -5

2010-06-11 Thread Prabu
I think this is not the right way of sell condition.. Sell = (Buy+6) OR (Buy-5); On Fri, Jun 11, 2010 at 1:28 PM, Prabu wrote: > Still the result is same. (selling on the same bar). > I'm trying it with 5 Minute periodicity. > > I even tried Sell = (Buy+30) OR (Buy-30); no

Re: [amibroker] How to sell at +5 or -5

2010-06-11 Thread Prabu
Sell > *=IIf(*C*>pb+5,*True*,IIf(*C* > > > @mike: without IIF sell condition shall always be true. > > BTW,thanks for your input. > > > > On Fri, Jun 11, 2010 at 1:28 PM, Prabu wrote: > >> >> >> Still the result is same. (selling on the same b

[amibroker] highest value from 11 to 12

2010-06-28 Thread Prabu
Please help me to find out High of 11 AM to 12 AM. I want to explore/backtest in 1-minute range. Our market is between 9 AM to 3 PM.

Re: [amibroker] Re: highest value from 11 to 12

2010-06-29 Thread Prabu
tSince(Cross(TimeNum(), rangeStartTime), L))); Prabu. On Tue, Jun 29, 2010 at 4:13 AM, wooziwog wrote: > > > > > --- In amibroker@yahoogroups.com , "Prabu" > wrote: > > > > > > Please help me to find out High of 11 AM to 12 AM. I want to > explore/ba

Re: [amibroker] How can I hold variable value bar by bar?

2010-06-29 Thread Prabu
You can give more detail.. to help u. On Fri, Jun 25, 2010 at 5:54 PM, fzelb wrote: > > > I want to hold a variable value bar by bar during backtest evaluation. I've > tried with static variables but it seems do not work. Can you post a working > sample, please? > > >

[amibroker] sigScaleOut is not selling half position

2010-06-29 Thread Prabu
I'm trying to sell half of the position it currently holds. I've given .. PositionSize = IIf(Buy, -100, -50); Sell = sigScaleOut; but still it sells the whole position...

Re: [amibroker] buy= buycondition+1

2010-07-01 Thread Prabu
BuyPrice = supres + 1 On Thu, Jul 1, 2010 at 5:14 PM, Deepak Patade wrote: > > > How to code this, > Buy=Buycond > supres; > and buy should be one point above the buy condition > > Deepak Patade > > >