[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: ExRemSpan doesn't work in Explorer?



PureBytes Links

Trading Reference Links

I had lost my mind....just now found it again.

Below is the working code....problem solved.

Buy  = Random() > 0.5  ;  
Buy = ExRemSpan( Buy , 50 ) ;  
AddColumn( Buy , "buy" , 1 ) ; 


--- In amibroker@xxxxxxxxxxxxxxx, "Andy Watts" <andywatts@xxx> wrote:
>
> I must be losing my mind.
> The exremspan in this code doesn't suspend buy signals.
> Why on earth wouldn't this work in explorer?
> 
> 
> 
> Buy  = Random() > 0.5  ;  // Buy=true half the time..
> ExRemSpan( Buy , 50 ) ;   // After the initial Buy, there should be no
> more for 50 bars
> AddColumn( Buy , "buy" , 1 ) ;  // Check if this actually works by
> adding a column to the explorer
> 
> Many Thanks
> Andy
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 4:07 PM