Newbie here.....
I am trying to setup an indicator for a Simple Moving Average where the period is the value of another indicator which has been already created (and which therefore can be itself variable).
Can somebody please point me in the right direction? The SMA requires to input the period, but in this case that would come already from an existing script.
Many thanks
BC.
Comment