작업 종료됨
명시
I would like to create an order to buy or sell when a candlestick closes above or below a certain price.
The order is given when a candlestick closes above or below a certain price to give order to buy or sell respectively. Along with this order I want to be able to set up a stop loss. The stop loss has to be placed when a candlestick closes beyond a certain price in the opposite direction.
I have made an example for you: it has been attached below
1. 1. At the first arrow we decide to give our order, in our case we are between 1,1300 and 1,1275, so if a candlestick closes above 1,1300 then open a long position and if a candlestick closes below 1,1275 then open a sort position.
2. 2. At the second arrow a candlestick closed above that certain price (1,1300) so we have a long position opened.
3. 3. The third arrow is the stop loss. Once we open the long position we set up our stop loss. The stop loss is going to be placed when a candlestick closes below a certain price (in our case is 1,275).
I would like as well to be able to change the way it works. So far we said that the position opens when a candlestick closes above or below a certain price, I would like to be able to change that and to open the position when the price just goes below or above a certain price. So I want to have ability to change the settings when I need.
1.