Averages Comparison...!!!


New Member

I have 6 averages. On a particular day, if I want to know which is the highest average & lowest average and the difference between highest & lowest, what code should I write ?

I have tried HHV, HighestSince and a few other options but I lost the way in between. I dont know how to move further. Please guide & help

Achal, I think you are going to need to write a loop to compare the averages and then rank them, or possibly a long long list of IIF statements.

Something very similar was recently discussed and answered on the official amibroker forum, you should probably look there and adapt the coded answers to your specific problem.

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Are you a day trader?