Trendline Cross EA with a Twist

 

Can anyone write a simple EA that generates BUYS or SELLS when the Stochastics crosses a manually drawn trendline (see picture below). I haven’t been able to find anything like this on the web, so I hope it’s not an impossible ask. In this case, I want the EA to send a buy when the Stochs crosses the gold trendline (i.e. where I’ve put the red vertical line). I need to be able to set the Lot size, TP, initial SL. Ideally I’d like to have a trailing stop facility where Stoploss is moved to BE at x pips (where x is a variable) and then a jumping stoplost where SL is move y pips for every z pips move. An example would be; BUY - Lot size 0.1 lots, TP = 100 pips, initial SL set to 30 pips When BUY triggered and price moves to +30 (x) stoploss is moved to BE. Then when price moves +25 pips(z) SL is moved to +20(y). Thank you in advance Stan

I had a problem uploading the picture


 
Try the Jobs service. Read this Article to set Realistic Expectations.
 
No slaves here, learn to code or pay someone.
Reason: