Skip to content

Quick-tip 24 | Easily display useful information in the status bar for an EasyLanguage indicator

A Markplex customer suggested the following quick-tip that shows an easy technique for displaying potentially useful information in the status line above an indicator. Thank you to Malcolm.

 

You may copy and paste the code below.

Video

The quick-tip indicator

{ THIS INDICATOR 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 INDICATOR 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 INDICATOR DOES NOT GUARANTEE THAT YOU WILL MAKE PROFITS, INCREASE PROFITS, OR MINIMIZE LOSSES.}

Input: int RSIPeriod( 12 );

Vars: int Vol( 0 ),
string VolPlot( " " );

Value1 = RSI( C, RSIPeriod );
Vol = UpTicks + DownTicks;

Plot1( Value1 );
Plot10( "RSI Period = " + NumToStr( RSIPeriod, 0 ),"txt", White );
Plot20( "UpTicks + Downticks = " + NumToStr( Vol, 0 ),"txt", Yellow );

If Vol >= 2000 then VolPlot = ">>>>>>>>>>>>>>>>>>>>>>>>>>";
If Vol >= 1000 and Vol < 2000 then VolPlot = ">>>>>>>>>>>>>>>>";
If Vol >= 500 and Vol < 1000 then VolPlot = ">>>>>>>>>>>";
If Vol >= 200 and Vol < 500 then VolPlot = ">>>>>>>>";
If Vol < 200 then VolPlot = ">";

Plot30( "VolPlot " + VolPlot, "txt", Cyan );

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