Resting Limit Orders: sell/buy at touch of MA

Forums ProRealTime English forum ProOrder support Resting Limit Orders: sell/buy at touch of MA

Viewing 2 posts - 1 through 2 (of 2 total)
  • #123772

    Hi Guys,

    Looking for some coding help…. I’m interested in developing a code which:

    • Can be switched on / off for a chosen market
    • Once on, creates a limit order fixed to a moving average, limit to sell/buy at touch of MA +/- 1 tick/point.
    • Limit order to auto calculate trade size based on following factors: Account balance, risk %, 1 ATR ie:
      • Account balance eg 10,000
      • Risk 1% account balance ie 100
      • 1 ATR of market eg 580 points
      • Trade size = $10,000 * 1% = $100 / 580 points = 0.17 lots
    • Limit order will run until switched off, ie each day will recalculate the resting limit order based on today’s account balance, MA value and ATR value

    Is this possible in the ProRealtime autotrade environment?

    M

    #145259

    There you go (for the Daily TF):

     

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

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