Price action strategy with Prorealcode?

Forums ProRealTime English forum General trading discussions Price action strategy with Prorealcode?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #223867

    Hi!

    I’ve developed 4 different price action based setups and would like to automate them with an Algo.

    I have no prior experience in programming (but could ask some friends who code for help).

    The most basic setup is just trading a pullback when prices are trending (3 EMAs “aligned”).

    There are of course multiple components to even such a simple strategy:

    define the trend (in relation to the open of the market),

    define the position of EMAs, PB must not be more than 75% of the trending move,

    must buy above bar or below bar with an OCO order,

    stop loss and take profit (both a set number of points) calculated based on the size of the prior 2 bars before entry,

    Must include exceptions for when prices are choppy (ie. 4 bars before entry overlap by a certain amount).

    Its a very easy method to trade with point and click but feels like it may be much harder to program (if at all) because it does not rely on indicator values.

    #223868

    And the question was: is this possible with Prorealcode ?

     

    Thanks!

    #223872

    It’s usually possoible to code it, but it’s necessary to know ALL your conditions to know exactly what it’s going to be.

    For example, OCO orders are not available. So if you place a Long and Short pending orders they could both be triggered (though rarely, especially on higher timeframes) , otherwise they are both cancelled at the closing of each bar and you will want to place them again, if needed.

     

    #223873

    Thanks!

    Yes I know all the conditions and can explain them precisely in plain English.

    For OCO, I meant that there is one order (short or long) that then triggers the classical stop loss / take profit targets in the shape of an OCO.

    To me that is very standard. What’s less standard is people with algos that are not indicator driven.

    #223875

    As far as stop loss and and take profit are concerned, there’s no problem with OCO orders, as they CAN’T be both triggered 🙂

     

     

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

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