MQL5
전문가
Statistics and mathematics
Panels and dialog boxes
Custom graphics
OpenCL
ALGLIB
C++
C#
JavaScript
PHP
MySQL
PostgreSQL
Python
Linux
RegExp
Photoshop
Trading robot/indicator debugging
Strategy optimization
Strategy modules
Collection of data on the internet
Uploading data to a website
Forex
Stocks
Options
Data mining
Product Design
Text translation
Text writing
명시
double CalculateProfitOneLot(double entry_price,double exit_price) { double profit=0; if(!OrderCalcProfit(ORDER_TYPE_BUY,Symbol(),1.0,entry_price,exit_price,profit)) { Print(__FUNCTION__," Failed to calculate OrderCalcProfit(). Error ",GetLastError()); } return(profit); }
#define EXPERT_MAGIC 123456 // MagicNumber of the expert //+------------------------------------------------------------------+ //| Modification of pending orders | //+------------------------------------------------------------------+ void OnStart() { //--- declare and initialize the trade request and result of trade request MqlTradeRequest request={0}; MqlTradeResult result={0}; int total=OrdersTotal(); // total number of placed pending orders //--- iterate over all placed pending orders for(int i=0; i<total; i++) { //--- parameters of the order ulong order_ticket=OrderGetTicket(i); // order ticket string order_symbol=Symbol(); // symbol int digits=(int)SymbolInfoInteger(order_symbol,SYMBOL_DIGITS); // number of decimal places ulong magic=OrderGetInteger(ORDER_MAGIC); // MagicNumber of the order double volume=OrderGetDouble(ORDER_VOLUME_CURRENT); // current volume of the order double sl=OrderGetDouble(ORDER_SL); // current Stop Loss of the order double tp=OrderGetDouble(ORDER_TP); // current Take Profit of the order ENUM_ORDER_TYPE type=(ENUM_ORDER_TYPE)OrderGetInteger(ORDER_TYPE); // type of the order int offset = 50; // offset from the current price to place the order, in points double price; // order triggering price double point=SymbolInfoDouble(order_symbol,SYMBOL_POINT); // value of point //--- output information about the order PrintFormat("#%I64u %s %s %.2f %s sl: %s tp: %s [%I64d]", order_ticket, order_symbol, EnumToString(type), volume, DoubleToString(PositionGetDouble(POSITION_PRICE_OPEN),digits), DoubleToString(sl,digits), DoubleToString(tp,digits), magic); //--- if the MagicNumber matches, Stop Loss and Take Profit are not defined if(magic==EXPERT_MAGIC && sl==0 && tp==0) { request.action=TRADE_ACTION_MODIFY; // type of trade operation request.order = OrderGetTicket(i); // order ticket request.symbol =Symbol(); // symbol request.deviation=5; // allowed deviation from the price //--- setting the price level, Take Profit and Stop Loss of the order depending on its type if(type==ORDER_TYPE_BUY_LIMIT) { price = SymbolInfoDouble(Symbol(),SYMBOL_ASK)-offset*point; request.tp = NormalizeDouble(price+offset*point,digits); request.sl = NormalizeDouble(price-offset*point,digits); request.price =NormalizeDouble(price,digits); // normalized opening price } else if(type==ORDER_TYPE_SELL_LIMIT) { price = SymbolInfoDouble(Symbol(),SYMBOL_BID)+offset*point; request.tp = NormalizeDouble(price-offset*point,digits); request.sl = NormalizeDouble(price+offset*point,digits); request.price =NormalizeDouble(price,digits); // normalized opening price } else if(type==ORDER_TYPE_BUY_STOP) { price = SymbolInfoDouble(Symbol(),SYMBOL_BID)+offset*point; request.tp = NormalizeDouble(price+offset*point,digits); request.sl = NormalizeDouble(price-offset*point,digits); request.price =NormalizeDouble(price,digits); // normalized opening price } else if(type==ORDER_TYPE_SELL_STOP) { price = SymbolInfoDouble(Symbol(),SYMBOL_ASK)-offset*point; request.tp = NormalizeDouble(price-offset*point,digits); request.sl = NormalizeDouble(price+offset*point,digits); request.price =NormalizeDouble(price,digits); // normalized opening price } //--- send the request if(!OrderSend(request,result)) PrintFormat("OrderSend error %d",GetLastError()); // if unable to send the request, output the error code //--- information about the operation PrintFormat("retcode=%u deal=%I64u order=%I64u",result.retcode,result.deal,result.order); //--- zeroing the request and result values ZeroMemory(request); ZeroMemory(result); } } } //+------------------------------------------------------------------+
응답함
1
등급
프로젝트
12
25%
중재
1
0%
/
100%
기한 초과
0
무료
2
등급
프로젝트
46
28%
중재
9
0%
/
100%
기한 초과
7
15%
무료
3
등급
프로젝트
440
26%
중재
125
21%
/
57%
기한 초과
96
22%
작업중
4
등급
프로젝트
1
100%
중재
0
기한 초과
0
무료
5
등급
프로젝트
403
69%
중재
3
100%
/
0%
기한 초과
2
0%
로드됨
6
등급
프로젝트
34
65%
중재
0
기한 초과
0
무료
7
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
8
등급
프로젝트
3
67%
중재
1
0%
/
0%
기한 초과
0
무료
9
등급
프로젝트
932
47%
중재
303
59%
/
25%
기한 초과
124
13%
바쁜
10
등급
프로젝트
143
34%
중재
10
10%
/
60%
기한 초과
26
18%
무료
비슷한 주문
I need an EA made for my custom trading strategy
300 - 500 USD
Using 3 MA’s, Bollinger Bands and price action, I need an EA made for mt4 and mt5 (preferably) should have good knowledge of forex, risk management and candle stick patterns, and how to incorporate them in the codes. I need a very efficient code. * For the price, I just out anything there, but if you can do it I’ll pay the negotiated price*
Hello programmers, I'm looking for a skilled and knowledgeable programmer that can code me a Signals copier EA that takes the signals from Telegram channels. The program needs to feature the following settings: Signal format (Entry, TP and SL prices); Choose between multiple TP/SL levels with partial closure at each level; Add/Remove random points to TP and SL; Enter with random delay (with option to enter only if
My requirements are these. I am asking for a powerful EA indicator and robot to combat the ups and downs during trading in the market, also for all market conditions to bring a high value of profit in the business in the market during trading
EA Requirements No Risk Strategies like Martingale or Grid Must have nice entries and Exits Leverage 1:50 Profit 10% ( shown on inputs) Maxim Drawdown ( shown on inputs) Max Daily Loss 4% ( shown on inputs) All trades with Stop loss No trades During and After High Impact News( News Filter) No weekend Trades Profitable Back test for 1 year Trades Forex Mainly Gold EA Needs to have proven Results of Passing challenges
Terio bot
30+ USD
I have expert of crossing MA. I need who can add Fibonacci retrecement on it. So the fibo levels will be used for pending orders And TP/SL. When MA cross and open a trade Fibo must measure the trend put TP/SL of the trade and putt pending onderd in levels. And it must report the trade open and TP/SL in Telegram
need developer to create personal EA for me, serious developer required. will work together on my robot. timeframe 1h, simple SMA and RSI levels, 1 h time frame, trading on limit orders only
Hi! Thank you for your time. I'd like someone to code some horizontal indicator trendlines on MT5 please. The lines are to identify key times on the chart at current or last price at 1 hour and below time frames for all charts. Please refer to the attach picture as an example of what I'm after. As you'll see in the example there are small labelled boxes for "Futures", "Forex" and "Price Levels". These represent
Hello, i have this EA attached but its not working as it should on demo account. When using the strategy tester its different and good but on demo account its opens randomly orders any lot amount and not as it should be. You should check the EA and modify it so its working in demo account correctly as in the strategy tester. You can test it in EURUSD H1 for the last 4 months (default settings). Thank you
our exciting software developer isnt responding to the bugs he made in the mt5 ea now we need somebody for the long run that can fix the bugs and also add additional fuction in the future feel free to contact me
Hello, same as title. I do not care about the drawdown I just need a trading strategy that can do 100% return per month return, simple as that. It would be nice if it can be automated into a bot/EA. Most important is the return of at least 100% per month!!! The strategy you provide need to be tested and work fine and have been doing well in the live market by you or someone for a long time. To be clear again - I need
프로젝트 정보
예산
30 - 200 USD
개발자에게
27
- 180
USD
기한
로 10 일