Multiple entries

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

    This is my strategy:

    Can someone please code the following:

    If c2 is not met, I want c1 to keep buying 1 contract at 50 point intervals until c2 is met e.g whether it buys 1 or 10 times

    And the same with selling

    If c4 is not met, i want c3 to keep selling short at 50 point intervals until c3 is met.

    Thank you,

    Rob

    #78526

    To write code, please use the <> “insert PRT code” button yo make code easier to read and understand.

    I moved your topic to the english forum, instead of the french one, since you used english.

     

    #78527

    You seem to be asking the same question in two different topics. Did my answer here not do what you requested?

    https://www.prorealcode.com/topic/programming-moving-average-multiple-entries/#post-78082

    Please try not to double post as it just results in confusion for everyone.

    #78528

    I don’t know whether Vonasi’s answer in the other post was what you were looking for, but I wrote something while Vonasi was typting and I’m posting it:

     

    1 user thanked author for this post.
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