Im testing the trailing stop
At some point i have just exited at a point where i believe it could continune.
But while testing i have good results using just pure exit - but im trying to use settrailstop - but it does not work/give me correct results:
So in my mind - it should give me same result if run these two lines:
ExitLong(Convert.ToInt32(DefaultQuantity), "Long", "Long");
SetTrailStop("Long", CalculationMode.Ticks, 0, false);
It does not.
Then the other thing is that i see that i need to reset a trailing stop - which i dont understand how i do.
Because i also use a stoploss that is calculated just before the buy - until i set the trailing stop later.
As far as i can understand it is not possisble to have both. And is it true that setStoploss - overwrites set SetTrailStop() .
Then what happens if i start it with setStoploss - but at some point i wish to switch to setTrailStop - is that not possible? - because when i do it - it does not produce "same" reulst - as the two lines above.
I read that you need to reset on flat market - so right now i try to set another "unuseable" stoploss - when position is flat. But i still wish to set a useable stoploss - when i start a buy -
I hope anyone can help and explain a bit.
Best regards
Karsten
Comment