
外汇
文章平均质量分 53
firesnow
这个作者很懒,什么都没留下…
展开
-
点的计算
python 版@staticmethoddef compute_pips_basic(openprice,closeprice,trend,precise):###openprice 开仓价###平仓价###trend 做多0 做空1###preciese 精度pips = 0if precise == 0 or precise == 1 or precise == 2 or原创 2013-11-30 13:01:58 · 781 阅读 · 0 评论 -
结单方式
public static function get_closetype($closeprice, $takeprofit, $stoploss, $trend) { //返回结果1为手动结单2为止盈结单3为止损结单 if ($trend == 0) { if ($takeprofit == 0 && $stoploss == 0) {原创 2014-03-18 10:34:25 · 936 阅读 · 0 评论 -
由trend trend_type换算cmd
@staticmethod def format_getcmd(trend,trend_type): cmd = '' if trend == 0: if trend_type == 0: cmd = 'buy limit' elif trend_type == 1:原创 2014-03-24 17:38:25 · 653 阅读 · 0 评论 -
mt4下单种类
分为两大类 6小类1.原创 2014-04-11 16:33:15 · 1512 阅读 · 0 评论