Feature request

❗ Before submitting your request, make sure that this feature is not listed ❗
You can insert pictures from the clipboard
Actual breakeven (used), not SL transfer to the entry point
Currently, when the “Activation in BU” function is enabled when the TP price is reached, SL moves to the entry point, taking into account commissions. However, I suggest defining the concepts of breakeven, profit and loss. • Breakeven is the price at which a position is closed and the trade's PNL fluctuates around $0. Since SL is a stop market order, it is impossible to calculate a price at which the actual result is =0. This would be a value around 0. • Profit is a positive result of a deal. • A loss is a negative result of a trade. If TP is reached, where part of the volume is closed, then transferring a StopLoss order above the entry point is not breakeven by definition. This is a profit, because PNL will actually be equal to TP minus the commission, so profits sold via TP will be protected. In this case, the difference between the current sale of the BU and the real place of the BU is too large, because due to volatility, the current BU will be close to the last price, which means that the SL order is likely to be triggered. The strategic point of transferring an SL order to a true breakeven price is that if the price reaches TP, it is likely that the price will continue to move until the next TP. At the same time, if the first goal has already been achieved, it is advisable to protect the position from loss. But on top of that, the SL order should be in a relatively safe place so that it is less likely to be absorbed by volatility. This is where breakeven helps, because if you close, for example, 50% of the volume at the first target, the breakeven will be somewhere in the middle between the entry point and SL, which is far enough from the last price at the time of TP's closing. Breakeven price = balance of funds invested in the position/remaining number of contracts — 3 commissions (entry, TP, future SL-Taker) Fortunately, you can update SL based on a signal from TradingView, so we've implemented breakeven using the SL module and the “Update signal settings” function enabled. But this requires additional features in the TV strategy and is being implemented quite confusingly) I would like to one day reduce the number of TV signals to the only one that opens a position.
2
·
SLX модуль
·
planned
Activate trailing at an accurate price.
Add to the module the ability to activate trailing at an exact price. And a visual display in the terminal (a line that will show the same data as in the SL and TP blocks). Because this is also, in fact, a trigger price. Why couldn't it be implemented right away? This option is available in the SL and TP modules. And the deviation from the trigger price and the minimum rearrangement step already remains as a percentage. Why do you need this: Firstly, when buying a market from a signal, the breakeven price will differ, since in the tradingview strategy, a signal with the market buy price is generated when the bar closes. Hence, the signal output from the position, the percentage that is transferred, will differ. In one case, trailing activation will be lower if the market bought below the price sent with tradingview. Otherwise, it is higher if the market is purchased above the price sent from tradingview. This will lead to the fact that the position may not close, but then go into the red. Secondly, the percentage adjusts the activation of trailing due to mintick, since in the strategy, for example, interest is also calculated by rounding the trading instrument with the math.round_to_mintick function. This is noticeable every time a percentage is sent to the module, for example, 2.67, and set to 2.68 or higher in the terminal. As a result, even if a position is opened at the wrong price, higher or lower than the required price, this will eventually lead to a 100% closure of the position when the activation price is reached.
1
·
SLX модуль