Libraries: Risk Lot Sizing Library - four risk bases, tick-value scaling, margin cap, daily limit

Risk Lot Sizing Library - four risk bases, tick-value scaling, margin cap, daily limit:

A stop distance in points is not money until the tick size and tick value make it one. This library turns four risk bases into a lot size, floors it to the volume step, caps it against free margin and tracks a daily loss limit. Two MQL5 headers, no DLL.

Risk Lot Sizing Library - four risk bases, tick-value scaling, margin cap, daily limit

Author: Jevon Naldo Yoshield