DrawHorizontalLine("tag1",GetAtmStrategyPositionAv eragePrice(AtmStrategyId), Color.Yellow);
When the trade is over, the line is removed:
if (GetAtmStrategyMarketPosition(AtmStrategyId) == MarketPosition.Flat)
{
RemoveDrawObjects();
}
What I need to know, is how to draw 3 other lines:
1 - a line at my stop - private int stop = 22;
2 - a line at my target - private int target = 24;
3 - a line 2 ticks above my entry
Also, will the one line of code: RemoveDrawObjects(); get rid of all the lines at once?

Comment