Hi all,
I bought AmiBroker a couple of weeks ago and have been testing playing around with it for a bit. I have a couple of questions that have been bugging me for a little while now.
1. From my understanding, instead of using different data types like double, bool etc. it converts everything to float ? What does this mean, do I use int for everything and AFL converts it to float?
2. I'm trying to use if-else if statements but it won't accept the use of arrays, like the Average True Range, any ideas on how I would make it accept ATR, or something similar? I have tried searching around, and found that I could use an 'Iif' statement, but I don't understand how I would apply that if I need if-else if statements.
3. I would like to know what kind of drawdown I'd see on open positions, is there a feature for this in AmiBroker? Or any idea how I would apply that to a code?
I know this probably isn't the right place to be asking these questions, I found an AmiBroker forum, but it didn't seem to be very active. So I'm hoping someone on here could help me out.
Any help is appreciated.
I bought AmiBroker a couple of weeks ago and have been testing playing around with it for a bit. I have a couple of questions that have been bugging me for a little while now.
1. From my understanding, instead of using different data types like double, bool etc. it converts everything to float ? What does this mean, do I use int for everything and AFL converts it to float?
2. I'm trying to use if-else if statements but it won't accept the use of arrays, like the Average True Range, any ideas on how I would make it accept ATR, or something similar? I have tried searching around, and found that I could use an 'Iif' statement, but I don't understand how I would apply that if I need if-else if statements.
3. I would like to know what kind of drawdown I'd see on open positions, is there a feature for this in AmiBroker? Or any idea how I would apply that to a code?
I know this probably isn't the right place to be asking these questions, I found an AmiBroker forum, but it didn't seem to be very active. So I'm hoping someone on here could help me out.
Any help is appreciated.