Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
Functions by Category Functions by Alphabetical list

PlotBand([Column/Value],[Column,Value],[color])

Usable in an seer chart object

This function plots a solid band of color between two points. The function can accept both columns and values.

Examples:

  #Example 1
  #Plot a band of color between the upper and lower bollinger bands
  my ($upper,$lower)=BB(20,2);
  PlotSetScale(High,Low,$upper,$lower);
  PlotBand($lower,$upper,Pgreen);
  PlotGrid;
  PlotPrice('Candle');

  #Example 2
  #Plot the RSI - but draw solid bands for the 30 and 70 lines
  PlotSetScale(0,100);
  PlotBand(70,100,Pblue);
  PlotBand(30,0,Pblue);
  PlotGrid;
  PlotColumn(RSI(14),Red);
  PlotColumn(EMA(RSI(14),13),Lred,Dots);
  PlotTellTale(RSI(14),Red);

  #Example 3
  #Plot the MACD histogram as a band
  my ($line,$signal,$hist)=MACD(12,26,9);
  PlotColumn($line,Red);
  PlotColumn($signal,Blue);
  PlotFixedLine(0,Yellow);
  PlotBand($hist,0,Blue);

Related functions:

PlotPrice , PlotColumn , PlotFixedLine , PlotSetScale , PlotLine , PlotText , PlotFixedLine , PlotCandlestick , PlotTellTale , PlotPAC , PlotGrid , DrawLine , DrawText , DrawRectangle , DrawFilledRectangle , SetChartOption , Color , Dashes , Dots , Vline , SetBarBackground , SetBarColor , ChartInputSlider , ChartInputCombobox

© 2008 seer trading systems ltd
feedback FAQ legal privacy