PureBytes Links
Trading Reference Links
|
Hi TJ and all,
I know you have said in the past that Equity now renders
Exrem obsolete. Can you please tell me why Exrem works in the followong
exploration but Equity produces blank columns? Thanks very much!
Steve
StochKPeriods = 14;LowLevel
= 20;HighLevel = 80;
Buy = Cover =
Cross(StochK(StochKPeriods),LowLevel);Sell = Short =
Cross(HighLevel,StochK(StochKPeriods));
Buy = ExRem(Buy,Sell);Cover =
ExRem(Cover,Short);Sell = ExRem(Sell,Buy);Short =
ExRem(Short,Cover); //Equity(1,-1,0,0);
Filter = 1;
PeriodsCurrentTrend = Cum(1) - (ValueWhen(Buy OR
Short,Cum(1),1) - 1);PeriodsPriorTrend = (Cum(1) - (ValueWhen(Buy
OR Short,Cum(1),2) - 1)) -
PeriodsCurrentTrend;Periods2ndPriorTrend = (Cum(1) - (ValueWhen(Buy
OR Short,Cum(1),3) - 1)) - (PeriodsCurrentTrend +
PeriodsPriorTrend);
<FONT
size=2>AddColumn(Periods2ndPriorTrend,"P/2ndPT",1.0);AddColumn(PeriodsPriorTrend
,"P/PT" ,1.0);AddColumn(PeriodsCurrentTrend ,"P/CT"
,1.0);
|