명시
I want to build an Ninjatrader C# automated Strategy. The Strategy: The bot puts a buy stop at the previous days high and the previous days low. Always both sides. -> very simple and straightforward for coding I guess. In addition to that the bot should have fields for SL and TP and especially Trailing SL in Pips. The trailing should have 3 different steps. Like 1-Step, 2-Step, 3-Step. And the last feature. It should have a fields, where to adjust the timing when the buystop or sellstop gets placed. For example place at 23:15 and delete orders at 21:00. Is that possible for you?
In day trading, the “trail step” (also known as “trailing step”) in a trailing stop order window refers to the distance by which the stop loss is adjusted upwards (for long trades) or downwards (for short trades) in discrete steps – rather than continuously.
Simply explained:
The trailing stop follows the price when it moves in the desired direction.
The trail step determines the intervals at which the stop loss is reset.
Example:
You have opened a long trade at $100.
Your trailing stop is $5 below the price (i.e., at $95).
You set a trail step of $1.
👉 Now the following happens:
Only when the price rises to $101 (i.e., $1 above the previous high) is your stop adjusted to $96.
At $102, the stop is set to $97, and so on.
Without a trail step, the stop would be adjusted with every tick (i.e., continuously), which is more sensitive but also more susceptible to market noise.
Translated with DeepL.com (free version)
Thank you very much.