Tutorial 191 | Information panel based on daily data

1 year ago
3

Tutorial 191 demonstrates how to create a program to display a panel of information about another symbol.
https://markplex.com/free-tutorials/tutorial-191-information-panel-based-on-daily-data/
The information displayed includes the symbol name, closing price, daily volume and the Relative Strength Index (RSI) calculated using daily data from a Price Series Provider (PSP). In the example shown above, the indicator is applied 5 times as part of a ‘study group.’
The program uses the PSP to provide the data for a symbol different from the charted symbol. The tutorial also demonstrates a way of calculating the RSI value using this PSP data.
Technical Lessons
Technically, the tutorial program 91 is based around a price series provider (PSP). Because we are interested in daily information about a symbol, the PSP is the simplest way of achieving this. The PSP and an associated event were originally created using the toolbox and then the code copied from the ‘designer generated code.’ The calculation is similar to the standard RSI function, however care needs to be taken about the calculation that occurs at the end of each PSP bar.
The tutorial program also demonstrates how to create a label using 'Composite Formatting' and how to keep it stationary relative to the chart frame.

Loading comments...