Placing another order 10 points higher or lower

Forums ProRealTime English forum ProRealTime platform support Placing another order 10 points higher or lower

Viewing 8 posts - 1 through 8 (of 8 total)
  • #8426

    Hi,

    Just following on from my last post & would be grateful for any input possible.

    I am using a 1 min chart which if a condition is met a Long / Short is action.

    What I would like to do is it to wait 2 min (for example) and then carry out a second trade (accumulate).

    (What I am trying to control here is a signal that holds for 5 minutes and as a consequence – 5 separate trades are initiated all

    more or less at the same price)

    Or

    If the price moves 10 further points carry out another trade.

    Thanks you in advance for any help you can suggest.

    Regards

    BH

    #8439

    Hi, for your first needs, you can use TRADEINDEX which gives you the quantity of elapsed bars since when the last trade opened.

    For your next request, I’ll answer in the other topic 🙂

     

    #8445

    Would you not have to use ‘Barindex – TradeIndex’ in order to get quantity of elapsed bars since when the last trade opened? Or am I confused again?

    I know you know this Nicolas as it will be ‘2nd nature to you’ and a bit like asking you … how do you breathe! ha

    Apologies for my British humour

    GraHal

    #8452

    Hi,

    I think I’ve managed to sort it – I’ve arrived at the following code

     

    This stops the accumulation of orders one minute to the next – but actioned the second Long – which is what I wanted to try and achieve.

    I’ll continue to check for variatons on this and let you know if I come up with any variants.

    Regards

    Hugh

    #8484

    Yes I think you do it right.

    But you take new trade based on time only, not on price so your next buy order could be above or below the open price of the first one. Just for your information.

    @GraHal : this is correct! 🙂

    #8554

    Hi the Hug

     

    #8557

    Thanks GraHal,

    You’re welcome to get in touch if you want to exchange some ideas. My email address is ukprtfan@yahoo.com

    #10007

    Hi Guys,

    Can anyone advise on how to code buy order and at the same time to add several market orders to fill if price goes up?

    Thank you.

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

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