I would like to use the addLineTooll functions especially REGRESSION, however how many parameters can you change? as I do not find much documenation for this.
For example manually you can alter:-
Trend Line source
Trend Line color
Channel Type Upper/Lower
Channel Color Upper/Lower
Line width
Pearson's R On/Off
Pearson Color
Can all of these be done in coding? so far the only documentation I have found is:-
addLineTool(LineTool.REGRESSION, x1, x2, nThickness, Color, name);
which is very limited in the features.
Also I would like the tool to update interactively from a fixed point in the past to the current bar.
any assistance will be appreciated.
Robert
For example manually you can alter:-
Trend Line source
Trend Line color
Channel Type Upper/Lower
Channel Color Upper/Lower
Line width
Pearson's R On/Off
Pearson Color
Can all of these be done in coding? so far the only documentation I have found is:-
addLineTool(LineTool.REGRESSION, x1, x2, nThickness, Color, name);
which is very limited in the features.
Also I would like the tool to update interactively from a fixed point in the past to the current bar.
any assistance will be appreciated.
Robert