
Latest posts made by Gomar
-
RE: priceposted in Questions & Answers
Hello
The two vertical lines are the time interval from 00:00 to 04:30. The highest price in this interval is marked with a red line and the lowest price is marked with a green line. According to my strategy and the conditions I defined for it, it should be at the point of the red arrow that the hour He entered the sell position at 08:00, which he did not do, and opened the position at 22:00. Trade number 773 -
RE: priceposted in Questions & Answers
Hello
I did what you said, but there is still a problem. In fact, it only opens positions in two specific hours, 05:00 and 22:00, if in some places it has a position before 22:00, but has not opened a position before 22 -
RE: priceposted in Questions & Answers
I corrected the code and it recognizes the highest and lowest price correctly and I told it to open only one position per day, but the positions it takes are wrong.
I don't know what the problem is?
https://fxdreema.com/shared/FIILCfvWb -
RE: priceposted in Questions & Answers
Thank you for your guidance
The problem is the detection of the first variable, i.e. the highest and lowest price in the time period from 00:00 to 04:30. Can you suggest me another way to find these two variables? -
RE: priceposted in Questions & Answers
thank you
But this EA did not open any trades in the backtest from 2020 to now. -
priceposted in Questions & Answers
hi everyone
I want to determine the highest and lowest price in the time period 00:00 to 04:30 and from 04:30 onwards if the close candle is higher than the highest price in the above period, buy and if the close candle is smaller than the lowest The price was in the high range, sell it.
https://fxdreema.com/shared/aw8W4v02