I can manipulate existing code to some extent, and get it to do what I want eventually. LOL
However, in the EA I am trying to code up, my stop loss is not a static setup that can be manipulated using external variables, such as 30 to the stop, and 60 to the TP points.
What would I now study, to find a way to use the last candle, or if it was within two or three candle points, the last swing high or low, and then have my stop move to B/E once it's up 20 pips or so?
I've been reading up on OrderSend, OrderModify, and learning the functions of those and the other options, but can't wrap my noggin around making my stops dynamic. The logic gets fuzzy
I've searched high and low for some kind of examples, but those types of stops, and t/p ideas aren't very common. I don't expect anyone to code anything, I would just like some starters on how one would go about it, and what to study to catch on to it mentally.
Any suggestions?