Order Send 130 Error - What is Entry Value?

Johan1974NL

Trader
Oct 7, 2022
1
0
6
49
Hello,

I keep getting the error 130 and found this article about it.

https://www.earnforex.com/guides/ordersend-error-130/

I would like to implement this code but is not clear to me what the entry value contains.

MQL4:
if (Entry - Bid < StopLevel * _Point) Entry = Bid + StopLevel * _Point;
 
if (StopLoss - Entry < StopLevel * _Point) StopLoss = Entry + StopLevel * _Point;
 
if (Entry - TakeProfit < StopLevel * _Point) TakeProfit = Entry - StopLevel * _Point;

All the other values i have but i am lost on the Entry Value.

Thanks!