Dear All
I have USDEUR historical/live quotes data for Amibroker.
Can I get EURUSD chart from those quotes along with values in the chart?
I am trying to use the following code by Happy Singh as a template
Tried this also ,but do not know how to use that
http://www.amibroker.com/kb/2006/08/09/amibroker-for-forex/
I have USDEUR historical/live quotes data for Amibroker.
Can I get EURUSD chart from those quotes along with values in the chart?
I am trying to use the following code by Happy Singh as a template
Code:
_SECTION_BEGIN("Ulta_Sulta");
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
bkcolor = ParamColor("Bk Color",colorBlack);
SetChartBkColor(bkcolor) ;
reverse = ParamToggle("Rerverse Chart","NO|YES",1);
if(reverse) {
GraphXSpace =-100;
BarCol = IIf(C > O, colorRed, colorBlue);
SetBarFillColor(IIf(C > O, colorRed, bkcolor));
}
else {
BarCol = IIf(C < O, colorRed, colorBlue);
SetBarFillColor(IIf(C < O, colorRed, bkcolor));
}
Plot( C, "Close", BarCol, styleCandle | styleNoTitle);
_SECTION_END();
http://www.amibroker.com/kb/2006/08/09/amibroker-for-forex/