Lot needs not be coded, use Margin instead. IsTradeTime is the same in Zorro, check out the description of dow() and hour(). I think ND is only a fix for some MT4 bug and not needed with Zorro, and RangeFromComment is for storing a variable in the trade struct, Zorro uses "TradeVar" for this.