Stop losses expressed as chart levels instead of pips?
Stop losses expressed as chart levels instead of pips?
12 Feb 2021, 14:38
Hi.
In all the examples I've seen regarding PlaceStopOrder, ExecuteMarketOrder and similar methods, the stop loss always seems to be expressed in the form of a number of pips, presumably measuring a distance from the entry price.
Is it possible to instead express the stop loss in these methods as fixed chart prices? For example "I want this position to close if the bid price exceeds 1.20".
Replies
wefald
12 Feb 2021, 15:19
( Updated at: 12 Feb 2021, 15:28 )
RE:
PanagiotisCharalampous said:
Hi wefald,
You can use ModifyStopLossPrice and ModifyTakeProfitPrice to set absolute prices for SL and TP.
Best Regards,
Panagiotis
Thanks for the quick reply. (:
@wefald
PanagiotisCharalampous
12 Feb 2021, 15:09
Hi wefald,
You can use ModifyStopLossPrice and ModifyTakeProfitPrice to set absolute prices for SL and TP.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous