at present I have a trailing stop configured as below:
else if (State == State.Configure)
{
//Sets a trailing stop
SetTrailStop(CalculationMode.Ticks, Trailing_Stop);
}
I notice that every single tick is causing my trailing stop position to be re-evaluated, causing problems with my connection to my broker.
What is the best practice method to throttle the updates to my trailing stop? are there any examples?
Ideally these should not be updating more than once per second.
Do I need to create a for loop and evaluate the trailing stop within this, or is there a variable I can configure?
Comment