Error

Created at 28 Feb 2024, 19:38
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
HO

HotRodx

Joined 10.01.2022

Error
28 Feb 2024, 19:38


ExecuteMarketOrder(TradeType.Buy, Symbol, LotSize, "Long Order", StopLossPips * Symbol.PipSize, TakeProfitPips * Symbol.PipSize, Bars.ClosePrices.Last(0));

 

 

Hello, 

 

How do I correct this line so i don't get any warnings?


 


 


@HotRodx
Replies

PanagiotisCharalampous
29 Feb 2024, 07:46

Hi there,

What warnings do you get?

Best regards,

Panagiotis


@PanagiotisCharalampous