I would appreciate some help in code creating with the purpose of closing an open position that is losing if the volume during a candle stick exceeds a certain limit. Is that possible?
As an example, I have an opened a buy order at 16.00. Timeframe is set to 15 minutes. If that position is generating a loss after 15 minutes, when the candlestick closes, I want the open position to be closed.
Trading on leveraged financial instruments may expose you to risk of loss greater than your deposits and is only suitable for experienced clients with the financial means to bear such risk. Trading on foreign exchange instruments (Forex) and contracts for difference (CFDs) is highly speculative and particularly complex and comes with a high level of risk due to leverage. You must ensure that you understand how these instruments work and that you can afford to take the high risk of losing your money. No information on this site is investment advice or a solicitation to buy or sell any financial instruments.