criteria for entering positions

Forums ProRealTime English forum ProOrder support criteria for entering positions

Viewing 4 posts - 1 through 4 (of 4 total)
  • #107440

    Does anyone know if it’s possible to enter trades based on the criteria of the prior closed candle?

    I’m coding a break out of daily lows via ATR multiples on a 2 hour chart. Most of the code seems to work OK but I’m stuck on one fundamental issue.

    At the moment I’ve only been able to work out the standard SELLSHORT 1 PERPOINT AT MARKET

    I would like to be able to enter a few points below the prior candle’s close.

    I can’t seem to find any code that replaces the standard MARKET.

    I was hoping it could just be replaced with CLOSE(1)-3.

    Thanks

    Andrew

    #107449

    What market ?

    Try below with square brackets (not rounded brackets)

    Easier for us if you post your full code?

     

    #107453

    Thanks for the reply

    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?

     

    #107459

    >> For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text of the code part! Thank you! <<

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login