Use
The study displays the Accumulation/Distribution line on the lower subgraph.
declare lower;
when you want to move an indicator in ThinkorSwim to the lower section of your chart. This declaration is commonly used in volume scripts.Usage
Code:
declare lower;
Example
Code:
#
# TD Ameritrade IP Company, Inc. (c) 2009-2020
#
declare lower;
plot AccDist = TotalSum(volume * CloseLocationValue());
plot ZeroLine = 0;
AccDist.SetDefaultColor(GetColor(1));
ZeroLine.SetDefaultColor(GetColor(5))
The study displays the Accumulation/Distribution line on the lower subgraph.