home *** CD-ROM | disk | FTP | other *** search
- object CandleForm: TCandleForm
- Left = 128
- Top = 29
- Width = 539
- Height = 503
- ActiveControl = CheckBox1
- Caption = 'TeeChart Candle / Volume Series Demo'
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- PixelsPerInch = 96
- Position = poScreenCenter
- Scaled = False
- OnCreate = FormCreate
- TextHeight = 13
- object Chart1: TChart
- Left = 0
- Top = 102
- Width = 531
- Height = 274
- AnimatedZoom = True
- BackWall.Brush.Color = clWhite
- BackWall.Color = clWhite
- BackWall.Size = 4
- BottomWall.Color = clRed
- BottomWall.Size = 10
- Foot.Alignment = taLeftJustify
- Foot.Font.Color = clRed
- Foot.Font.Height = -12
- Foot.Font.Name = 'Arial'
- Foot.Font.Style = [fsItalic]
- Foot.Frame.Color = clScrollBar
- Foot.Visible = False
- LeftWall.Color = 8454016
- LeftWall.Size = 10
- Title.Alignment = taLeftJustify
- Title.Font.Color = clTeal
- Title.Font.Height = -13
- Title.Font.Name = 'Arial'
- Title.Font.Style = [fsBold]
- Title.Frame.Color = clScrollBar
- Title.Text.Strings = (
- 'Candle-Stick OHLC Chart with moving average.')
- OnScroll = Chart1Scroll
- OnUndoZoom = Chart1UndoZoom
- OnZoom = Chart1Zoom
- BackColor = clWhite
- BottomAxis.Axis.Color = clBlue
- BottomAxis.Grid.Color = clAqua
- BottomAxis.LabelsFont.Color = clGreen
- BottomAxis.LabelsFont.Height = -13
- BottomAxis.LabelsFont.Name = 'Arial'
- BottomAxis.LabelsFont.Style = [fsItalic]
- BottomAxis.EndPosition = 100.000000000000000000
- BottomAxis.TickLength = 8
- BottomAxis.Ticks.Color = clWhite
- BottomAxis.Ticks.Width = 3
- BottomAxis.Title.Caption = 'Dates'
- Chart3DPercent = 5
- LeftAxis.Automatic = False
- LeftAxis.AutomaticMaximum = False
- LeftAxis.AutomaticMinimum = False
- LeftAxis.Axis.Color = 8388863
- LeftAxis.Grid.Visible = False
- LeftAxis.LabelsFont.Color = clWhite
- LeftAxis.LabelsFont.Height = -13
- LeftAxis.LabelsFont.Name = 'Arial'
- LeftAxis.LabelsFont.Style = []
- LeftAxis.Maximum = 650.000000000000000000
- LeftAxis.EndPosition = 100.000000000000000000
- LeftAxis.Title.Caption = 'Volume'
- LeftAxis.Title.Font.Color = clNavy
- LeftAxis.Title.Font.Height = -15
- LeftAxis.Title.Font.Name = 'Arial'
- LeftAxis.Title.Font.Style = [fsBold]
- Legend.Alignment = laTop
- RightAxis.Axis.Color = clYellow
- RightAxis.Grid.Color = 8421440
- RightAxis.Grid.Style = psDashDot
- RightAxis.LabelsFont.Color = clNavy
- RightAxis.LabelsFont.Height = -12
- RightAxis.LabelsFont.Name = 'Arial'
- RightAxis.LabelsFont.Style = []
- RightAxis.EndPosition = 100.000000000000000000
- RightAxis.TickLength = 8
- RightAxis.Title.Caption = 'S&P 500'
- RightAxis.Title.Font.Color = clFuchsia
- RightAxis.Title.Font.Height = -16
- RightAxis.Title.Font.Name = 'Arial'
- RightAxis.Title.Font.Style = [fsItalic]
- TopAxis.EndPosition = 100.000000000000000000
- Align = alClient
- TabOrder = 0
- object CandleSeries1: TCandleSeries
- Marks.ArrowLength = 8
- Marks.Frame.Color = 8454143
- Marks.Visible = False
- SeriesColor = clRed
- VertAxis = aRightAxis
- CloseValues.DateTime = False
- CloseValues.Name = 'Close'
- CloseValues.Multiplier = 1.000000000000000000
- CloseValues.Order = loNone
- DateValues.DateTime = True
- DateValues.Name = 'Date'
- DateValues.Multiplier = 1.000000000000000000
- DateValues.Order = loAscending
- HighValues.DateTime = False
- HighValues.Name = 'High'
- HighValues.Multiplier = 1.000000000000000000
- HighValues.Order = loNone
- LowValues.DateTime = False
- LowValues.Name = 'Low'
- LowValues.Multiplier = 1.000000000000000000
- LowValues.Order = loNone
- OpenValues.DateTime = False
- OpenValues.Name = 'Open'
- OpenValues.Multiplier = 1.000000000000000000
- OpenValues.Order = loNone
- CandleWidth = 6
- Draw3D = True
- Left = 358
- Top = 54
- end
- object VolumeSeries1: TVolumeSeries
- Marks.ArrowLength = 8
- Marks.Visible = False
- SeriesColor = clBlue
- VolumeValues.DateTime = False
- VolumeValues.Name = 'Y'
- VolumeValues.Multiplier = 1.000000000000000000
- VolumeValues.Order = loNone
- XValues.DateTime = True
- XValues.Name = 'X'
- XValues.Multiplier = 1.000000000000000000
- XValues.Order = loAscending
- Left = 390
- Top = 54
- end
- object MovingAverageSeries1: TLineSeries
- Marks.ArrowLength = 8
- Marks.Visible = False
- DataSource = CandleSeries1
- SeriesColor = clGreen
- Title = 'Moving Average'
- VertAxis = aRightAxis
- Pointer.InflateMargins = True
- Pointer.Style = psRectangle
- Pointer.Visible = False
- XValues.DateTime = True
- XValues.Name = 'X'
- XValues.Multiplier = 1.000000000000000000
- XValues.Order = loAscending
- YValues.DateTime = False
- YValues.Name = 'Y'
- YValues.Multiplier = 1.000000000000000000
- YValues.Order = loNone
- object TeeFunction2: TMovingAverageFunction
- Period = 5.000000000000000000
- end
- end
- end
- object Panel1: TPanel
- Left = 0
- Top = 0
- Width = 531
- Height = 69
- Align = alTop
- TabOrder = 1
- object CheckBox1: TCheckBox
- Left = 13
- Top = 8
- Width = 129
- Height = 21
- Caption = '&Animate !!!'
- Font.Color = clBlack
- Font.Height = -21
- Font.Name = 'Arial'
- Font.Style = [fsBold]
- ParentFont = False
- TabOrder = 0
- OnClick = CheckBox1Click
- end
- object RadioGroup1: TRadioGroup
- Left = 276
- Top = 4
- Width = 121
- Height = 37
- Caption = 'Candle Style:'
- Columns = 2
- ItemIndex = 0
- Items.Strings = (
- '&Stick'
- '&Bar')
- TabOrder = 1
- OnClick = RadioGroup1Click
- end
- object CBShowOpens: TCheckBox
- Left = 420
- Top = 6
- Width = 97
- Height = 17
- Caption = 'Show Opens'
- Enabled = False
- State = cbChecked
- TabOrder = 2
- OnClick = CBShowOpensClick
- end
- object CBShowCloses: TCheckBox
- Left = 420
- Top = 26
- Width = 97
- Height = 17
- Caption = 'Show Closes'
- Enabled = False
- State = cbChecked
- TabOrder = 3
- OnClick = CBShowClosesClick
- end
- object CheckBox2: TCheckBox
- Left = 193
- Top = 14
- Width = 40
- Height = 17
- Caption = '&3D'
- TabOrder = 4
- OnClick = CheckBox2Click
- end
- object CheckBox3: TCheckBox
- Left = 13
- Top = 38
- Width = 124
- Height = 17
- Caption = 'Exact DateTime Axis'
- State = cbChecked
- TabOrder = 5
- OnClick = CheckBox3Click
- end
- object CheckBox4: TCheckBox
- Left = 141
- Top = 38
- Width = 116
- Height = 17
- Caption = 'Round First Label'
- State = cbChecked
- TabOrder = 6
- OnClick = CheckBox4Click
- end
- object CheckBox5: TCheckBox
- Left = 277
- Top = 46
- Width = 160
- Height = 17
- Caption = 'Zoom && Scroll Volume'
- TabOrder = 7
- OnClick = CheckBox5Click
- end
- end
- object Chart2: TChart
- Left = 0
- Top = 376
- Width = 531
- Height = 100
- BackWall.Brush.Color = clWhite
- BackWall.Brush.Style = bsClear
- Foot.Alignment = taLeftJustify
- Foot.Font.Color = clRed
- Foot.Font.Height = -11
- Foot.Font.Name = 'Arial'
- Foot.Font.Style = []
- Foot.Frame.Color = clScrollBar
- MarginLeft = 6
- MarginRight = 7
- MarginTop = 8
- Title.Frame.Color = clScrollBar
- Title.Text.Strings = (
- '')
- Title.Visible = False
- BottomAxis.Increment = 30.000000000000000000
- BottomAxis.EndPosition = 100.000000000000000000
- LeftAxis.Automatic = False
- LeftAxis.AutomaticMaximum = False
- LeftAxis.AutomaticMinimum = False
- LeftAxis.Maximum = 100.000000000000000000
- LeftAxis.EndPosition = 100.000000000000000000
- Legend.Visible = False
- RightAxis.Automatic = False
- RightAxis.AutomaticMaximum = False
- RightAxis.AutomaticMinimum = False
- RightAxis.Increment = 25.000000000000000000
- RightAxis.Maximum = 100.000000000000000000
- RightAxis.EndPosition = 100.000000000000000000
- RightAxis.Title.Caption = 'R.S.I.'
- RightAxis.Title.Font.Color = clNavy
- RightAxis.Title.Font.Height = -16
- RightAxis.Title.Font.Name = 'Arial'
- RightAxis.Title.Font.Style = [fsBold, fsItalic]
- TopAxis.EndPosition = 100.000000000000000000
- View3D = False
- OnGetNextAxisLabel = Chart2GetNextAxisLabel
- Align = alBottom
- TabOrder = 2
- OnDblClick = Chart2DblClick
- object RSISeries1: TLineSeries
- Marks.ArrowLength = 8
- Marks.Visible = False
- DataSource = CandleSeries1
- SeriesColor = clRed
- VertAxis = aRightAxis
- Pointer.InflateMargins = True
- Pointer.Style = psRectangle
- Pointer.Visible = False
- XValues.DateTime = True
- XValues.Name = 'X'
- XValues.Multiplier = 1.000000000000000000
- XValues.Order = loAscending
- YValues.DateTime = False
- YValues.Name = 'Y'
- YValues.Multiplier = 1.000000000000000000
- YValues.Order = loNone
- object TeeFunction1: TRSIFunction
- Period = 5.000000000000000000
- end
- end
- end
- object TeeCommander1: TTeeCommander
- Left = 0
- Top = 69
- Width = 531
- Height = 33
- Panel = Chart1
- Align = alTop
- TabOrder = 3
- object BitBtn3: TBitBtn
- Left = 417
- Top = 4
- Width = 89
- Height = 25
- Caption = '&Close'
- TabOrder = 3
- OnClick = BitBtn3Click
- NumGlyphs = 2
- end
- end
- object Timer1: TTimer
- Enabled = False
- Interval = 1
- OnTimer = Timer1Timer
- Left = 154
- Top = 30
- end
- end
-