Use Order Type (Market/Limit) as Variable

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229078 quote
    boup09
    Participant
    New

    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 quote
    PeterSt
    Participant
    Master

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

    boup09 thanked this post
    #229123 quote
    boup09
    Participant
    New

    That works indeed, although making the code considerably longer

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Use Order Type (Market/Limit) as Variable


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
boup09 @boup09 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by boup09
1 year, 11 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 03/02/2024
Status: Active
Attachments: No files
Logo Logo
Loading...