Fixing a problem with error code #130

Spezifikation

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.


Bewerbungen

1
Entwickler 1
Bewertung
(600)
Projekte
935
46%
Schlichtung
31
39% / 29%
Frist nicht eingehalten
93
10%
Frei
2
Entwickler 2
Bewertung
(590)
Projekte
789
71%
Schlichtung
9
33% / 33%
Frist nicht eingehalten
22
3%
Frei
3
Entwickler 3
Bewertung
(236)
Projekte
440
26%
Schlichtung
125
21% / 57%
Frist nicht eingehalten
96
22%
Arbeitet
4
Entwickler 4
Bewertung
(356)
Projekte
590
70%
Schlichtung
14
43% / 7%
Frist nicht eingehalten
28
5%
Frei
5
Entwickler 5
Bewertung
(164)
Projekte
218
50%
Schlichtung
6
17% / 67%
Frist nicht eingehalten
11
5%
Frei
6
Entwickler 6
Bewertung
(6)
Projekte
7
57%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
2
29%
Frei
7
Entwickler 7
Bewertung
(88)
Projekte
143
39%
Schlichtung
21
19% / 48%
Frist nicht eingehalten
30
21%
Frei
8
Entwickler 8
Bewertung
(121)
Projekte
134
66%
Schlichtung
36
25% / 56%
Frist nicht eingehalten
22
16%
Frei
9
Entwickler 9
Bewertung
(3)
Projekte
8
13%
Schlichtung
10
10% / 70%
Frist nicht eingehalten
2
25%
Frei
Ähnliche Aufträge
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
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."
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
Hey greetings am in need of a developer that can convert my simple tradingview indicator to MT4 I have the source code of the indicator and is also a public indicator on Tradingview site Kindly bid and let started
Hello my developer colleagues, am also a developer like you but i just hear about this mql site and i will like to sell, develop and build bots for buyer. But i don't know how to become a seller here please i need help in helping me to create a seller account on mql and i will be very glad if you can help me out and i will appreciate you
Preciso de um EA que abra ordens a mercado a partir de um indicador, Ele precisa obter take e stop loss fixos, spread máximo, horários de início e final das operações, meta e stop diário, martingale, painel e a função no script para que eu possa ceder o EA apartir do id do mt4 de terceiros
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards
Would I honestly need is someone who can make a profitable EA for me that can at least make me around $80 a day starting with $50 and the EA must be able to work with exness the EA should automat trades 24/7. Broker = Exness Pairs = USD/JPY XAU/USD and etc Chart time frames = M1 M15 History = last month till last 6 months. Lot size 0.10 take profit at $2 stop

Projektdetails

Budget
30 - 100 USD
MwSt (21%): 6.3 - 21 USD
Insgesamt: 36.3 - 121 USD
Für die Entwickler
27 - 90 USD
Ausführungsfristen
bis 3 Tag(e)