I have system using a trailing stop as follows:
protected override void Initialize()
{
SetTrailStop("", CalculationMode.Ticks, 60, true);
CalculateOnBarClose = true;
}
protected override void OnBarUpdate()
{
if ()
{
EnterShort(DefaultQuantity, "");
}
}
I'd like to reverse the trailing stop, so that I would go long instead of short and when the trailing "stop" was hit, it would be a take profit. I can't think how I could do this, low-intermediate coding skills so thanks for your patience,
Jeremy
Comment