Add Info Bubbles to a Study or a Study’s Inputs

Chuck

Moderator
Staff member

RWiWa4L.png


b3MkK07.png


As shown above the study list and the inputs have info bubbles. You may add these info bubbles to your studies.
To make an 'Info Bubble' for a study and strategy:
  1. Above the code lines, place #hint: ???????? where ???????? is the description you want displayed when the bubble is clicked.
  2. The tags listed under 'TAGS and their PURPOSE:' may be used to format the ????????.
  3. An example is --→ #hint: Plots a <b>trend line</b> between the two input dates.
To make an 'Info Bubble' for 'Edit Studies' input
  1. Immediately after the semi-colon on the input’s line (preferred location), place #hint <the input variable name>: (the desired text you want displayed when the bubble is clicked) .
  2. The tags listed under 'TAGS and their PURPOSE:' may be used to format the desired text.
  3. An example is --→ input Length = 10 #hint Length: The number of bars used to calculate the average.
  4. Notice that the colon is placed after the input variable name (in this case Length).
Formatting is possible using HTML tags. Some of the common tags you may be interested in are listed below:
TAGS and their PURPOSE:
<b> ......... </b> Makes the text between the tags bold.

\n Starts a new line

<li>........... </li> Creates indented lists
Example of the following script and its result:
Code:
#hint: <b>Bar Count Between Highs</b>\n Counts the number of bars between each high in the specified length.
 
Top