Thread: CoeffoLine_Hist
View Single Post
  #23 (permalink)  
Old 11-06-2005, 08:04 PM
secxces's Avatar
secxces secxces is offline
Senior Member
 
Join Date: Nov 2005
Posts: 90
secxces is on a distinguished road
Beluck,
Going thru the code I noticed only one signifcant change. I have highlighted them in bold.

(FIXED VERSION)
ZYVar=ZYVar+(High[shift+cnt-1]+Low[shift+cnt-1])/2*(ndot+1-cnt);
TYVar=TYVar+(High[shift+cnt-1]+Low[shift+cnt-1])/2;
ZIndicatorVar=ZIndicatorVar+iMA(NULL,0,5,3,MODE_SM MA,PRICE_MEDIAN,shift+cnt-1)*(ndot+1-cnt);
TIndicatorVar=TIndicatorVar+iMA(NULL,0,5,3,MODE_SM MA,PRICE_MEDIAN,shift+cnt-1);

(ORGINAL VERSION)
ZYVar=ZYVar+(High[shift-cnt+1]+Low[shift-cnt+1])/2*(ndot+1-cnt);
TYVar=TYVar+(High[shift-cnt+1]+Low[shift-cnt+1])/2;
ZIndicatorVar=ZIndicatorVar+iMA(NULL,0,5,3,MODE_SM MA,PRICE_MEDIAN,shift-cnt+1)*(ndot+1-cnt);
TIndicatorVar=TIndicatorVar+iMA(NULL,0,5,3,MODE_SM MA,PRICE_MEDIAN,shift-cnt+1);


Beluck,
Have you seen this on a chart live? Does it do the same as the Original, like loop itsef or change its history?

-secXces
Reply With Quote