[amibroker] Re: color code AFL

2009-08-21 Thread chaoss45
Oeps... Thanks reinsley! --- In amibroker@yahoogroups.com, reinsley wrote: > > > Works when starttime is lower than endtime... > > Best regards > > chaoss45 a écrit : > > > > > > Hi Ravi, > > > > You could try this: > > &

[amibroker] Re: color code AFL

2009-08-21 Thread chaoss45
Hi Ravi, You could try this: starttime = 114500; endtime = 113000; timecond = TimeNum() >= starttime AND TimeNum() <= endtime; Plot(timecond, "", colorGreen, styleArea|styleOwnScale,0,1); Chaoss --- In amibroker@yahoogroups.com, "mravie7" wrote: > > Hi, > If I want to color the time peri

[amibroker] help programming loops

2009-08-21 Thread chaoss45
Hi all, I'm trying to program the following idea in a loop, but could use some help. Right now i have the following code to measure the high of a specific time range. (4 hour timerange) H1 = ValueWhen(timerange, TimeFrameGetPrice( "H", inHourly, 0, expandFirst)); H2 = ValueWhen(timerange, TimeFr

[amibroker] help loop programming

2009-08-21 Thread chaoss45
Hi all, I'm trying to program the following idea in a loop, but could use some help. Right now i have the following code to measure the high of a specific time range. (4 hour timerange) H1 = ValueWhen(timerange, TimeFrameGetPrice( "H", inHourly, 0, expandFirst)); H2 = ValueWhen(timerange, Time

[amibroker] Re: remove all excessive signals

2009-08-11 Thread chaoss45
it would be :-) Thanks anyhow for youre help. --- In amibroker@yahoogroups.com, "chaoss45" wrote: > > Ed that's great! thanks a lot. > > I have to take some time to figure this out, but am sure i will be able to. > I'll let you know how this will work o

[amibroker] Re: remove all excessive signals

2009-08-05 Thread chaoss45
ot(timecond, "", colorDarkGrey, styleArea|styleOwnScale,0,1); > > > > > - Original Message - > From: Edward Pottasch > To: amibroker@yahoogroups.com > Sent: Wednesday, August 05, 2009 12:32 PM > Subject: Re: [amibroker] Re: remove all excessive signa

[amibroker] Re: remove all excessive signals

2009-08-05 Thread chaoss45
rds --- In amibroker@yahoogroups.com, "Edward Pottasch" wrote: > > simplest way to do this is using loops. If you post your problem (buy, sell, > short and cover array constraints) I can show you how, > > rgds, Ed > > > > > > - Original Message -

[amibroker] Re: remove all excessive signals

2009-08-05 Thread chaoss45
logic you use to make that > > determination will bias your results. You would likely be best to select > > from the 3 at random. > > > > Mike > > > > --- In amibroker@yahoogroups.com, "chaoss45" wrote: > > > > > > > > > Hello al

[amibroker] Re: remove all excessive signals

2009-08-04 Thread chaoss45
> > then > > buy > > Else > > dont buy > > > Regards > > > Malcolm > > On Mon, Aug 3, 2009 at 10:26 PM, chaoss45 wrote: > > > > > > > Hello all, > > > > I'm trying to write code for a breakout system. > > Ri

[amibroker] remove all excessive signals

2009-08-04 Thread chaoss45
Hello all, I'm trying to write code for a breakout system. Right now i have my system working (demo) but i'm having trouble to remove all excessive signals. I want to take the first Buy or Sell signal of the day, and all other signals for the day removed. For example: if the first signal is a buy