custom indicator ?

 

I have tried to generate a custom indicator that is based on a ema indicator which would draw multiple lines all based on the same period value but shifting the plot up and down based on the closing price multiplied by a percent value. the code compiles but only prints one of the waves requested any help in directing me or helping with this problem would be appreciated.

 

Disq 

 

 I have attached what I got so far...

 

 

 

 

Files:
ema8ntest.mq4  4 kb
 
coz the same value for 4 buffers
Reason: