Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Long/Short Only Option

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Long/Short Only Option

    I'm using Strategy Builder. I would like to add a long only/short only/both option to the strategy so that I have to option to just buy or sell or have both turned on.
    Thanks

    #2
    Hell Fran888,

    Thank you for your post.

    This could be done by adding bool inputs on the Inputs and Variables screen of the builder. It would be most simple to work with only two bools - one for longs and one for shorts. Then, what you would do in your conditions, is you would check if the bools are true. For example, you could have a bool TradeLong and on any set that would submit a long entry, you would also add to the condition to check if TradeLong is true. On the other hand, you could also have a bool called TradeShort and for any sets that submit short entries, you would need to check if TradeShort is true.

    More information about the Inputs and Variables screen may be found on the following page:


    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    53 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X