percent
Percent-of-entry unit for stop and target.
Reference/Language basics/Language
stop 2 percent
stop 2 percent is a 2% stop from the fill. trail 5 points is still a price distance. stop 2 atr is 2 × ATR(14), stored as points.
Return value
—
Example
when close is above ema(21) buy stop 2 percent target 4 percent