Ha Minh Phuc / Publications
Forum
Please help!!!!Close current position when having a new signal
Hi guys, Can you help me with my code, i need to close all current position when there is a new signal. Example: i'm currently on a Sell position, when there's a buy signal, i want the sell signal to close at market price and open a new buy position. Thank you! My code