- Joined
- 20 January 2008
- Posts
- 530
- Reactions
- 1
cheers wayne.
Hi guys, I've been trading currency futures with AmiBroker, but having problem displaying JPY quotes on the axis, as it is currently limited to 4 decimal places, so I just get 0.0092 0.0092 0.0092...etc
Anyone know how I can change this so it either displays the full 0.009250 or display as 92.50?
Thanks
GraphXSpace = 10;
Plot(C*10000,"",colorBlack,styleNoLine|styleNoLabel);
PlotOHLC(O*10000,H*10000,L*10000,C*10000,"Yen Futures",colorBlack,styleBar|styleNoRescale);
_N(Title = StrFormat("{{NAME}} - {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
You mean the % change in closing price?
To change it to a fraction, divide the last value by 100:
SelectedValue( ROC( C, 1 )) / 100
You'll also want to change the format to display more digits and remove the % sign:
Close %g (%.3f)
GP
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
You mean to 5000 to 5500?the previous bar was5000, next bar goes to 5100, instead of the displaying 10%, I would like it to show 500
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.