How To Configure Trail Stop: Video Explanation
Code
{
"symbol": "{{ticker}}",
"date": "{{timenow}}",
"data": "buy",
"quantity": "3",
"risk_percentage": "0",
"price": "{{close}}",
"tp": "0",
"sl": "0",
"trail": "0",
"update_tp": "false",
"update_sl": "false",
"token":
"At1tGt9tTt8tWtE34534354t8tYtMtRt7",
"duplicate_position_allow":
"false",
"reverse_order_close": "true",
"account_id": "",
"trail_stop": "0.25",
"trail_trigger": "0.25",
"trail_freq": "0.25"
}
trail_stopLoss
Trailing distance relative to the current price.
trail_trigger
Amount of profit in price-value before the auto-trail converts your stop to a trailing stop.
trail_freq
The amount of change that must occur before the trailing stop will move, or the granularity of updates. If set to the instrument tick size, this will cause the stop to move on every positive tick ("positive" relative to your current position).
trail