MT4 | JForexAPI | 補足 | |
関数 | クラス | ||
Point() | instrument.getPipValue() | Instrument | 小数点位置に差異有り (MT4:0.1pips、JForex:1pips) |
Symbol() | instrument | Instrument | JForexは"USD/JPY"のように スラッシュが入ります |
"USDJPY" | Instrument.USDJPY | Instrument | ドル円でフィルタリングする時 |
Ask Bid |
tick.getAsk() tick.getBid() |
ITick | - |
MathAbs | Math.abs | Math | - |
Comment | chart.comment | IChart | - |
XXX | XXX | - | - |
MT4 | Java | 補足 | |
関数 | クラス | ||
Print() | console.getOut("").println() | IConsole | - |
printf() | console.getOut().format("").println() | IConsole | - |
StringFormat() | String.format() | String | - |
TimeToStr() | SimpleDateFormat temp_sdf = new SimpleDateFormat( "yyyy/MM/dd hh:mm:ss");
temp_sdf.format(変換したい時間データ); |
SimpleDateFormat | - |
XXX | XXX | - | - |