hend.engineering
hend.engineering 13 Jun 2024, 18:51 ( Updated at: 14 Jun 2024, 05:11 )
PanagiotisCharalampous said:
Hi there,You don't seem to use the SL and TP in your ExecuteMarketOrder method ExecuteMarketOrder(TradeType.Buy, SymbolName, VolumeInUnits, label);You need to pass them as parameters.Best regards,Panagiotis
Hi there,
You don't seem to use the SL and TP in your ExecuteMarketOrder method
ExecuteMarketOrder(TradeType.Buy, SymbolName, VolumeInUnits, label);
You need to pass them as parameters.
Best regards,
Panagiotis
Thank you for that. It took me a while but I did eventually figure that out! Embarrassing, but then again I haven't long discovered this language.
Any idea how I incorporate that function into the logic?
hend.engineering
13 Jun 2024, 18:51 ( Updated at: 14 Jun 2024, 05:11 )
RE: Sample Trend Algo - Not responding to Stop Loss and Take Profit Addition
PanagiotisCharalampous said:
Thank you for that. It took me a while but I did eventually figure that out! Embarrassing, but then again I haven't long discovered this language.
Any idea how I incorporate that function into the logic?
@hend.engineering