| 
 PureBytes Links 
Trading Reference Links 
 | 
Hello,
When I change from daily to weekly the value of the composite changes,
it also happens on the monthly also. Here is a example, if the total 
value of the composite is 242, after using a indicator, it becomes 
20.20
now when I change to weekly it values drops to 5.15 and on monthly it 
goes to 1.10
Listed below is the formulas that I am using
First I use the AA with this formula
Analysis -> Scan */
/* add Close price to our index OHLC fields */
AddToComposite(Close, "~MyIndex", "X" ); 
/* add one to open intest field (we use this field as a counter) */
AddToComposite( 1, "~MyIndex", "I" );
Buy = 0; // required by scan mode
Then I use indicator builder 
Graph0 = Close;
/* this part is for Indicator Builder */
Graph1 = Foreign( "~MyIndex", "C" )/Foreign( "~MyIndex", "I" );
thank you
Dennis
 
 |