At the moment there are only 5 types of Range Bar setting possible. At some point I run more than 5 symbole whose price are different so I need to set different range bar setting.
I need 20R, 50R, 100R, 150R, 120R, 40R, 500R, 1250R, 4000R, 7500R setting.
can anyone help t get the AFL code so that I can set from there.
Automatically changes the range bars according to their name
there are 3 different ways in this afl.
- Third solution is with switch()
I recoment the switch() one
Wrong. There is UNLIMITED number of possible interval selections. You just TYPE 15R into Interval combo or whatever other interval.
Nothing else is required. You don't need to define in preferences. Just type interval and that's it.
I find it amusing when people instead of asking, make "statements" about AmiBroker even if their knowledge about AB is near zero.
that is true
Sorry Tomasz i forgot about Interval combo that is the most usefull
This I will built in AFL for scan and Backtest.
Fantastic tips. Never thought that way.