Hi, can anyone here please tell me how can I shift a histogram from 0 to 50 in AFL? There is “histbase” in pine-script. Is there any similar function in AmiBroker Formula Language? Thanks in advance. Regards.
There is a function called Remap in AFL
1 Like
Thanks a lot again. I got the syntax –
Remap( value, srcMin, srcMax, dstMin, dstMax )
But can’t manage to use it properly.
Remap(hist, 0, 100, 50, dstmax);
Can you please suggest the value for “dstmax”?
Regards.
you have to post all the relevant code from pinescript and AFL.
describe clearly what you want.