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?
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue