This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<?php
include_once 'ofc_bar_base.php';
class candle_value
{
/**
*
*/
function candle_value( $high, $open, $close, $low )
{
$this->high = $high;
$this->top = $open;
$this->bottom = $close;
$this->low = $low;
}
function set_colour( $colour )
{
$this->colour = $colour;
}
function set_tooltip( $tip )
{
$this->tip = $tip;
}
}
class candle extends bar_base
{
function candle($colour, $negative_colour=null)
{
$this->type = "candle";
parent::bar_base();
$this->set_colour( $colour );
if(!is_null($negative_colour))
$this->{'negative-colour'} = $negative_colour;
}
}