Here’s the code I’ve written for FOREX pairs. It’s a standard break out entry I use manually on daily charts.
Technical analysis is carried out on the daily chart and an entry is made on a strong 2 hour candle.
The manual system was designed to catch an intraday burst of break out strength over a day or so.
I don’t have any experience in coding so I’m a long way off trying to automate my manual trading system.
What I was trying to do was work out if it’s possible to enter a short position 3 pips below the close of a signal bar rather than just sell the market.
No matter what I replace “market” with I get an error for the code. I did try your suggestion.
Perhaps buy and sell the market is all the software can do?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok