bh_hensem:
hi..
I have got an error message as below:-
OrderModify error 130
Could somebody help me how to solve this problem ?... my code as below:
Thank you
Did you try searing the forum ?
- Not adjusting for 4/5 digit brokers and minimum limits
void SetBuyStopLost() { if (OrderOpenPrice() - Ask > Point * StopLost) { OrderModify(TicketNumber, OrderOpenPrice(), Ask+Point*10, OrderTakeProfit(), 0, Blue);
Do you really think you can set a stop lost ABOVE the market on a buy order?- Using the wrong value in the calculation. You BUY at the ASK, the stops are relative to the BID.
extern int StopLost = 0;
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi..
I have got an error message as below:-
OrderModify error 130
Could somebody help me how to solve this problem ?... my code as below:
Thank you