# Tutorial 37 | A show me study to show divergence between price and stochastic

In tutorial 26 we provided a detailed explanation of a new indicator that looked for divergence between a price plot and the stochastic indicator. ‘Bearish divergence’ was said to have occurred if price made a lower pivot and then made a higher or equal pivot, while the associated stochastic plot made a higher pivot and then made a lower pivot. Similarly ‘bullish divergence’ was said to have occurred if price made a higher pivot and then made a n equal or lower pivot, while the associated stochastic plot made a lower pivot and then made a higher pivot.

The program recognized that a price pivot and its associated stochastic divergence did not necessarily occur on the exact same bar. Consequently the program introduced the concept of Bartol (a user input) , such that if the price pivot and the stochastic pivot were within Bartol bars of each other, they were deemed to be associated with each other.

If you haven’t watched the tutorial 26 videos, then it might be a good idea before watching the video associated with this tutorial.

This tutorial takes the basic program as created in tutorial 26 and modifies it so that it works as a show-me study. We also add the option to show or not show the divergence lines and use some functionality to make sure that the show-me dots are always plotted a fixed percentage of the screen away from price.

You may also download both the program associated with this tutorial and the one associated with tutorial 26 for a reduced price of \$19.95:

TO THE BEST OF MARKPLEX CORPORATION’S KNOWLEDGE, ALL OF THE INFORMATION ON THIS PAGE IS CORRECT, AND IT IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL. HOWEVER, MARKPLEX CORPORATION ASSUMES NO LIABILITY FOR ANY DAMAGES, DIRECT OR OTHERWISE, RESULTING FROM THE USE OF THIS INFORMATION AND/OR PROGRAM(S) DESCRIBED, AND NO WARRANTY IS MADE REGARDING ITS ACCURACY OR COMPLETENESS. USE OF THIS INFORMATION AND/OR PROGRAMS DESCRIBED IS AT YOUR OWN RISK.

ANY EASYLANGUAGE OR POWERLANGUAGE TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (AND PARTS THEREOF) AND ASSOCIATED TECHNIQUES REFERRED TO, INCLUDED IN OR ATTACHED TO THIS TUTORIAL OR PROGRAM DESCRIPTION ARE EXAMPLES ONLY, AND HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES. MARKPLEX CORPORATION. DOES NOT RECOMMEND THAT YOU USE ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (OR ANY PARTS THEREOF) OR TECHNIQUES. THE USE OF ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS AND TECHNIQUES DOES NOT GUARANTEE THAT YOU WILL MAKE PROFITS, INCREASE PROFITS, OR MINIMIZE LOSSES.

## Tutorial 37 Video – Convert divergence indicator to divergence show me study

If you would like to save yourself some typing, you may download the program created in this tutorial for \$14.95.

You may also download both the program associated with this tutorial and the one associated with tutorial 26 for a reduced price of \$19.95:

If you see any errors in this tutorial – or we have not made something clear, we would be most grateful if you could please let us know. E-mail us at: tutorials@markplex.com. Also, let us know if you have any ideas for new tutorials.