Find Jobs
Hire Freelancers

Modify Simple Entry for EA

$20-100 NZD

已完成
已发布超过 8 年前

$20-100 NZD

货到付款
I need to Modify some code that will enter an reverse order every opposite bar close.. I pasted the code below to use for order entry but the orders need to be added and reversed and pending option needs to be added... If bar closes bullish/up in price when the bar before it was bearish we enter a sell order or sell limit If bar closes bearish/down in price when the bar before it was bullish we enter a buy order or buy limit Takeprofit = 200 Stoploss = 30 Pending orders = True/False extern bool NO_opposite_bar_check=false; extern int count_bar_entry=1; bool valid_buy=false; bool valid_sell=false; int bar=1; int timeframe=0; double open,close; int last_count_bar; if(NO_opposite_bar_check) last_count_bar=bar+count_bar_entry-1; else if(!NO_opposite_bar_check) last_count_bar=bar+count_bar_entry; int x,y,j; for(j=bar;j<=bar+count_bar_entry-1;j++) { open=iOpen(Symbol(),timeframe,j); close=iClose(Symbol(),timeframe,j); if(open<close) x++; else if(open>close) y++; } if(NO_opposite_bar_check) { if(x==count_bar_entry) valid_buy=true; else if(y==count_bar_entry) valid_sell=true; } else if(!NO_opposite_bar_check) { double open_1=iOpen(Symbol(),timeframe,last_count_bar); double close_1=iClose(Symbol(),timeframe,last_count_bar); if(x==count_bar_entry && open_1>close_1) valid_buy=true; else if(y==count_bar_entry && open_1<close_1) valid_sell=true; }
项目 ID: 9436686

关于此项目

2提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi. I can change the code very fast. Thank you
$46 NZD 在1天之内
5.0 (85条评论)
5.9
5.9
2威客以平均价$51 NZD来参与此工作竞价
用户头像
I am a professional MT4 programmer with 10+ years coding experience. I strive to deliver my customers the best product and provide outstanding service. All my EAs come with unlimited to ensure that you get exactly what you request, and that it works exactly as per your requirements. I am available to complete this work, and as such should be able to complete within 24 hours once you accept my proposal to complete your work.
$56 NZD 在1天之内
5.0 (1条评论)
1.3
1.3

关于客户

UNITED STATES的国旗
Herndon, United States
5.0
55
付款方式已验证
会员自11月 12, 2012起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。