position take stop loss
Created at 10 Apr 2020, 12:58
LU
position take stop loss
10 Apr 2020, 12:58
hi how do I say
if (position take stop loss)
Do this.
thanks
Replies
luca.tocchi
10 Apr 2020, 15:08
RE:
PanagiotisCharalampous ha detto:
Ciao Luca,
Per prima cosa devi spiegarci cosa significa la posizione take stop loss.
Migliori saluti
Panagiotis
I wanted to know what the instruction was to say that my position is closed by the stop loss
thanks
@luca.tocchi
PanagiotisCharalampous
10 Apr 2020, 15:19
Hi Luca,
Check an example below
protected override void OnStart()
{
Positions.Closed += OnPositionsClosed;
}
void OnPositionsClosed(PositionClosedEventArgs obj)
{
if(obj.Reason == PositionCloseReason.StopLoss)
{
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2020, 14:58
Hi Luca,
You first need to explain to us what does position take stop loss means.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous