Price Action News widget - User guide

Price Action News widget - User guide

1Overview

This document describes the configuration options which are available as standard in the Price Action News website widget, by varying the URL. Many of these options are common to all the widgets provided by FX Blue Labs.

1.1Widget iframe HTML

The HTML for the widget is as follows. You need an account on the www.fxblue.com website, and you must fill in the name of your account as the userid=X setting in the URL:

<iframe src="//www.fxblue.com/webwidgets/pan/pan?userid=X" width="300" height="300">

<a href="//www.fxblue.com">FX Blue - free tools and services for FX and CFD traders</a>

</iframe>

Several settings in the widget can be changed by adding options to the URL in the src attribute of the iframe.

You can change the width and height to any value which you want. The recommended minimum size for the widget is 300x200.

2Price Action News configuration options

This section describes the options in the widget which can be changed, by adding options to the URL in the src attribute for the iframe. In the following example, the theme option has been added to the URL:

<iframe src="//www.fxblue.com/webwidgets/pan/pan?userid=X&theme=Black">

<a href="//www.fxblue.com">FX Blue - free tools and services for FX and CFD traders</a>

</iframe>

2.1Colours

You can change the colours used by the Price Action News widget either by switching to a complete alternative theme, or by specifying individual colours. But you cannot use both options: the theme, if specified, takes precedence.

All individual colours can be specified using either CSS names such as Red or Goldenrod, or using hex codes such as #E0FFE0. Please note that the # character should be URL-encoded as %23. For example:

//www.fxblue.com/webwidgets/pan/pan?userid=X&clr_bg=%23E0FFE0

2.1.1Theme

The Price Action News widget currently has two built-in colour themes: the standard one (light), and a dark theme. You can switch to the dark theme using the following addition (case-sensitive) to the URL:

&theme=Black

The theme cannot be used in combination with the other, individual colour options described here. The theme takes precedence.

2.1.2Colours for even-numbered rows - &clr_evenbg and &clr_eventx

You can set the background and text colours for even-numbered items in the news list using the &clr_evenbg and &clr_eventx settings. For example:

&clr_evenbg=%23808080

&clr_evenbg=Blue&clr_eventx=White

2.1.3Colours for odd-numbered rows - &clr_oddbg and &clr_oddtx

You can set the background and text colours for odd-numbered items in the news list using the &clr_oddbg and &clr_oddtx settings. For example:

&clr_oddbg=%23808080

2.1.4Colours for the first news item - &clr_firstbg and &clr_firsttx

You can set a separate background and text colour for the first (most recent) news item using the &clr_firstbg and &clr_firsttx settings. For example:

&clr_firstbg=Red&clr_firsttx=White

2.1.5Toolbar colour - &clr_tb

You can change the colour of the widget's toolbar using the &clr_tb setting. For example:

&clr_tb=%23808080

2.2Font sizes - &fs and &fs_first

By default the widget uses a larger font size for the first, most recent news item.

You can change the font size for the first item using the &fs_first setting, and the size for all other items using the &fs setting. Both are specified as sizes in pixels. For example:

&fs=16&fs_first=12

&fs=14&fs_first=14

2.3Times - &no_times

You can turn off the display of the time of each news items using the &no_times setting. Including this setting, with any value, hides the time. For example:

&no_times=1