Script to open order modification

MQL4 脚本

工作已完成

执行时间1 一天
员工反馈
great and nice customer
客户反馈
He complete the job in just couple of hours. Satisfied with this project and will hire him again in the future.

指定

This is how my current script works:  I have a script (simple short script that has only 50 lines of coding) that place Sell Limit, Sell Market, Sell Stop orders with predetermined SL and TP with some other options like UseMoneyMgmt.  (leave 0 to disable SL/TP) When SetEntryPrice is left 0, it opens market order, but when I put x.xxxx  on SetEntryPrice , script will place 1 pending order (Sell Limit or Sell Stop order depend on what price I entered against current price at the time of running script).  Example:  At the time of executing this script, if current price = 1.25000, if I put OrderPrice = 1.25600, script will place pending Sell Limit order.  If I put OrderPrice = 1.24300, script will place pending Sell Stop order. If I put OrderPrice = 0 (left this setting to 0), script will place Sell Market order immediately.  

The script currently have these options:

extern double InitialLots = 0.1;

extern bool   UseMoneyMgmt = false;

extern double RiskPercent = 2;

extern bool   UseStop = true;

extern bool   UseTakeProfit = true;

extern double StopLoss = 15;

extern double TakeProfit = 50;

extern string Note="0 in SetEntryPrice field means Market Order Sell";

extern double SetEntryPrice = 0.0000;

 

//the following options to be add for this job

Extern bool EnableExtraOrders = true (or false); // if set to false, script should run ‘AS IS’.

extern int     PendingOrderPriceDist = 10 ;  // (value in pips)

extern double LotSizeIncrementForSellLimitOrder= 0.1(or -0.3) ; // this setting can be plus or minus   

extern double LotSizeIncrementForSellStopOrder= 0.2(or -0.4);  // this setting can be plus or minus   

 

This Job Request:

1)   I would like to add script to add following options.

·         PendingOrderPriceDist = 10; // 10 is user input and this number should be in pips. 

·         LotSizeIncrementForSellLimitOrder= 0.1 (or -0.1) ;   // user input   

·         LotSizeIncrementForSellStopOrder= 0.2 (or -0.2);  // user input  

Note:

** This option is only applied when I run script to place MarketOrder (In otherwords, this option should only execute when I run script with SetEntryPrice = 0.0000 and EnableExtraOrders = true)  These extra pending order's lotsize maybe larger or smaller than InitialLotSize. 

** SL,TP for these pending orders should be same as Initial Market Order.  So, TP & SL is set for Market order, these pending orders should be same as the Initial Market order’s SL and TP 

** LotSizeIncrement should be always calculated from the Initial Market Order’s LotSize.  So, if MarketOrder was used with InitialLotsize = 1,  LotSizeIncrement should be calculated from 1.  If UseMoneyMgmt= true, RiskPercent = 2, LotSizeIncrement should be calculated from the RiskPercent LotSize.

Example A:  Current Price = 1.25000, Initial LotSize = 1  when I run script with extern double SetEntryPricePrice = 0.0000;  extern int pendingOrderPriceDist = 10 ;  extern double LotSizeIncrementForSellLimitOrder= 0.1 ;    extern double LotSizeIncrementForSellStopOrder= 0.2 ;  Script should place   1 lot Sell order immediately @ 1.25000 and also place 1.1 lot, Pending SellLimit order at 1.25100 and place1.2 lot, 1 pending SellStop order at 1.24900.     

Example B:  Current Price = 1.25000, Initial LotSize = 1  when I run script with extern double SetEntryPricePrice = 0.0000;  extern int pendingOrderPriceDist = 10 ;  extern double LotSizeIncrementForSellLimitOrder=  -0.1;    extern double LotSizeIncrementForSellStopOrder=  -0.2;  Script should place   1 lot Sell order immediately @ 1.25000 and also place 0.9 lot, Pending SellLimit order at 1.25100 and place 0.8 lot, 1 pending SellStop order at 1.24900.    

2)   When compile the script, I would like warning free. Currently, it has 1 warning à  " return value of OrderSend should be checked"  - When it is all done and I would like warning free.

 I will provide source code for the script after job has assigned to the coder. 

反馈

1
开发者 1
等级
(320)
项目
521
66%
仲裁
52
21% / 38%
逾期
165
32%
工作中
2
开发者 2
等级
(508)
项目
764
63%
仲裁
33
27% / 45%
逾期
23
3%
空闲
3
开发者 3
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
相似订单
Dear Freelancers, I'm seeking a skilled MT4/MT5 developer to collaborate on a valuable trading indicator. Project Description: I'm looking to develop a powerful Elliott Wave indicator compatible with the MT4 and MT5 trading platforms. This indicator will be based on the highly successful [LuxAlgo] indicator currently available on TradingView. Key Features: In-indicator Alerts: The ability to receive pop-up
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing
i am looking for experienced programmer to create indicator for me. i am willing to pay for the service. and if it works amazingly like i expected. i will tip more money
High Low intraday ticker to display the most recent high low of up to 40 stock symbols. As a stock makes an intraday high low it will populate at the top and so on. Regardless of chart that's display it will continue to track high lows of the 40 stocks inputed. The 40 stocks can by manually changed. A high will display as green with the time (hour:minute:second), symbol, and last price. A low will be displayed as red
Modify an existing Python bot to trade bollinger bands, with iqoption api Currently the bot strategy is wrong, I am limited in my knowledge here and hope to fix this Hope to work with more experience people out there in relation to iqoption api and python
I need an EA to automate Tradingview alerts on MT4 using webhook alerts. The bridge/connector should be python based GUI. Required features at a minimum Mapping Tradingview alert formats to MT4 Automating market, limit and stop orders with entry price, stop loss, multiple TPs and trailing stop Lot sizing - fixed/% of balance/fixed amount breakeven, partial close and trailing stop Mapping pair name prefixes/suffixes
hi guys, I have a script, that I have been struggling to work. most of the work is done, just final touch of an expert is needed. The script Is using Fibonacci and Pivot standard in its base. look forward to hear from an expert! Best regards Sina
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree

项目信息

预算
10 - 15 USD
开发人员
9 - 13.5 USD
截止日期
 1  3 天