Gonario:
Do you would know someone to say me if a stop loss negative it is equivalent to a positive profit?
example
....
extern int SL_Down_SELL=-3; //negative value
extern int TP_Down_SELL=40;
.....
OrderModify(OrderTicket(),OrderOpenPrice(),(SL_Down_SELL*Point),(TP_Down_SELL*Point),0,Red);
......
Thanx in advance
You've made a fundamental mistake - you are trying to enter a relative number of pips as the stoploss and takeprofit parameters in the trading function call.
The parameters must contain the calculated PRICE at which you wish to close the order.
CB
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
Do you would know someone to say me if a stop loss negative it is equivalent to a positive profit?
example
....
extern int SL_Down_SELL=-3; //negative value
extern int TP_Down_SELL=40;
.....
OrderModify(OrderTicket(),OrderOpenPrice(),(SL_Down_SELL*Point),(TP_Down_SELL*Point),0,Red);
......
Thanx in advance