PureBytes Links
Trading Reference Links
|
I plot an indicator that the input chooses which actual indicator to
plot. My question is, with the code as below, are all these indicators
being computed on each bar or just the one chosen. If they are all
being computed is there another way so only the one chosen will
compute? Those triple X Averages are mighty slow.
Example
Input:Choice(4),Len1(8);
IF CHOICE=1 THEN P1= AVERAGE(C,LEN1);
IF CHOICE=2 THEN P1=XAVERAGE(XAVERAGE(C,LEN1),LEN1);
IF CHOICE=3 THEN P1=XAVERAGE(XAVERAGE(XAVERAGE...
PLOT1(P1);
Jimmy Snowden mailto:jhsnowden@xxxxxxx
|