Use Order Type (Market/Limit) as Variable

Forums ProRealTime English forum ProRealTime platform support Use Order Type (Market/Limit) as Variable

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

    Is there a way to use the order type (market or limit) as a variable?

    With the aim to optimize that strategy on that variable.

    Example variable for optimization: at market / at close limit

    #229090

    Make an If/Else (as large as you want) and let the condition be ruled by an Optimization Variable …
    🙂

    1 user thanked author for this post.
    #229123

    That works indeed, although making the code considerably longer

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