Hello jcl, tks for replying! I completely understand that LotLimit is not meant for lot setting, my point doing this is to show that even with lotlimit set to 100, I get trades with lots greater than 100. If you look at the top of my question you will see that the initial arguing was about setting Risk = 50 and get trades with stop loss much greater than 50.

Its a little bit hard to fail to set LotLimit = 100;

I cant figure this out. I can understand how this
Code
			asset("AUDUSD");
			Stop = range->Low;
			Entry = range->High;
			Risk = 100;
			enterLong();


Can yield this:

Code
Name	Type	Asset	ID	Lots	Open	Close	Entry	Exit	Profit	Roll	ExitType
Robel:MorningRange	Short	AUDUSD	480101	278	16/10/2019 10:49	16/10/2019 15:01	0,67304	0,674773	-501	0	Stop