Why am I getting this error?
2024.04.15 08:11:24.267 Core 1 2022.09.26 00:00:00 failed market buy 0.1 USDJPY, close #120 sell 0.1 USDJPY 140.780 [Market closed]
2024.04.15 08:11:24.267 Core 1 2022.09.26 00:00:00 Closing position/trade error: Market is closed (10018)
What can I do?
The error also occurs if I use the history from Dukascopy
Latest posts made by maho
-
Strategy testing errorposted in Questions & Answers
-
ADX indicator range do not tradeposted in Questions & Answers
How do I define the condition for the ADX indicator, if the value of the base line is in the range of 20 and 25, do not execute orders.
-
ADX indicatorposted in Questions & Answers
Hello!
I want to use the indicator Average Directional MOVEMENT Index with the condition that when the ADX line is above the value of 25, the condition for trading is met. When the ADX line is below the strength of 25, there is no trading condition.
Can anyone advise me -
RE: BUY WHEN THE CANDLE IS HIGHER SELL WHEN THE CANDLE IS LOWERposted in Questions & Answers
How do I now add that the stop loss always moves at:
BUY always move the stop loss below the candle wick LOWEST.SELL always move stop loss above candle wick HIGHEST.
Candle after actual candle.The STOP LOSS movement is repeated until the position is closed with a STOP LOSS.
-
RE: BUY WHEN THE CANDLE IS HIGHER SELL WHEN THE CANDLE IS LOWERposted in Questions & Answers
When the position is open in this case BUY and the trend goes in the right direction, the next candle is bigger (the price is higher) than the previous one, the position is still open, and the stop loss is automatically moved under the previous candle to WICK LOW, and so on until the price set STOPLOSS
When the position is open in this case SELL and the trend goes in the right direction, the next candle is smaller (the price is lower) than the previous one, the position is still open, and the stop loss is automatically moved above the previous candle to WICK HIGH, and so on until the price set STOPLOSS
-
BUY WHEN THE CANDLE IS HIGHER SELL WHEN THE CANDLE IS LOWERposted in Questions & Answers
Hello!
How do I create this strategy.BUY
When the body of candle 1 is higher than the body of candle 2, open a position
Place a stop loss below the low of candle 1
if the trend continues, always move the stop loss for the previous low candle.SELL
When the body of candle 1 is lower than the body of candle 2, open a position
Place a stop loss on the high of candles 1
if the trend continues, always move the stop loss to the high of the previous candle.Only open one trade if the condition is met
Look at the picture
