Averages Comparison...!!!

achal

New Member
#1
Friends,

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

Regards,
Achal
 
#2
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.
 

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Name:Phone:
Email:City:
State:
Are you a day trader?