I tried to declare some Global Variables in one study and use them in an other on the same chart, but did not work, unless they are called from within the same efs file.
For example (to test it), I declared ADX a global variable. If I call it from my custom ADXM indicator, it plots correctly. However, If I call it from a diferent indicator, it plot a straight line (probably the first value) that does not change with every bar.
Can anybody tell me how it can/should be done?
Second question.
Are Global variables available accross charts in the layout?
Thanks,
mbuta
For example (to test it), I declared ADX a global variable. If I call it from my custom ADXM indicator, it plots correctly. However, If I call it from a diferent indicator, it plot a straight line (probably the first value) that does not change with every bar.
Can anybody tell me how it can/should be done?
Second question.
Are Global variables available accross charts in the layout?
Thanks,
mbuta
Comment