Cant get Tradeindex Tradeprice and Countofposition to work

Forums ProRealTime English forum ProOrder support Cant get Tradeindex Tradeprice and Countofposition to work

Viewing 3 posts - 1 through 3 (of 3 total)
  • #5835

    Hi,

    I cant get this to work, I opens one order per bar:

     

    Please help.

    #5847

    Hi,

    Where is defined your “n” variable?

    What is your problem exactly? You mentioned that you opened an order per bar, which is correct at first view of your code. Because, while c1 or c2 is true you open a trade and they are always true obviously! 🙂

    #5852

     

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

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