Tutorial 170 | Looking for a chart pattern on several symbols using PSPs

3 years ago
31

Tutorial 170 demonstrates how multiple symbols can be loaded on a chart by using several price series providers (PSPs) to test for a specific condition (in this example a simple hammer pattern).

With tutorial 170 a list of stocks is stored in a text file stored on the local computer. This file is read into the program using the StreamReader and the names of the stocks stored in a TokenList after having been checked by another method that they are a valid symbol. Once the data has been downloaded a loop creates a PSP for each symbol in turn. The PSPs are stored in a vector. Update and state changed events are also created for each PSP.

Tutorial 170 monitors the state changed and update events for each PSP. When the PSP is first loaded and when each PSP closes, it performs a calculation to see if a simple candlestick pattern has occurred.

See https://markplex.com/tutorial-170-looking-for-a-chart-pattern-on-several-symbols-using-psps/ for full details.

Loading comments...