This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
printf("This is a test!!\n"); | |
system("pause"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** sfo_chart only can use Highstock version <= v4.2.4 ! **/ | |
/** Highstock v4.2.5 doesn't allow empty series, which lets baseSeries of navigator become undefined and then causes an error when redrawing this chart! **/ | |
$.fn.sfo_chart = function(param) { | |
var that = this; | |
var SPACING = 2; | |
var yAxis_id_list = []; | |
var yAxis_ratio = []; | |
var focused_series = null; | |
var chart_data = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Indicator List **/ | |
var indicator_list = { | |
'PRICE': { | |
fields: ['open', 'high', 'low', 'close'], | |
optgroup: 'Overlays', | |
param_def: {}, | |
chart_type: { | |
'price': 'candlestick' //Notice!! The word 'price' is just a keyword!! | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.sfo_price_info_daily = function() { | |
this.$open_today = $('<th class="text-center"> - </th>'); | |
this.$high_today = $('<th class="text-center"> - </th>'); | |
this.$low_today = $('<th class="text-center"> - </th>'); | |
this.$close_today = $('<th class="text-center"> - </th>'); | |
this.$volume_today = $('<th class="text-center"> - </th>'); | |
this.$close_prev = $('<th class="text-center"> - </th>'); | |
this.$volume_prev = $('<th class="text-center"> - </th>'); | |
this.$oi_prev = $('<th class="text-center"> - </th>'); | |
this.$change = $('<th class="text-center"> - </th>'); |