Similar / Publications
Forum
Help me with a function and startegy tester
This is the function: void OpenBuy() { double ldLot, ldStop, ldTake; string lsComm; ldLot = GetSizeLot(); ldStop = GetStopLossBuy(); ldTake = Ask+(takeProfitBuy*Point); lsComm = GetCommentForOrder(); int ticket = OrderSend(Symbol(),OP_BUY,ldLot,Ask,3,ldStop,ldTake,lsComm,MAGIC,0,CLR_NONE); if