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
TakeProfit and StopLoss are prices, not amounts. SL must be below the Bid; not 50*1.3
It is converted to price inside that function.
StopLoss is an input in pips. I multiply that with 1.3 and that amount will go in that function, converted to correct normalized price, and used as stoploss price in the OrderModify() function.
And then I use that StopLoss in pips to create a filter for closing the trade. As Fernando said, I use stoploss from broker side as a second stoploss, and I use my first stoploss to trigger other actions when that price is hit,