Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Logic code to fill in bid and ask with strategies

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

    Logic code to fill in bid and ask with strategies

    Hello. Actually in my own strategies im using the follwing code to generate Market orders with strategy condition are filled.

    protected override void OnBarUpdate()
    {
    ...
    if ( x[0] > x[1]) ExitLong();

    if ( x[0] < x[1]) ExitShort();

    }

    But I’m trying to code the following methods i cant retrieve the correct logic to do that please read my questions and help me with some guidance for that.

    1. I want execute orders not only in market I want when my strategies get condition filled enter the order in Ask or Bid according my guidelines For example

    (Strategy condition filled THEN strategy sends order Buy to BID or Sell to Ask)

    Also I want to know how put that Option available in code to True o False in my strategies code
    .
    I really appreciate that info
    Best regards
    Gavetso

    #2
    I want some guidelines code to get my strategies Buy in Bid and sell in ask PLEASE

    Comment


      #3
      Gavetso, I have just replied to your note sent to support.

      Comment


        #4
        thank you ber

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X