| 
Rank: Member
 Groups: Registered, Registered UsersJoined: 10/19/2005(UTC)
 Posts: 22
 
 | 
            
	      
                Hi, 
If I want to select the first candle or bar from a series or the highest or lowest how do I do it?
thanks
Sourav | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Advanced Member
 Groups: Registered, Registered Users, SubscribersJoined: 9/8/2004(UTC)
 Posts: 2,266
 
 Was thanked: 1 time(s) in 1 post(s)
 | 
            
	      
                Can you give more specific details, like how you define you series ...
For the highest value here is an example
H=HHV(H,50)
For the Lowest value here is an example
L=LLV(L,50) 
Etc ...
Patrick :mrgreen: | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
Rank: Member
 Groups: Registered, Registered UsersJoined: 10/19/2005(UTC)
 Posts: 22
 
 | 
            
	      
                Hi Patrick,
I want to long on suppose the first big white candle after the Stoch & Mov(Stoch) cross, how do I write it? If I write simply the big white() then there are multiple big white candles and each are showing a buy after the crossover. I want only the first.
Thanks | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Advanced Member
 Groups: Registered, Registered Users, SubscribersJoined: 9/8/2004(UTC)
 Posts: 2,266
 
 Was thanked: 1 time(s) in 1 post(s)
 | 
            
	      
                Using Hayseed's example I would write :
CrossV:=Cross(Stoch(5,3),Mov(Stoch(5,3),3,E));
Bigwhite() and barssince(ref(bigwhite,-1))>Barssince(Ref(CrossV,-1))
Hope this helps,
Patrick :mrgreen: | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
Rank: Member
 Groups: Registered, Registered UsersJoined: 10/19/2005(UTC)
 Posts: 22
 
 | 
            
	      
                Hi,
Thanks a lot, it works.
thanks again | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
    
| Users browsing this topic | 
| 
Guest (Hidden) | 
    
        Forum Jump
         
    
    You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.