Skip to content

Quick-tip 21 | ShowMe study that plots when the price closes in the top or bottom 25%

How to create a simple ShowMe study that would plot when the price closes in the top or bottom 25% of the price bar.

Video

{ THIS SHOW ME STUDY 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 NO WARRANTY IS MADE REGARDING ITS ACCURACY OR COMPLETENESS. USE OF THIS INFORMATION IS AT YOUR OWN RISK.
THIS SHOW ME STUDY AND ASSOCIATED TECHNIQUES IS AN EXAMPLE ONLY, AND HAS BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES. MARKPLEX CORPORATION DOES NOT RECOMMEND
THAT YOU USE ANY SUCH TRADING STRATEGIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS
(OR ANY PARTS THEREOF) OR TECHNIQUES. THE USE OF THIS SHOW ME STUDY DOES NOT GUARANTEE THAT YOU WILL MAKE PROFITS, INCREASE PROFITS, OR MINIMIZE LOSSES.}

// Showme study that would plot when the price closes in the top or bottom 25% of the price bar

Input: double Perc( 25 );

If Close < ( H - ( ( H - L ) * ( 100 - Perc ) / 100 ) ) then Plot1( C, "Bottom25%", Red ); If C > ( H - ( ( H - L ) * Perc / 100 ) ) then Plot2( C, "Top25%", White );

{ ** Copyright (c) 2018 Markplex Corporation. All rights reserved. **
** Markplex Corporation reserves the right to delete, modify or overwrite this analysis technique
on its https://markplex.com Web site. ** }