I'm trying to transfer my code from NT7 to NT8.
I wrote a function that wraps Draw.Diamond which pass compilation on my indicator:
public Diamond DiamondDraw(double y, DateTime dateTime, Brush brush) { return (Draw.Diamond(this, Guid.NewGuid().ToString(), false, dateTime, y, brush)); }
However I want it to be on my Add-on so I wont need to copy it to each indicator. How can that be accomplished?
Thanks
Comment