I saw from another post that if i need to refresh a chart, i could use the below 2 methods:
1) The object being added and removed is only a step to cause the refresh, because the chart is looking for an object to be removed this would cause a refresh.
The syntax could be as simple as the following:
Code:
Draw.Dot(this, "dummy_dot", false, 0, 0, Brushes.Transparent);
RemoveDrawObject("dummy_dot");
OR
2) using ForceRefresh()
---------------------------------------------------------------------------
Can I check if
1) I have an active trade running on a strategy and I perform either of the above methods to refresh the chart, will it affect my active trade (meaning disable my strategy)?
I asked because if I have an active trade running on a strategy and I manually clicked on the "Reload all historical data" to refresh the chart, it would prompt me that my strategy would be disabled.
Thanks.
Comment