If your page isn't loading correctly please Click here
Basic ADVFN Video Help
ADVFN HomeHelpChartsPoint & Figure ChartsUnderstanding P&F ChartsPlotting Example
 Understanding P&F Charts Patterns and Lines Learn More Introduction Plotting Example

# Plotting Example

We'll take a following example of data:
`LSE:VOD date,open,high,low,close,volume2003/06/02,132.5,134.75,131.5,132.25,2955894442003/06/03,132.25,132.25,129.5,131.5,2690826282003/06/04,131.5,133.75,129.25,132,2802521002003/06/05,132,133.5,128.25,129.75,3900122722003/06/06,129.75,130.75,126.75,128.5,3912699782003/06/09,128.5,128.5,125.5,126.75,2013152222003/06/10,126.75,127.5,125.25,126,3704697842003/06/11,126,126.5,122.25,124,4847002242003/06/12,124,126.75,123,124.75,3649631482003/06/13,124.75,125.5,121.75,122.25,2627816742003/06/16,122.25,124.25,121.5,122.25,2611531622003/06/17,122.25,124.5,122.25,123,4036373902003/06/18,122.25,124.0,121.5,122.5,192966146`
and set box size = 1, reversal = 3.

We'll take high and low values for each day, taking high's ceiling and low's floor to obtain integer value for plotting. Thus values will be:
`2003/06/02,135,1312003/06/03,133,1292003/06/04,134,1292003/06/05,134,1282003/06/06,131,1262003/06/09,129,1252003/06/10,128,1252003/06/11,127,1222003/06/12,127,1232003/06/13,126,1212003/06/16,125,1212003/06/17,125,1222003/06/18,124,121`
The price axis values will be somewhere between 135 and 120.
Let's take first column direction from first day of data open and close and decide it will be column of 'O's, as 2 June open is greater than close. Then we plot first O opposite 135 and go down plotting 'O's until 131.

For each data pair (high, low) we check two conditions: let's call them 'column extension' which is to be checked first and 'column reversal' if the first condition is false. If both are false, nothing is to be done.

For the second day we check extension condition: is day's low less than bottom of the current column? It is, so we extend column to 129 and there's no need to check the second condition.

For the third day extension is false, we are still at 129, and so we check for reversal: is day's high greater than or equal to bottom of the column plus reversal amount, i.e. 129+3*1=132? It is, so we go on to the next column of 'X's, which starts one box above previous column's bottom, at 130 and goes on up to 134.

For the fourth day extension condition is about day's high rather than low because now we have a column of 'X's: it is false because day's high is still 134. In the meantime, day's low is 128 which is less than 134-3*1=131 so chart reverses again, and we start a column of 'O's with top box one box below 134, at 133 and bottom box at 128.

Next day extension is true, we plot to more 'O's and we are now at 126. The same happens on 9 June, and we are at 125. But on 10 June low is still 125 so we check for reversal, and it is true. We go up three boxes until 128, then on 11 June reverse again until 122, then up and so on until the end of the data.
Finally we get chart like this:
`135|X134|XOX133|XOXO132|XOXO131|XOXO130| OXO129| O O128|   OX127|   OXOX126|   OXOXO125|   O OXOX124|     OXOXO123|     OXOXO122|     O OXO121|       O O`

Your Recent History
 LSE GKP Gulf Keyst..
 LSE QPP Quindell
 FTSE UKX FTSE 100
 LSE IOF Iofina
 FX GBPUSD UK Sterlin..
Stocks you've viewed will appear in this box, letting you easily return to quotes you've seen previously.

Register now to create your own custom streaming stock watchlist.

 By accessing the services available at ADVFN you are agreeing to be bound by ADVFN's Terms & Conditions Investment Warning Copyright © 1999 - 2022 Cookie and Privacy Policy Consent Preferences ADVFN UK Investors Hub ADVFN Italy ADVFN Australia ADVFN Brazil ADVFN Canada ADVFN Germany ADVFN Japan ADVFN Mexico ADVFN France ADVFN US P: V:us D:20220128 00:11:40