Monday, April 28, 2014

New Zealand Has NZ$920 Million Trade Surplus


“;

var chart = “candlestick”;

var period = “h1″;

var reloadTime = 300;

var limit = 81;

var limitFrom = 0;

var runlineswicher = “false”;

var ap;// = setInterval(updateChart, reloadTime*1000);


function updateChart(DOMId)

clearInterval(ap);

change_chart();

change_symbol();

change_period();


//var indicators = GetIndicators();


//Get reference to chart object using Dom ID “ChId1″

var chartObj = getChartFromId(“chart_1″);

//Update its XML Data URL

var url = escape(“https://www.instaforex.com/forex_charts_getdata_xt.php?r=” + use_renderer + “&symbol=” + symbol + “&typechart=” + chart + “&period=” + period + “&limit=” + limit + “&limitfrom=” + limitFrom);

chartObj.setJSONUrl(url);


if (reloadTime != 0) ap = setInterval(updateChart, reloadTime * 1000);


function runline()

if (document.getElementById(‘runlineswicher’).checked)

runlineswicher = “true”;


else

runlineswicher = “false”;


//reload();


function change_symbol()

symbol = document.getElementById(‘symbol’).value;


function change_chart()

chart = document.getElementById(‘typeChart’).value;


function change_period()

period = document.getElementById(‘periodID’).value;


function change_reloadTime()

clearInterval(ap);

reloadTime = document.getElementById(‘reloadTime’).value;


if (reloadTime == 0)

document.getElementById(“bReload”).style.display = “inline”;


else

document.getElementById(“bReload”).style.display = “none”;

ap = setInterval(reload, reloadTime * 1000);


function ZoomOut()

if (limit 54)

limit -= 10;

updateChart();


function ToLeft()

limitFrom += Math.floor(limit / 2);

updateChart();


function ToRight()

limitFrom -= Math.floor(limit / 2);

if (limitFrom ‘;

str += ‘


SMA

‘;

str += ‘


CloseOpenHighLow

‘;

str += ‘



‘;

str += ‘



‘;

str += ‘



‘;

str += ”;


$(“#formIndicators table tr:last”).after(str);


$(‘#’ + idColor).ColorPicker(

color:’#ff0000′,

onShow:function (colpkr)

$(colpkr).fadeIn(500);

return false;

,

onHide:function (colpkr)

$(colpkr).fadeOut(500);

return false;

,

onChange:function (hsb, hex, rgb)

$(‘#’ + idColor + ‘ div’).css(‘backgroundColor’, ‘#’ + hex);

$(‘#’ + idColorInput).val(hex);


);


function DeleteIndicator()

$(“:input.del”).live(‘click’, function (event)

$(this).parent().parent().remove();

);


function GetIndicators()

var strReturn = “”;

$(“#formIndicators table tr.row”).each(

function (i)

var type = $(“.type”).eq(i).val();

var price = $(“.price”).eq(i).val();

var period = $(“.period”).eq(i).val();

var color = $(“.color”).eq(i).val();

strReturn += “type:” + type + “,price:” + price + “,period:” + period + “,color:” + color + “llll”;


);


return strReturn;


//AddLoadEvent(func_onload);




New Zealand Has NZ$920 Million Trade Surplus

No comments:

Post a Comment