| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi All, 
 
  In simple english I would like to draw bands on a
centred moving average and then copy a mirror image of  the band
and paste it where the band ends, AFTER turning it around. I dont know
if the stated intention has been stated intelligbly enough by me, so I
will illustrate what I wish to do with an example of some arbitrary
values.
  S. NO    	BandValue 1            102 2           	101 3            100 4            	99 5            	98 6            	97 7            	96 8            	95 9             94
  
 Now I would like to allocate these values to the Band after reversing their order in the following manner. 
  
 
S. NO    	BandValue 
1            94 
2           	95 
3            96 
4            97 
5            98 
6            99 
7            100 
8            101 
9            102 
 
Centred Moving Averages are those that have been moved back half the MA
length and then plotted and hence there are no values for the current
bar rather bars succeeding the last bar on which centred moving average
is plotted Such an exercise is necessary to plot the extrapolation of
centred bands as indicated by Hurst in his book. The code for such
bands is/was available on the AB site if I am not mistaken and was
shared by me with a group member. I, due to my lack of understanding of
the coding decided to do it on my own, so that I could understand how
it is done and also check if the code shared is correct or not(which it
most probably is), hence the attempt to re-invent the wheel. 
 
 
Any help/pointers would be most welcome. 
 
 
TIA 
 
Regards 
 
 
 
Rakesh 
 
 
 
 
 
 
 
  
Please note that this group is for discussion between users only. 
 
To get support from AmiBroker please send an e-mail directly to  
SUPPORT {at} amibroker.com 
 
For other support material please check also: 
http://www.amibroker.com/support.html 
 
  
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
 |