Auftrag beendet
Spezifikation
Hello, I need a trading robot where I pass as input the "Period" of the RSI, a distance from the midpoint of the RSI (50), and pips of SL. And what the bot will do is execute a sell order when the RSI is greater than half of the RSI(50) + the distance that was provided as input. And the same will do for buys, when the RSI is below average - the distance that was provided as input. The trade should be closed when the RSI reaches the middle (50).
That is to say that it will enter a sell order whenever the RSI is above half plus the distance as input (The half is 50 and the distance in input is 20 means that it will enter sales when the RSI is greater than 70) and that sale will be closed when the RSI reaches the point of 50 of the RSI, the SL will be placed according to the distance in pips placed as input. TakeProfit will not take the operation because it will be closed when it reaches 50 of the RSI.
For buy orders, it will always be that the RSI is below half minus the distance as input (The half is 50 and the distance in input is 20, which means that sales will be entered when the RSI is less than 30) and that sale will be closed. When the RSI reaches the 50 RSI point, the SL will be placed according to the distance in pips entered as input. TakeProfit will not take the operation because it will be closed when it reaches 50 of the RSI.
You can see in the image an example.