求助挂单源码修改OP
|
请各位大虾们帮小弟修改以下源码为OP_BUYSTOP 和 OP_SELLSTOP。 小弟不会改,总提示失败。 谢谢哪位有心大虾帮助。。。。。。。。。。。 //+------------------------------------------------------------------+ //| 多单脚本.mq4 | //| Copyright ?2013, metaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Waihui" #property link "waihui8686@163.com" //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start() {int SlipPoints=10; int lots=1; int StopLoss=190; int Ticket; //---- Ticket=OrderSend(Symbol(),OP_BUYLIMIT,1,Ask-80*Point,SlipPoints,Bid-StopLoss*Point,Bid+280*Point,"1",0,0,0); if (Ticket<0) { alert(Symbol()+"多单开仓失败!"); } //---- return(0); } //+------------------------------------------------------------------+ |
打赏
最新创建圈子
新闻EA运行效果图圈 2019-05-05
圈主:admin 帖子:1
客服热线:

