[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unidentified subject!



PureBytes Links

Trading Reference Links

I'm not aware of a category of indicators like you
asked about, but with a bit of time you could combine
a list of indicators into one indicator.  A simple
example would be a moving average.  Just add an input
for the type of MA and then use if/then statements to
determine which formula you run.  For example:

Inputs: maType(1), lookBack(10), Price(Close);
Vars: MA(0);

{maType: 1 = Simple, 2 = Exponential}
If maType = 1 then begin
	MA = average(Price, lookBack);
End;

If maType = 2 then begin
	MA = xaverage(Price, lookBack);
End;
     plot1(MA, "MovAvg");

Obviously for other types of indicators the code will
get a lot more complicated, but it could be done if
you really needed it.  For me, the day I have over
1000 indicators that I feel I need is the day I throw
in the towel for good... :)

Good luck.







"I was wondering is there a way 
to
some indicators etc. in a group so it can be counted
as one technique?  
In
other words, if you have 10 different kinds of moving
averages, is 
there a
way to put them all under a moving average catagory
and that would 
count as
only one technique. But you could then choose the
moving average 
catagory
and then pick and use any of the moving averages you
want."