Hi
i have three lines series
and one moving average line depend on the first line
now i need to change the moving average period
and i need to change the moving average source series from line 1 to line 2 or line 3
all this in code
can you help me
thanks
How Can I Change source series in program
Hi Jameh2020,
You can change function period as follows:
You can assign a function source as follows:
You can change function period as follows:
Code: Select all
TChart1.Series(FunctionIndex).FunctionType.Period = NewPeriodValue
Code: Select all
TChart1.Series(FunctionIndex).DataSource = TChart1.Series(SourcesIndex)
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |