Please edit your post and use the code button (Alt+S) when pasting code. 
   EDIT your original post, please do not just post the code correctly in a new post. 
	          - code button.
 -  
input ENUM_INDICATOR InpMAMethod; ⋮ firstValue+=InpMAMethod[j];
Do not post code that will not even compile. 
William Roeder:
- code button.
 - Do not post code that will not even compile.
 
I have fixed the mistake apologies for the error. I was trying many things, forgot to paste the one which compiles.
		          Never mind i found the answer
Switch the order of indicators instead of using output of 1 in 2, I used output of 2 in 1
	          
          Switch the order of indicators instead of using output of 1 in 2, I used output of 2 in 1
You are missing trading opportunities:
        - Free trading apps
 - Over 8,000 signals for copying
 - Economic news for exploring financial markets
 
          Registration
          Log in
        
        You agree to website policy and terms of use
    If you do not have an account, please register
  
I have two custom indicators. I wish to use output of one custom indicator in another custom indicator. However I am unable to do so. I wish to achieve this functionality in code it self.
What changes I need to make in the code below: