Fixing a problem with error code #130

명시

We have created a script:

////////////////////// insert order ////////////////
      string  cur     = result2[0];
//--- get minimum stop level
   double minstoplevel=MarketInfo(Symbol(),MODE_STOPLEVEL);
   Print("Minimum Stop Level=",minstoplevel," points");
   double price=Ask;
//--- calculated SL and TP prices must be normalized
   double stoploss=NormalizeDouble(Bid-minstoplevel*Point,Digits);
   double takeprofit=NormalizeDouble(Bid+minstoplevel*Point,Digits);
//--- place market order to buy 1 lot
   //int ticket=OrderSend(cur, OP_BUY,0.02,price,1,0,0,"My order",16384,0,clrGreen);
   int ticket=OrderSend(cur,OP_BUY,0.02,MarketInfo(cur,MODE_ASK),3,stoploss,takeprofit,"Script BUY",0,0,clrBlue);
   if(ticket<0)
     {
      Print("OrderSend failed with error #",GetLastError());
      Alert("Error bij kopen up van ",cur," ");// Alert
      RefreshRates();
         return;
     }
   else
      Print("ORDER AANGEMAAKT");
      Alert("Kopen up succes voor ",cur," met ticket ",ticket," ");// Alert
//---
  }
////////////////////// insert order ////////////////

The error message we receive when this script is executed on certain pairs is "Minimum Stop Level=80 points".

This is a part of our script and it should be fixed between these lines if possible. Is there someone who can help us with solving this issue?


I don't know if this is related to an other error we receive in our Journal or if this is an other problem.

At a certain time after running the script we receive an error: MySQL: mysql_init failed. There was insufficient memory to allocate a new object.


I am looking for someone who can fix one of these issues and preferable both.

The most important one of the 2 is the first problem.


응답함

1
개발자 1
등급
(600)
프로젝트
935
46%
중재
31
39% / 29%
기한 초과
93
10%
무료
2
개발자 2
등급
(590)
프로젝트
789
71%
중재
9
33% / 33%
기한 초과
22
3%
무료
3
개발자 3
등급
(236)
프로젝트
440
26%
중재
125
21% / 57%
기한 초과
96
22%
작업중
4
개발자 4
등급
(356)
프로젝트
590
70%
중재
14
43% / 7%
기한 초과
28
5%
무료
5
개발자 5
등급
(164)
프로젝트
218
50%
중재
6
17% / 67%
기한 초과
11
5%
무료
6
개발자 6
등급
(6)
프로젝트
7
57%
중재
1
0% / 100%
기한 초과
2
29%
무료
7
개발자 7
등급
(88)
프로젝트
143
39%
중재
21
19% / 48%
기한 초과
30
21%
무료
8
개발자 8
등급
(121)
프로젝트
134
66%
중재
36
25% / 56%
기한 초과
22
16%
무료
9
개발자 9
등급
(3)
프로젝트
8
13%
중재
10
10% / 70%
기한 초과
2
25%
무료
비슷한 주문
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
I need an expert to help me convert chopzone traingview pinescript to mt4, I need an expert to get it done for me on between 1 to 2 days i hope this will be done by then, i will attach the file and my budget is $30 as of minimum here
This project involves converting the a TradingView Pine Script strategy, into a fully functional MT4 Expert Advisor (EA) using MQL5. The strategy includes multiple technical indicators, entry/exit conditions, stop loss (SL), take profit (TP), and custom entry price offsets. The EA should be designed for backtesting and live trading in MT4
Olá, preciso ativar em meu EA a função webrequest com URL para poder controlar os acessos de usuários que irão utilizar meu EA. Quero vender meu EA e preciso ter um controle maior de gestão de acessos ao meu EA
I'm planning on building/creating an mt4/5 trading indicator that use a break and retest strategy I will share a link for the idea strategy, Kindly message me to send you the link, I can't send it here
here we will create market website, where we will display all our assets in graphical form, we will pull data from Metatrader platform and update the website in real time. I need something like this https://NgnRates.com but on our site we will display our own rate based on calculations performed on MT5 source
I am seeking a custom trading robot/EA for MetaTrader 5, based on a proprietary strategy utilizing various technical indicators. Indicators: Vigor XProfuter/Maxwell's Equation Indicator Heiken Ashi Candlesticks Please ensure the trading robot/EA is fully functional, reliable, and compatible with MetaTrader 5. Additionally, clear documentation and support for any adjustments or optimizations in the future would be
I need to create an EA based on my own strategy that actually is a little bit different from most of the usual EA. This because it use an indicator but the power of the system is just because it can shows target price by designing trendline on the price chart in a unusual way. A friend of mine tried to create it on MT4 platform but, in the end, he realized that this platform has big limits when the program lines
For starters, I am looking for someone to explain the effect of the Israel vs Iran conflict on trading. Secondly, I am looking for experienced MQL5 developer to improve an existing Expert Advisor. The goal is to optimize performance, reduce drawdown, and increase profitability. Tasks include refining the current logic for trade entries and exits, enhancing risk management, and ensuring the EA performs
Below is the pine eidtor script convert it to MQL5 coding language and create bot based on following condition 1. This all should be on 5-minute chart timeframe 2. For Buy side, buy after closing of second candle when buy signal is given and hold buy position until sell signal is given. 3. For sell side, sell after closing of second candle when sell signal is given and hold sell position until next buy signal will be

프로젝트 정보

예산
30 - 100 USD
VAT (21%): 6.3 - 21 USD
총: 36.3 - 121 USD
개발자에게
27 - 90 USD
기한
 3 일