명시
the strategy i want to develop is based on double hedging. thus open buy order of lots 0.1, takeprofit - X , stoploss - X and at the same time open a pending sellstop order distance X from the opening price of the first buy Order with lots 0.1, takeprofit - 2X and stoploss -X. then at the same time Open a sell order at the same price and time of opening of the first buy Order, the sell Order is of lots 0.1 , takeprofit-X, Stoploss -X and at the same time place a pending buystop Order distance X from the opening price of the sell Order , with lots 0.1, stoploss -X, takeprofit -2X. {if i have confused you please refer to the image attached for illustration.}
scenacrio 1 . if the buy order hits takeprofit, the sell order should hit stoploss, buystop order should become a market BUY order and the sellstop should be deleted. if the now new active buy order hits takeprofit, the above repeats it self. and if the new buy order hits stoploss, the above is repeated but with double the previous order lots i.e lots 0.2, then , 0.4 , 0.8 etc.
scenario 2 - if the first buy order hits stoploss, the sell order hits takeprofit, pending sellstop order gets deleted. if the new active sell order hits stoploss, the above set of orders is opened but this time with double the lots compared to the previous cycle. i.e if the previous cycle had 0.1lots then 0.2lots
Note : the cycle is repeated with increasing lots till profit is reached on the orders with 2x takeprofit.
to make the system more robust, the next cycle is initiated facing / in the last known direction of the market.
please attachment for proper illustration.