I am not a programmer, and lots of things are unavailable for me, since I make my robots using visual programming, but nevertheless, I manage to implement lots of complex things. For example, my favorite regression analysis, which I most often use in my mathematical algorithms. In fact, this is not as difficult as it seems, I use formulas, and everything else falls into place.
The difficulty arises with the construction of resistance and support lines, especially "oblique" ones. I couldn't find any literature that would solve this problem, and I couldn't come up with a solution myself.
You can easily draw trend lines along the tops, but this will only be very far from what you can draw with your hands, because the human factor is very important. Should I take into account the breakout for one tick or for the hourly passage of the line? Should I wait for the return into the channel or operate on new levels?
It is also difficult to explain to the algorithm what a false breakout is, or what is the second or third touch of the price. After all, the first touch happened, for example, at 12.00 and then the price goes up and down from the line and can touch 20 times. We can ignore the next hour or three, and then the price comes back again. What if the price is close to the level for all three hours? What algorithm can I use to automate this? I tried both the deviation in percentage and time intervals, but every time there are a lot of exceptions that break all the logic.
Now I draw lines by my hands, and then the robot operates with my lines.
Please share your solution of this problem.
Submitted October 20, 2020 at 05:43AM by Saro_M_V