My stop loss condition looks like this 'SetStopLoss(@"InsideBarLong", CalculationMode.Price, Low[2], false).
I am trying to create a condition for SetProfitTarget for a long position and my logic for that is from the inside bar high (entrypoint) subtract the source bar low (stop loss) and then multiply that by 2. So, I am choosing From Entry Signal = @"InsideBarLong", Mode = Price, Value = set: Price (High), 1 Bars ago, - (minus), value = set: Price (Low), 2 bars ago, * (multiply), value = 2.
I have had the dropdown boxes set to arithmetic in both steps. But what I end up with is: SetProfitTarget(@"InsideBarLong", CalculationMode.Price, (High[1] - ((low[2] * 2) )) )
I think my logic is correct, but I can't understand why I have all those additional parentheses in there and I don't believe it will work.
Sorry if my form of explaining the steps is confusing, but I wasn't sure how to do it and as I said this is all new to me.
Any help and advice would be most appreciated.
Adam

Comment