| 
Rank: Member
 Groups: Registered, Registered UsersJoined: 11/27/2007(UTC)
 Posts: 15
 
 | 
            
	      
                 Hi Forum Members!
 I would like to create a ROC MA study. It consists of the adding different ROC periods between bands and then to plot on to of it a specific MA of the ROC result. I've composed a formula but cannot get it to plot both the ROC and MA on one chart. 
 Can you help me with this formula? Thanks and regards Magda 
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Member
 Groups: Registered, Registered UsersJoined: 11/27/2007(UTC)
 Posts: 15
 
 | 
            
	      
                Magda wrote: Hi Forum Members!
 I would like to create a ROC MA study. It consists of the adding different ROC periods between bands and then to plot on to of it a specific MA of the ROC result. I've composed a formula but cannot get it to plot both the ROC and MA on one chart. 
 Can you help me with this formula? Thanks and regards MagdaUpdate:  It should look something like the middle chart provided here. Thanks in advance for your assistance.
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
Rank: Advanced Member
 Groups: Registered, Registered Users, Unverified UsersJoined: 9/13/2004(UTC)
 Posts: 673
 Location: Salt Lake City, UT
 
 | 
            
	      
                In order to assist with debugging a formula, it definitely helps to actually have what you've written so far.
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Advanced Member
 Groups: Registered, Registered UsersJoined: 11/7/2005(UTC)
 Posts: 602
 
 | 
            
	      
                 A variable looks like:Varable1:=some calculation;
 Varable2:=some more calculation;
 To plot the two variables do this:
 Variable1;Variable2
 as your last two lines of code.
 You also may need to normalize the two variables to get a good crossover.
 But Pyradius is right, best to see your code so far.
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
Rank: Member
 Groups: Registered, Registered UsersJoined: 11/27/2007(UTC)
 Posts: 15
 
 | 
            
	      
                Hi johnl wrote: A variable looks like:Varable1:=some calculation;
 Varable2:=some more calculation;
 To plot the two variables do this:
 Variable1;Variable2
 as your last two lines of code.
 You also may need to normalize the two variables to get a good crossover.
 But Pyradius is right, best to see your code so far.
 
 Hi John and 
									Pyradius, I managed yesterday after much reading to get the formula working and to solve the display problem. John, your calculation tip this morning confirmed that I was thinking along the correct lines. Thanks greatly for your kindness it is much appreciated. Best regards, Magda | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
    
| 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.