Open more positions

Forums ProRealTime English forum ProOrder support Open more positions

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

    Want some help with a code.

    If an algo takes a long position and lies back 20 points, I want a new position to take too long.

    After all, in my manual trade, I usually take 3-4 positions to get in “right”.

    Another question.

    If my algo takes a long position in DAX with 0.5 contract and I want to open a long position to can I take an even smaller position then?

    0.25 contract?

    My total position will then be 0.75 contract.

    Know that minimum position is 0.5 contract but if you already have a position of 0.5 and add on it then it should work or?

    #112656

    Found this from Vonasi

    But, i want to buy if my position go at the wrong way with 20 points.

     

    #112657

    This code should do the trick..or?

     

    #112670

    So you want to open a long position and then average down every time price drops at least 20 from your last trade price?

     

    As for opening smaller positions after the initial trade. You can only do this if the position size is greater than the minimum position size allowed by your broker. All orders are treated separately and must be at or above the minimum size allowed.

    #112677

    Thanks Vonasi

    Suspected that it was so regarding position size.

    If I want to limit to a maximum of 1 extra order.

    Can i use

    Max position = 2 then

    #112680

     

    #112682

    Thanks Vonasi 🙂

    Now that you are heated up:)

    When I do a back test I see that in the tick mode tab I have a figure of over 50.

    I think that is because buy and sell takes place in the same bar.

    What is the code to avoid it?

    #112698

    Yes that is because buy and sell takes place in the same bar. The only way to change it is by changing your exit conditions! Perhaps you have a very close stop loss or take profit target? If so then these will look great in back testing but in real life your broker will reject all your orders and your strategy will fall to pieces.

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