Trailing Stop Order Buy on Trading.
===================================
The Sensor Price to activate the Stop Price must meet the Conditions
Current Rebound Price >= Current Trailing Price
Current Rebound Price = price that strengthens to "P".
Current Trailing Price = Current lowest price (1+ r); where "r" is the percentage level of rebound
For example:
Current Price = stop price = 9000 USDT
Limit Price = 8900 USDT.
r = 5%
Trailing Price = 9000 x 105% = 9450 USDT
At this time the Stop Price is not yet active because it does not meet the sensor price conditions because the market price is still smaller than the Trailing Price.
Furthermore, the Trailing Price continues to follow when the price goes down and will stop following when the price goes up.
Then over time the market price drops to 8500 USDT, followed by the Trailing Price.
Then the Trailing Price = 8500 x 105% = 8925 USDT
Then the Price strengthens (Rebound) again by "P" which is 8800 USDT and the Trailing Price still does not follow.
In this condition, the Stop price is also not active,
because it does not meet the Sensor conditions
Current Rebound Price >= Current Trailing Price
where the rebound price is 8800 USDT and the Trailing price is 8925 USDT.
Then over time the market price drops to 8000 USDT.
Then the Trailing Price = 8000 x 105% = 8400 USDT
Then the Price strengthens (Rebound) again by "P" whose price is >= current Trailing price.
In this condition, the previously set Stop price is already active, because the Price Increase "P" exceeds the Trailing price.
With the active Stop Price notified by the price sensor, the Buy Order at the Limit price of 8900 USDT was executed.